live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

IBM WebSphere Portal 8.0 Solution Development - C2040-911 Exam Questions

QUESTION NO: 1
MegaCorp is working on integrating one of their applications existing in non-IBM WebSphere Portal environments into WebSphere Portal. Which of the following options should they use for this purpose?
Correct Answer: A
QUESTION NO: 2
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?
Correct Answer: D
QUESTION NO: 3
PreferencePortlet 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 }
Correct Answer: B
QUESTION NO: 4
Sanjeev wants to add a Help mode to his iWidget. At a minimum, what changes will he need to make to his iWidget definition XML so that IBM WebSphere Portal will enable a Help option for it?
Correct Answer: C
QUESTION NO: 5
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?
Correct Answer: B
QUESTION NO: 6
A client wants to write several portlets for their new website. Each portlet must be labeled and record some trace information whenever it is accessed. The portlets must share common information with each other as well. When discussing best practices options with the client, which of the following would not be recommended?
Correct Answer: D
QUESTION NO: 7
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: B