Wendy's theme was recently installed on a server. A colleague provided her with theme components to deploy, which given design requirements, is packaged as an EAR file inside a compressed ZIP file. Which of the following is a valid option for deploying these components?
A. Use the web-dav-deploy-zip-file to deploy the compressed file. Use the webdav-expand-ear command to unpackage the EAR on the server,then register the new EAR on the WebSphere Integrated Solutions console.
B. EAR files must be deployed using the WebSphere Integrated Solutions console, so she must remove it from the ZIP archive and install itdirectly.
C. Use the web-dav-deploy-zip-file to deploy the compressed file and use the XMLAccess command to run the script. Use the WebSphereIntegrated Solutions console to add the runtime configuration.
D. Use the web-dav-deploy-zip-file to deploy the compressed file. Use the IBM WebSphere Integrated Solutions console or scripts to deploy theEAR file. Use XMLAccess to import the components into the IBM WebSphere Portal server.
正解:D
質問 2:
In the case of a processAction or serveResource call, what is the expected behavior if an action or resource parameter has the same name as a public render parameter?
A. The public render parameter is ignored.
B. The public render parameter is appended with a unique identifier to distinguish it from the action/resource parameter.
C. The public render parameter takes precedence and overwrites the value of the action/resource parameter.
D. The public render parameter values must be the last entries in the parameter value array.
正解:D
質問 3:
Evan wants to develop a portlet to act as a target using click-to-action. He wants to develop a client-side click-to-action handler. Which best describes the ways that he can get the source data submitted by the source portlet?
A. None of the above.
B. He can retrieve the source data from the window.ibm.portal.c2a.event.value global variable.
C. Either of the above.
D. He can retrieve the source form and the input inside from the page Document Object Model.
正解:C
質問 4:
Emery is trying to make it so users from a specific geographic location do not have access to a specific metrics application hosted on their IBM WebSphere Portal server. Which of the following options is provided within WebSphere Portal that Emery can use to this purpose?
A. None of the above. Emery is going to need to create a page and assign metadata parameters to hide the specific portlet from users fromgeographies that are not allowed to see it.
B. Emery can use Personalization Rules to hide the portlet, leveraging information in the user repository regarding the user's geographiclocation.
C. Emery's users must register as being from a specific geography and Emery can develop workflow methods leveraging thePortalUserIdentityBean (or PUIB) object to ensure the portlet does not generate markup for the user in this geography.
D. Emery can use the
正解:B
質問 5:
The portlet.xml file for SamplePortlet looks like this:
Assuming that no modifications have been made to the properties bundle, what would be written into SystemOut.log?
A. java.util.MissingResourceException: Can't find resource for bundle
B. Null
C. CertTargetPortlet
D. java.lang.NullPointerException
正解:C
質問 6:
A software delivery executive, by the name of Fry, is developing a custom theme called Popplers. He has deployed the theme with six custom layouts (Lla, Zdb, Bdr, Amy, Pff and Hms) at dav:fstype1/themes/Popplers/layout-templates.
Over the past few days, he has been trying to scope three of these layouts (Lla, Zdb and Bdr) however, none of them are visible in the WebSphere Portal 8.0 Layout tab.
He has performed the following steps:
Refreshed browser's cache 4) Reloaded the page What is the problem with Popplers based on the information provided?
A. The last two steps are in the wrong order - perform step 4 first and then step 3 to solve the problem.
B. Step 2 is incorrect because layouts must be listed alphabetically - listing them as Bdr, Lla and then Zdb will correct the issue.
C. One cannot partially scope custom layouts in a theme. Just like the default Portal 8.0 theme, you must scope all defined custom layouts.
D. Step 1 is incorrect. Changing the URL value to ibmCfg.themeConfig.themeRootURI+"/system/layouts.json" will resolve the issue.
正解:D