Certbus > IBM > IBM Certified Solution Developer > C2040-911 > C2040-911 Online Practice Questions and Answers

C2040-911 Online Practice Questions and Answers

Questions 4

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?

A. WebClipping Portlet International Edition

B. IntegrationPortlet

C. WebClipping Portlet

D. IntegrationPortlet_jsEnabled

Browse 65 Q&As
Questions 5

Which of the following is a false statement about limitations for a WSRP producer portlet?

A. WSRP producer portlets cannot use PUMA SPI for accessing user information.

B. WSRP producer portlets cannot access portlet render parameters.

C. WSRP producer portlets cannot use IBM WebSphere Portal internals in portlets such as engine objects or engine tags.

D. WSRP producer portlets do not support edit_defaults_compatibility portlet mode.

Browse 65 Q&As
Questions 6

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?

A. public void init(Preferences servicePreferences) { String message = servicePreferences.get("message", "Hello"); }

B. public void sayHello(RenderRequest request, RenderResponse response) { String message = request.getAttribute("message"); }

C. public void init(Preferences servicePreferences) { String message = servicePreferences.getInitParam("message", "Hello"); }

D. public void sayHello(RenderRequest request, RenderResponse response) { String message = request.getParameter("message"); }

Browse 65 Q&As
Questions 7

What does the collaborative services API allow the portlet developer to do?

A. The API gives the user access to Microsoft Exchange and IBM Lotus Notes inboxes when developing custom portlets.

B. The API allows the user to connect to social services such as Twitter and Facebook for custom portlets.

C. The API provides person tags to custom portlets.

D. The API provides the IBM Connections business cards capability to a custom portlet.

Browse 65 Q&As
Questions 8

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?

A. Add an iw:content element with a mode attribute of 'help' in the iw:widget element.

B. Add 'help' to the supportedModes attribute of the iw:widget element. Add an iw:content element with a mode attribute of 'help' in the iw:widgetelement.

C. Add 'help' to the supportedModes attribute of the iw:widget element. Add an iw:content element with a mode attribute of 'help' in the iw:widgetelement. Add an 'onhelp' Javascript method.

D. No change needs to be made. All iWidgets in WebSphere Portal already have a Help mode.

Browse 65 Q&As
Questions 9

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 must set the enable WSRP portlet initialization parameter to true in the portlet.xml file.

B. She should change her portlet class to implement ServiceDescription and Markup interface.

C. She does not have to make any changes.

D. She should change her portlet class to implement ServiceDescription, Markup, Registration and PortletManagement interface.

Browse 65 Q&As
Questions 10

Which of the following options is not a valid parameter of the login() method of the Portlet Login service (interface com.ibm.portal.portlet.service.login.LoginService)?

A. char[] password - The password of the user.

B. java.lang.String userID - The user ID of the user.

C. java.net.URL redirectURL - The login redirect URL.

D. javax.security.auth.Subject subject - A security subject to be passed to the WebSphere Application Server login modules that can be null if notneeded.

Browse 65 Q&As
Questions 11

Which option best describes how JSR 286-compliant portlets and widgets interact with each other?

A. Portlets and widgets cannot interact with each other.

B. Widgets and portlets can interact by using shared render parameters and events.

C. Widgets and portlets can interact by using shared render parameters.

D. Widgets and portlets can interact by using events.

Browse 65 Q&As
Exam Code: C2040-911
Exam Name: IBM WebSphere Portal 8.0 Solution Development
Last Update: Apr 24, 2024
Questions: 65 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99