Certbus > IBM > IBM Certified Advanced System Administrator > C2040-410 > C2040-410 Online Practice Questions and Answers

C2040-410 Online Practice Questions and Answers

Questions 4

When he saved this mobile XPage John received a compile-time error indicating a required property for the control is not present.

What property and value must John add to the start tag to correct this error?

A. startAppPage="appPage1"

B. startAppPage="startPage"

C. selectedPageName="appPage1"

D. selectedPageName="startPage"

Browse 116 Q&As
Questions 5

When using the IBM Domino Java Document class method computeWithForm, which three events are triggered? (Choose three.)

A. Default Value

B. Input Validation

C. Input Translation

D. QueryDocumentSave

E. Computed for display

F. Compute before validation

Browse 116 Q&As
Questions 6

Steve has written an agent which is called from a web application. Steve plans to enable "Run Web Agents concurrently". What two things should Steve consider before enabling? (Choose two.)

A. Does the agent perform any full-text index searches.

B. Does the agent use any Java classes that are not thread safe.

C. Does the agent access databases other than the source database.

D. Does the agent use any Formula commands which are not thread safe.

E. Does the agent use any IBM LotusScript calls which are not thread safe.

Browse 116 Q&As
Questions 7

Which server-side JavaScript statement will return the user to the xHome.xsp XPage?

A. window.location("xHome.xsp")

B. session.openPage("xHome.xsp")

C. facesContext.redirectToHome()

D. context.redirectToPage("xHome.xsp")

Browse 116 Q&As
Questions 8

How many of the JavaServer Faces (JSF) lifecycle phases involve the processing of events?

B. 2

C. 4

D. 6

Browse 116 Q&As
Questions 9

The "Run server-based XPages applications directly on Domino server" property setting is selected for an xPage application. When launched by an IBM Notes client user, what will happen?

A. The application will run using the local Notes web container.

B. The application will run on the IBM Domino server over HTTP.

C. The application is requested to run on the remote Domino server using DIIOP.

D. The application will run in local Notes XPD web container and fetch design elements from Domino server.

Browse 116 Q&As
Questions 10

Which control should Jane use to switch display to any one of several views in the Customers application?

A.

B.

C.

D.

Browse 116 Q&As
Questions 11

Jen added an Application Layout control to the ccAppLayout custom control she is developing. To the titleBarTabs in the configuration she added three nodes to open an XPage with a Domino View data source in the Customers, Parts and Sales applications respectively. The label property for the three tabs she set to "Customers Application", "Parts application" and "Sales Application". What must Jen do to show the "Customers Application" tab as selected when any of the "Customers" XPages is rendered in a browser?

A. For all the Customers XPages, set the showTabSelected property to "Customers Application".

B. For all the Customers XPages prefix the XPage name of with "Cust_" and set the selectedPrefix property to "Cust_" for the node where label="Customers Application".

C. For all the Customers XPages, prefix the XPage name of with "Cust_" and set the selected property to "Cust_*" for the node where label="Customers Application".

D. For all the Customers XPages, pass a navigation path string to the navigationPath property in the configuration and code the selectionproperty for the node where label="Customers Application" with a regular expression to match all the navigationpath for all the Customers XPages.

Browse 116 Q&As
Questions 12

Which control should Larry add to the left column area of an Application Layout to provide a menu selection interface that uses the "lotusSelected" style class to indicate that a menu choice was selected?

A.

B.

C.

D.

Browse 116 Q&As
Questions 13

Jason is designing a mobile application with three mobile pages. Which control should Jason add to his XPage to be the overall container for all of the mobile pages in his application?

A.

B.

C.

D.

Browse 116 Q&As
Questions 14

Johnny is adding a single button to change an In-Place Form from read mode to edit mode and vice versa. Which server-side JavaScript code snippet can be utilized?

A. getComponent("obj1").toggle()

B. getComponent("obj1").toggle("off")

C. getComponent("obj1").show("false")

D. getComponent("obj1").changeFormState()

Browse 116 Q&As
Questions 15

Jessica wants to design a Page that passes all data directly to the browser and treat the entire Page as HTML. How would she do this?

A. Save all data in a HTML file and click on Import > File.

B. Select all text on the Page and choose Edit > Convert to HTML.

C. Click on "Render pass through HTML in Notes" in the Page properties.

D. Select all the text on the Page and choose Text > Pass through HTML.

Browse 116 Q&As
Questions 16

When adding a custom control to his XPage, Dennis wants to display a custom message to the designer rather than the normal design representation of the custom control. How would he accomplish this?

A. In the custom control Design view, select the Design Definition section and enter the custom XSP Markup.

B. In the custom control Properties view, select the Design Definition section and enter the custom XSP Markup.

C. In the custom control Properties view, select the Design Definition section, select the "Display custom XSP markup" option and enter the customXSP Markup.

D. In the custom control Properties view, select the Custom Control option, and within there select the "Display custom XSP markup" options. Thiswill display a dialog where the custom XSP Markup can be entered.

Browse 116 Q&As
Questions 17

John wants to add a "data-role" attribute to his Edit Box control. Which can he use to accomplish this?

A. Using the attrs property of the Edit Box he can add a "data-role" and an associated value.

B. Using the dojoAttributes property of the Edit Box he can add a "data-role" and an associated value.

C. Using the customProperty property of the Edit Box he can add a "data-role" and an associated value.

D. Custom attributes are not possible in XPages and must be added to the field using an external Javascript library such as jQuery.

Browse 116 Q&As
Questions 18

Which is a valid property for an ?

A. style

B. handler

C. rendered

D. partialRefreshId

Browse 116 Q&As
Exam Code: C2040-410
Exam Name: IBM Notes and Domino 9.0 Social Edition Application Development B
Last Update: Apr 16, 2024
Questions: 116 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99