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

C2040-911 Online Practice Questions and Answers

Questions 4

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?

A. Each portlet can be labeled by its own title bar.

B. JSPs should be used to separate output and functionality of the portlets.

C. Portlets communicate via writing to a common file in the root directory.

D. Trace information can be logged to log files.

Buy Now
Questions 5

Given the following code in the portlet.xml file, what line of code returns the value of the "test" init- param. MyPortlet test test_init_parameter

A. renderRequest.getInitParameter("test");

B. renderRequest.getPortalContext().getInitParameter("test");

C. portletConfig.getInitParameter("test");

D. renderResponse.getInitParameter("test");

Buy Now
Questions 6

If Lola needs to create a resource collection, which of the following options must she define?

A. An instance of the following:

-com.ibm.websphere.personalization.ResourceCollection

B. An instance of either of the following:

-com.ibm.websphere.resources.ResourceCollectionImpl

-com.ibm.websphere.resources.ResourceManager

C. An instance of one of the following:

-com.ibm.websphere.personalization.resources.Resource

-com.ibm.websphere.personalization.resources.ResourceManager3

-com.ibm.websphere.personalization.resources.ResourceDomain3

-com.ibm.websphere.personalization.resources.AuthIDTranslator

D. An instance of either of the following:

-com.ibm.websphere.personalization.ResourceCollectionImpl

-com.ibm.websphere.resources.ResourceManager

Buy Now
Questions 7

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?

A. Use the Policy editor to create a portlet availability policy, then use the Page Layout editor to assign the policy to the portlet.

B. Use the Policy editor to create a portlet availability policy and to assign the policy to the portlet.

C. Use the Personalization editor to create a portlet visibility rule, then use the Page Layout editor to assign the rule to the portlet.

D. Use the Personalization editor to create a portlet visibility rule and to assign the rule to the portlet.

Buy Now
Questions 8

Evan needs to share action URL parameters used in a portlet with another portlet. In the binding section of the WSDL files used for specifying a portlet's participation with the property broker, an action URL parameter can be bound to several scopes. Which one of the following options best describes the scopes that Evan can use to share the action URL parameters using the property broker?

A. Page attribute, Request attribute, Request parameter, Session attribute

B. Request attribute, Request parameter, or Session attribute

C. Request parameter or Session attribute

D. Session attribute only

Buy Now
Questions 9

Corrie needs to create several iWidgets that will interact with each other. She is evaluating the mechanisms that she can use to share state information between the iWidgets. Which one of the following options is the best way to accomplish this?

A. Use the JSR 286 defined event and payload mechanism.

B. Store state information in the user's session.

C. Implement public render parameters.

D. Declare the state sharable in the ItemSet definition and register listeners in the individual iWidgets to be informed when shared state changes.

Buy Now
Questions 10

What is the outcome if a non-deferred module has a requirement on a deferred module?

A. The server-side combiner framework promotes the deferred module to be non-deferred.

B. The server-side combiner framework will ignore both the non-deferred and the deferred module.

C. The server-side combiner framework demotes the non-deferred module to be deferred.

D. The server-side combiner framework will ignore the dependency on the deferred module.

Buy Now
Questions 11

The JSR 286 Portlet Specification PLT.C appendix defines the Cascading Style Sheet classes for a variety of logical units in the markup. It follows the styles defined by the OASIS Web Services for Remote Portlets Technical Committee. What is the prefix used for the name of the CSS classes defined in this appendix?

A. css- (for example css-font, css-form-field, css-table-body)

B. wsrp- (for example wsrp-font, wsrp-form-field, wsrp-table-body)

C. portal- (for example portal-font, portal-form-field, portal-table-body)

D. portlet- (for example portlet-font, portlet-form-field, portlet-table-body)

Buy Now
Questions 12

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.

Buy Now
Questions 13

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.

Buy Now
Exam Code: C2040-911
Exam Name: IBM WebSphere Portal 8.0 Solution Development
Last Update: Jan 04, 2025
Questions: 65
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99