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

C2040-423 Online Practice Questions and Answers

Questions 4

Rudy wants to delete a portal page by using the Controller service provider interface (SPI).

He wrote the following code:

final Locator locator = cmController.getLocator(); final ContentPage page = (ContentPage) locator.findByllniqueName("MyPage");

cmcontroller.delete(page);

How can he use this code to delete the page?

A. This code alone will delete the page.

B. There is not a delete method so this code is not valid.

C. He needs to find the page by URL instead of UniqueName.

D. He needs to commit the controller to persist the modification.

Buy Now
Questions 5

Which method can be used only in an ActionResponse?

A. encodeURL

B. setProperty

C. addProperty

D. setPortletMode

Buy Now
Questions 6

James is developing a portlet and wants to share the cache entry across all users upon certain conditions.

What is a valid way to accomplish his goal?

A. Add the conditions in the doView method and set the cache scope to public in the request.

B. Add the conditions in the doview method and set the cache scope to public in the response.

C. Add the conditions in the doHeade rs method and set the cache scope to public in the request.

D. Add the conditions in the doHeaders method and set the cache scope to public in the response.

Buy Now
Questions 7

Assuming the device classes were correctly configured to the clients, which device class equations would be evaluated to true for only iPhones?

A. android+smartphone

B. wotrklight+(ios/andcoid)

C. smartphone+(iosI android)

D. (android/ios)+smartphone+!blackberry

Buy Now
Questions 8

Frank has a portlet that accesses PUMA to retrieve some details about a user to control what is displayed in his custom portlet (user categories). After some analysis, he sees that performance is poor and feels that this issue is because of PUMA. Frank would like to store some of the PUMA objects in the session.

Which PUMA object can be stored safely in the session?

A. PumaHome

B. PumaLocator

C. PumaProfile

D. PumaController

Buy Now
Questions 9

Which option is a media type that is supported by the IBM Web Content Manager REST service?

A. Image color

B. File directory

C. Project template

D. JavaScript method

Buy Now
Questions 10

Which URI schema should be used to render the footer_mobile.jsp while accessing IBM WebSphere Portal using a smartphone or tablet?

A. href="smartphone/tablet/footerjnobile.jsp"

B. href="/customTheme/themes/html/dynamicSpots/footer_mobile.jsp"

C. href="smartphone/tablet@res:/customTheme/themes/html/dynamicSpots /foote r_mobile.j sp"

D. href="mvc:smartphone/tablet@res:/customTheme/themes/html/dynamicSpots /foote r_mobile.j sp"

Buy Now
Questions 11

Which options are true regarding the Portlet State Manager Service? (Choose two.)

A. It is obtainable by using a JNDI lookup.

B. It changes the state of the server when called.

C. It is not a valid IBM WebSphere Portal Service.

D. It supports portlets that are compliant with JSR 168 and JSR 286.

E. It is obtainable by using the tag.

Buy Now
Questions 12

Tyler is developing a portlet that allows a user to see all the pages that the user can access in the portal.

Which portal model should Tyler use to get the pages that are visible to the specific user who is logged in?

A. Layout model

B. Content model

C. Navigation model

D. Navigation Selection model

Buy Now
Questions 13

Arthur needs to clean up cached user data from an object cache in IBM WebSphere Portal after the user's session is ended.

Which areas are valid to place Arthur's cleanup logic? (Choose two.)

A. Implicit Login Filter Chain

B. Explicit Login Filter Chain

C. Implicit Logout Filter Chain

D. Explicit Logout Filter Chain

E. Session Validation Filter Chain

Buy Now
Exam Code: C2040-423
Exam Name: IBM WebSphere Portal 8.5 Solution Development
Last Update: Nov 25, 2024
Questions: 59
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99