최신 IBM Certified System Administrator A2040-911 무료샘플문제:
1. Which of the following statements describes the value of the Vendor variable from the following portlet code? Profile p = (Profile) portletRequest.getAttribute(PortletRequest.CCPP_PROFILE); String vendor = p.getAttribute("Vendor").toString();
A) It contains the value of the configuration key "vendor" for the Profile configuration service.
B) It contains the name of the vendor of the IBM WebSphere Portal server.
C) It contains the name of the vendor of the client browser or device.
D) It contains the value of the "vendor" attribute for an identified or authenticated user or null for an anonymous user.
2. 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 IBM WebSphere Integrated Solutions console or scripts to deploy theEAR file. Use XMLAccess to import the components into the IBM WebSphere Portal server.
B) 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.
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) EAR files must be deployed using the WebSphere Integrated Solutions console, so she must remove it from the ZIP archive and install itdirectly.
3. Stella is developing a CSS sub-contribution component for her custom module. Which of the followings statements is incorrect regarding CSS sub-contribution types?
A) CSS sub-contributions are only valid under a head contribution type.
B) CSS sub-contributions are valid under both head and config contribution types.
C) When debug is enabled, separate link elements are generated for each CSS URL.
D) The URL referenced in CSS sub-contribution must return valid CSS syntax.
4. Usha has developed a JSR 286 compliant portlet. She wants to use it on a WSRP producer so that it can be consumed by a remote IBM WebSphere Portal server. What changes if any should be made?
A) She does not have to make any changes.
B) She should change her portlet class to implement ServiceDescription, Markup, Registration and PortletManagement interface.
C) She should change her portlet class to implement ServiceDescription and Markup interface.
D) She must set the enable WSRP portlet initialization parameter to true in the portlet.xml file.
5. Which of the following statements is true when using a resource URL in AJAX?
A) The portlet mode and window state can be changed during the serveResource() method.
B) New render parameters can be set during the serveResource() method.
C) Portlet preferences can be set during the serveResource() method.
D) Changing state of the portlet is not allowed during the serveResource() method.
질문과 대답:
질문 # 1 정답: C | 질문 # 2 정답: A | 질문 # 3 정답: B | 질문 # 4 정답: A | 질문 # 5 정답: C |