Which one of the following statements is valid regarding credential objects?
A. Portlets that use active credential objects need to extract the secret from the credential to authenticate with the backend.
B. Passive credential objects hide the credential's secret from the portlet.
C. To create a slot for storing active credentials, set the active parameter of the CredentialVaultService.createSlot method to true.
D. Credential objects are serializable.
正解:C
質問 2:
Steve wants to hide a menu item in the action menu. This menu item may be needed for later use. What is the best way to accomplish this?
A. Use the IBM WebSphere Integrated Solutions console to edit the Dynamic Content Spot to update the menu definition and restart the customtheme application.
B. Update the shelfActions.json using the WebDAV located inside the menuDefinitions folder and then register the changes inside the theme.js filelocated inside the js folder.
C. Declare the menu item as not visible in the server-side feed. Declare the menu item as visible in the client-side code, and then stop and restartthe custom theme application.
D. Declare the menu item as visible in the server-side feed then override in the client-side's visibilityFn.
正解:D
質問 3:
Frances is debugging an iWidget that should show a loader bar until markup is generated and shown, leveraging only lifecycle functions. Right now, she can only see the loader bar, but nothing else happens in the iWidget. She has verified that all dependencies have loaded properly and that the elements have rendered. What should she verify next?
A. Verify that the view is a supported mode for the iWidget.
B. Verify that the readyMarkup method is properly implemented.
C. Verify that the onUnload method is properly modifying the page content after loading completes.
D. Verify the onLoad method kicked off background functions needed to render the markup.
正解:D
質問 4:
Which option best describes how JSR 286-compliant portlets and widgets interact with each other?
A. Widgets and portlets can interact by using shared render parameters.
B. Portlets and widgets cannot interact with each other.
C. Widgets and portlets can interact by using shared render parameters and events.
D. Widgets and portlets can interact by using events.
正解:C
質問 5:
A client named Rudy's Rocking Hot Rods sells high-end motor vehicles through its customized portal. When a user logs in, they are presented with several combinations of portlets and iWidgets. The user can select a car model, color, customize finishes, and perform other applicable actions. As part of a new development phase, the client has requested two updates: 1) Wire Portlet ABC to send an event to the iWidget XYZ. 2) Wire iWidget XYZ to send an event to the Portlet RSA. What option below is not correct, assuming all portlets on the page are JSR 286compatible?
A. If Portlet ABC uses a custom type defined as follows:
B. If Portlet ABC defines a Java class in its portlet.xml under the
C. iWidget XYZ will be able to receive events from Portlet ABC and send events to Portlet RSA.
D. When passing a mashup type from iWidget XYZ to Portlet RSA, which uses XSD types, that type must be manually converted because IBM WebSphere Portal does not provide an automatic type conversion mechanism.
正解:D
質問 6:
Which of the following is a false statement about limitations for a WSRP producer portlet?
A. WSRP producer portlets cannot use IBM WebSphere Portal internals in portlets such as engine objects or engine tags.
B. WSRP producer portlets cannot access portlet render parameters.
C. WSRP producer portlets do not support edit_defaults_compatibility portlet mode.
D. WSRP producer portlets cannot use PUMA SPI for accessing user information.
正解:B