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

Which control, used to dynamically switch content, includes support to code the Dynamic Content display using a Simple Action, client-side or server-side JavaScript?

A. Switch

B. Dynamic Content

C. Multi-image Output

D. Dynamic View Panel

Browse 116 Q&As
Questions 5

Linda has an existing IBM LotusScript agent she would like to invoke from an XPage. Assuming the agent name is FRED, what should Linda add to her XPage to call the agent?

A. ag = database.getAgent("FRED");ag.RunOnServer(NoteID)

B. var agent=database.getAgent("FRED");agent.run(currentDocument.getDocument());

C. ag = database.getAgent("FRED");noteid = FREDSampleDoc.getDocument().getNoteID();ag.run(noteid)

D. ag = database.getAgent("Fred");noteid = FREDSampleDoc.getDocument().getNoteID();ag.xpRun(NoteID)

Browse 116 Q&As
Questions 6

Slobo is working on a new XPages application. He has a requirement to use a Stylesheet (CSS). How would he use it on a XPage?

A. Add the Style Sheet to the NSF. In the XPage, insert at the top of the XPage

B. Add the Style Sheet to the NSF. In the XPage, insert at the top of the XPage:

C. Add the CSS stylesheet in the Resources/Style Sheets section. Using the Resources tab in the Properties view of the XPage that needs to usethe CSS classes, use the Add Resource button and choose Style Sheet from the drop-down menu of choices.

D. Add the CSS stylesheet in the Shared Elements/Style Sheets section. Using the Resources tab in the Properties view of the XPage that needsto use the CSS classes, use the Add Resource button and choose Style Sheet from the drop-down menu of choices.

Browse 116 Q&As
Questions 7

What are the three different parts of the managed bean in the faces-config.xml file? (Choose three.)

A. Bean class

B. Bean name

C. Bean scope

D. Bean location

E. Bean property

F. Bean var name

Browse 116 Q&As
Questions 8

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 9

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 10

Ken has written an IBM LotusScript agent that updates existing documents with new data. However, after the agent runs, some of the documents are giving errors while users are working with them in the user interface. Some of the data that was added is not passing the field validation tests. What can Ken do to make sure the data he is adding to the documents is valid before he saves the changes?

A. Ken can add a call to the ValidateDocument method of the NotesDatabase class and verify that the return flag is True, indicating that there areno errors on the document prior to saving the document.

B. Ken can add a call to the ValidateDocument method of the NotesDatabase class and verify that the return flag is False, indicating that thereare no errors on the document prior to saving the document.

C. Ken can add a call to the ComputeWithForm method of the NotesDocument class and verify that the return flag is True, indicating that thereare no errors on the document prior to saving the document.

D. Ken can add a call to the ComputeWithForm method of the NotesDocument class and verify that the return flag is False, indicating that thereare no errors on the document prior to saving the document.

Browse 116 Q&As
Questions 11

What is the size, in bytes, of the Long data type in IBM LotusScript?

A. 2

B. 4

C. 8

D. 16

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

PDF

$49.99

VCE

$55.99

PDF + VCE

$65.99