C2040-928 question and answer
QUESTION NO: 1
For draft items, each of the characteristics are true, except which one?
A. Cancelling a draft is essentially the same as deleting a draft because all the changes made to the item are discarded.
B. For draft items in a project that are ready to be published, the draft remains in a pending state until all items in the project are ready to bepublished.
C. Draft items are only displayed in the Authoring portlet and are not rendered within the published website.
D. Even if a published item has more than one draft, the Manage Drafts button is displayed only on the published version of the item.
Answer: D
QUESTION NO: 2
The following statements about mapping site areas, authoring templates and presentation
templates are all true, except:
A. Template maps assigned in site areas will override those set in authoring templates.
B. Two items using different authoring templates can be displayed using the same presentation template if both authoring templates are mappedto the same presentation template.
C. The presentation template used by each item will be determined by the authoring template the item used, and the location of the item in the siteframework.
D. A content item can be displayed using two different presentation templates. The web content library is configured to allow this.
Answer: D
QUESTION NO: 3
A content item named “News List” has been created in the “News” Site Area, which also contains other news related content items. The “News List” content item uses a menu component named “News Menu” to display a listing of content items in the “News” Site Area. Since the “New List” content item also exists within this site, how can the content author prevent the “News List” content item from being displayed in the menu list?
A. Leave the “current content” field in the menu design properties section of the menu component empty so no output will be rendered.
B. Enable the “Exclude current content from results” option in the menu component.
C. Adjust the sort order to “ascending by type” and choose to render the menu list at the second content item.
D. Adjust the sort order to “descending by type” and choose to render the menu list at the second content item.
Answer: B
QUESTION NO: 4
Abi is a developer. The HR department wants to create job postings that are made available on both the company intranet and public websites. Because the two sites look different, the postings need to have different visual representations on the each of the sites. Which one of the following statements allows her to accomplish this task?
A. Create different sets of presentation templates and authoring templates for each site area.
B. Create different presentation templates and configure each site area to use the appropriate presentation template.
C. Create different authoring templates and configure each site area to use the appropriate authoring template.
D. Create different HTML components and configure each site area to use the appropriate HTML components.
Answer: B
QUESTION NO: 5
Tom wants to write out a fully qualified URL to a content item being viewed through a portal.
Which one of the following tags allows him to retrieve the protocol, host name, and port
information for the URL?
A. [pathcmpnt tag="base"/]
B. [pathcmpnt tag="noprefixbase"/]
C. [path tag="base"/]
D. [path tag="noprefixbase"/]
Answer: B
C2040-410 Question And Answer
QUESTION NO: 1
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
Answer: B
QUESTION NO: 2
When he saved this mobile XPage John received a compile-time error indicating a required property for the <xe:singlePageApp> control is not present.
What property and value must John add to the <xe:singlePageApp> start tag to correct this error?
A. startAppPage=”appPage1″
B. startAppPage=”startPage”
C. selectedPageName=”appPage1″
D. selectedPageName=”startPage”
Answer: D
QUESTION NO: 3
Which statement is true about the Application Layout control?
A. The Application Layout control provides a consistent interface when added directly to each XPage in an application.
B. To render properly, the Application Layout control must implement one of the oneuiv2.1 themes or a theme that extends a oneuiv2.1 theme.
C. The Application Layout control includes a total of three facet areas for adding content (left, center and right columns) and three bar areas foricons, titles, links and drop down menus.
D. When the Application Layout control is enabled for an application each XPage will include a left, center and right column area with the samedimensions to provide a consistent user interface across the application.
Answer: B
QUESTION NO: 4
John added a Dynamic View Panel to the CustomersViews XPage to switch display to any one of several views in the Customers application. He set the pageName property to the
CustomerDocument XPage to identify the XPage to open when a customer name is selected from the displayed view in the Dynamic View Panel control. What must John do to have the selected customer document open in read mode on the CustomerDocument XPage?
A. For the Dynamic View Panel, set the openDocAsReadonly to “true”.
B. Nothing. The selected document in a Dynamic View Panel will by default open in read mode.
C. For the Domino Document data source on the CustomerDocument XPage set the
openDocAsReadonly to “true”.
D. Code the onColumnClick event of the Dynamic View Panel control with the Open Page simple action and set the target property to”openDocument”.
Answer: D
QUESTION NO: 5
Which statement is true for the Single Page Application control for use on a mobile XPage?
A. The XML tag for the Single Page Application control is <xp:singlePageApp>.
B. The XML tag for the Single Page Application control is <xc:singlePageApplication>.
C. The Single Page Application control is used only when the mobile XPage includes a single mobile page.
D. There must be only one Single Page Application control as the container for all of the
Application Page controls on the mobile XPage.
Answer: D