Exam Code: C2040-411 (Practice Exam Latest Test Questions VCE PDF)
Exam Name: XPages Mobile Advanced Topics
Certification Provider: IBM
Free Today! Guaranteed Training- Pass C2040-411 Exam.
2021 May C2040-411 Study Guide Questions:
Q1. Which could be used to subscribe to a transition event within dojo'mobile?
A. onStartTransition
B. onAfterTransition
C. onStartTransitionln
D. onAfterTransitionIn
Answer: D
Reference:http://livedocs.dojotoolkit.org/dojox/mobile/transition-events
Q2. How can a developer test if his mobile web browser is capable of offline usage?
A. Test for Cookies.
B. Check if dojooffline Mode is true.
C. Check to see if window.applicationCache is not undefined.
D. Using the local browser, open the local manifest file located in the devices temp directory
Answer: B
Q3. Mina is designing a mobile application to track her fantasy football teams. She has one Application Page control that lists all of the teams in her league and another Application Page control that displays the members of a team.
What is one way she could tie the two Application Page controls together in her design?
A. She could display each team in a Rounded List Item control in her first Application Page control and set the value of the move property of each item to the Application Page control that lists the team members.
B. She could display each team in a Rounded List Item control In her first Application Page control and set the value of the moveTo property of each item to the Application Page control that lists the team members.
C. She could display each team in a Rounded List Item control in her first Application Page control and set the value of the inkTo property of each item to the Application Page control that lists the team members.
D. She could display each team in a Rounded List Item control in her first Application Page control and set the value of the link property of each item to the Application Page control that lists the team members.
Answer: D

Renew C2040-411 exam answers:
Q4. Ted has a mobile XPage with several Application Page controls on it. He wants each to be loaded on the server-side tree when the XPage is initially loaded.
Which property must Ted set on each of his Application Page controls?
A. onLoad="true"
B. loaded="true"
C. preload="true"
D. initialLoad="true"
Answer: A
Q5. Slobo is working on an XPages Mobile application that has a page that displays pictures. He needs to be able to allow the user to touch and swipe to navigate through the pictures.
How can he add this experience to the XPages Mobile application?
A. Drag an <xe:lightBox> control into an <xe:appPage> tag. then set the images property of the <xe:lightBox> control by adding a leaf node and configuring each one to a relative path to the image.
B. Dragan <xp:panel>vinto an <xe:appPage> tag. then include the Dojo type dojox.mobile.SwapView to the Panel. Add an image tag within the <xp: panel>. Repeat these steps for every image to display.
C. Drag an <xe:dynamicContent> control into an <xe:appPage> tag. then set the defaultFacet to the first image. Then on the onclick event, use a client side xsp .showcontent (..) call to refresh the dynamicContent with the next image.
D. Drag an <xe:switchcontrol>into a <xe:appPage> tag. then set the defaultFacet to the first image. Then on the onclick event set the defaultFacet to the next image. After the page refreshes, the content will change to the next image.
Answer: D
Q6. Charles is using a Simple Action in a button to show more rows. He would like to control the number of rows that are added when the user clicks the button.
What attribute will Charles use in order to accomplish this?
A. rowCount
B. itemCount
C. displayCount
D. viewRowCount
Answer: A

Precise C2040-411 prep:
Q7. Which container control can have a data source defined for it?
A. Table control
B. Panel control
C. Document View control
D. Application Page control
Answer: A
Q8. Using a Move To Mobile Page Simple Action. Which is an argument for the action?
A. moveTo
B. openView
C. redirectTo
D. saveDocument
Answer: A
Reference:http://infolib.lotus.com/resources/domino/8.5.3/doc/designer_up1/en_us/DominoDesign erXPagesExtensionLibrary.html#Simpleactions_moveto(See the Simple Actions Table)
Q9. Which example of the Redirect control will redirect to them_MobileXPage if accessed from a mobile device?
A. <xe:redirect id="redirectl"><xe:this.rules>
<xe:redirectPhoneRuleurl="/m_Mobile.xsp"x/xe:redirectPhoneRule><xe:redirectTabletRuleurl="/m
_Mobile.xsp"x/xe:redirectTabletRule></xe:this.rules></xe:redirect>
B. <xe:redirect id="redirectln><xe:this.rules>
<xe:redirectMobileRuleurl="/m_Mobile.xsp"x/xe:redirectMobileRule></xe:this.rules></xe:redirect>
C. <xe:redirect id="redirectl"><xe:this.rules>
<xe:redirectHeaderRule header="User-Agent" headerPattern="Mobile" url="/m_Mobile.xsp"
/></xe:this.rules></xe:redirect>
D. <xe:redirect id="redirectl"><xe:this.rules>
<xe:redirectPhoneRuleurl="/m_Mobile.xsp" rulePattern="And]:oid,
iPhone"></xe:redirectPhoneRule><xe:redirectTabletRuleurl="/m_Mobile.xsp"
rulePattern="iPad"x/xe:redirectTabletRule></xe:this.rules></xe:redirect>
Answer: A
Q10. Which mobile control can be used as a segmented button container for the Tab Bar Buttons?
A. Tab Bar or <xe:tabBar>
B. Tool8aror<xe:toolBar>
C. Action Bar or<xe:actionBar>
D. Header Bar or<xe:headerBar>
Answer: A
Reference: http://stackoverflow.com/questions/15396943/how-do-you-place-the-xpages-mobile-controls-tab-bar-at-the-bottom-of-the-screen