Rafael needs to create a way for non-administrator users to change the look of the Portal 8.0 theme. Which solution will provide the simplest answer?
A. Use multiple custom themes.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 name of the vendor of the IBM WebSphere Portal server.Quinn is creating a module that adds a customized Dojo lightbox for a disclaimer to overlay the screen as soon as the page loads using dojo.addOnLoad. She has already created myLightBox.css and intends to write the JavaScript event triggering the lightbox inline. What must Quinn do to ensure she gets the desired functionality at minimal performance cost?
A. Quinn should add all this code right after the theme's tag to ensure the functionality happens as soon as the body markup is loading.Which of the following statements is true when using a resource URL in AJAX?
A. Changing state of the portlet is not allowed during the serveResource() method.The following code sample is an excerpt from an implementation of a custom ExplicitLoginFilter.

Evan needs to implement custom logic to check whether the user needs to accept an updated user agreement. Which one of the following lines of code allows the user to be sent the friendly IBM WebSphere Portal URL 'acceptAgreement,' if the checkUser method returns true?
A. resp.sendRedirect("/wps/myportal/acceptAgreement");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?
A. Web ServicesPreferencePortlet is Portlet Specification 2.0-compliant and the system is running IBM WebSphere Portal 8.0.
What is the output of the following code?
public PreferencePortlet extends GenericPortlet{ protected void processAction(ActionRequest actionRequest, ActionResponse){ actionRequest.getPreferences().setValue("test","ViewModePreferenceValue"); actionRequest.getPreferences
().store(); } protected void doView(RenderRequest renderRequest, RenderResponse renderResponse) throws PortletException, IOException { // Generate action URL }
A. The container throws java.lang.IllegalStateException because it is not allowed to change preferences in the processAction() method.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:fs- type1/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. One cannot partially scope custom layouts in a theme. Just like the default Portal 8.0 theme, you must scope all defined custom layouts.Chris wants to do performance tuning in his mobile theme. What would be the first step he should take to achieve this task?
A. Apply caching rules to the HTTP server.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.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2040-911 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.