IBM WebSphere Portal 8.0 Solution Development - C2040-911 Exam Practice Test
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();
Correct Answer: B
Vote an answer
Carl is trying to create a theme based on a modularized IBM WebSphere Portal theme. He is ready for deployment, but is unsure of the structure he needs to use to accomplish this. What would be the proper deployment structure for this theme?
Correct Answer: D
Vote an answer
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?
Correct Answer: D
Vote an answer
When creating and registering a custom portlet service, it is possible to set initialization parameters. What code would Adrienne use to access a parameter with the name sample.portletservice.HelloServiceImpl2.message?
Correct Answer: C
Vote an answer
Matt is developing an interactive AJAX widget that will allow content approvers to review content without leaving their home page. Which IBM Web Content Manager API feature should he use?
Correct Answer: B
Vote an answer
The XYZ company has a custom portlet that provides access to data from the company's mainframe. Twice a day, the mainframe performs a batch process to update the data. During the batch process, the portlet cannot access the data. Which one of the following options allows Sara to hide the portlet during the batch processing times?
Correct Answer: C
Vote an answer
The javax.portlet.GenericPortlet abstract class provides default functionality and convenience methods for handling portlet requests. It provides a default implementation for which interfaces from the javax.portlet package?
Correct Answer: B
Vote an answer