Pass4itsure > IBM > IBM Certifications > C2040-423 > C2040-423 Online Practice Questions and Answers

C2040-423 Online Practice Questions and Answers

Questions 4

Which statement is true regarding responsive web design (RWD)?

A. It uses a web design approach based on HTML5 and CSS3 to improve the rendering speed of a portlet.

B. It uses advanced JavaScript design techniques to implement a highly responsive touch- enabled user interface.

C. It uses tableless web design to arrange elements and text on a web page to improve the responsiveness of a web page.

D. It uses CSS3 media queries to optimize content and layout automatically based on screen size, device, and orientation.

Buy Now
Questions 5

Mary wants to enable cookie support for a portlet she has authored. She has already enabled two-phase rendering within the portlet.xml. What method must be modified to include the following statements?

Cookie myCookie = new Cookie("stylekey", "styleValue "); myCookie.setPath(request.getContextPath()); myCookie.setMaxAge(1200000); renderResponse.addProperty(stylekey);

A. doEdit(RenderRequest renderRequest, RenderResponse renderResponse)

B. render(RenderRequest renderRequest, RenderResponse renderResponse)

C. doHeaders(RenderRequest renderRequest, RenderResponse renderResponse)

D. processAction(RenderRequest renderRequest, RenderResponse renderResponse)

Buy Now
Questions 6

Arthur developed two portlet applications to support the same event-- the choosePerson event. This event uses the "http://example.ibm.com/portlets" namespace, and its payload type is the com.ibm.example .Person class.

Arthur deployed one portlet from each portlet application to the same portal page. He also wired one portlet (Portlet A) as the event source and the other portlet (Portlet B) as the event target. When Arthur tests the portlet communication, he

does not see that the com. ibm. example. Person object was transferred to Portlet B after the event was fired from Portlet A.

How can Arthur resolve this problem for optimal performance?

A. Ensure that the "Global" check box is selected on the Wire Configuration page.

B. Update the com. ibm. example. Per son class to support serialization and XML serialization by adding JAXB annotations.

C. Move the com. ibm. example. Person class out of the two web archive (WAR) files and into an IBM WebSphere Application Server shared library that is used by both WAR files.

D. Ensure that "http://example.ibm.com/portlets" namespace is specified as the direct namespace for the event declaration for both portlet.xml files, rather than the default namespace for each portlet.xml file.

Buy Now
Questions 7

Which statements are true regarding the tag? (Choose two.)

A. It improves page serving performance.

B. It can be used in both themes and skins.

C. It has no impact on page serving performance.

D. It can be used in both header and body sections.

E. It stores a base URL that can be used instead of full, newly-coded URLs.

Buy Now
Questions 8

Which folders are two of the root folders in the fs-type1 WebDAV entry point? (Choose two.)

A. skins

B. layout

C. resources

D. layout-templates

E. theme-templates

Buy Now
Questions 9

Don needs to update a custom layout in his production server. He made the necessary updates to the layout.html file in WebDAV, but his users are not seeing the changes.

What is the most likely cause of this incorrect behavior?

A. He did not run the cef resh-page-layout-template task.

B. He saved the updates in the themelist directory in WebDAV.

C. He did not force a recompile of the Defaultjsp file in his custom theme.

D. He did not restart the server, as required, for the layout updates to take effect.

Buy Now
Questions 10

Sam wants to create a portlet that uses a custom portlet mode that is not defined in the JSR 286 specification.

After implementing the correct methods, what additional step must he do to use a custom portlet mode?

A. Add the custom portlet mode to the portlet deployment descriptor.

B. Add a resource bundle to the portlet that has the name of the custom portlet mode.

C. Configure the portlet after installation to map the custom portlet mode to the server- defined portlet mode.

D. Enable the specific custom portlet mode at the container level by setting the correct property in the resource environment provider.

Buy Now
Questions 11

John wants to change the default behavior of IBM WebSphere Portal so that any user who authenticates by using an explicit login is redirected to a particular page.

Which option is a valid implementation of this custom behavior?

A. Specify the URL of the page in the redirect, login, url property in the configuration service.

B. Specify the URL of the page in the redirect .login, url property in the authentication service.

C. Specify the URL of the page in the redirect, login, authenticated, url property in the configuration service.

D. Specify the URL of the page in the redirect, login, authenticated, url property in the authentication service.

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

Which statement is true regarding the relative width of the wpthemeCol2of 5 CSS class?

A. It cannot be used in a custom layout.

B. It is a semantic type relative-width class.

C. It is a CSS class for a column that takes two-fifths of the width of the page.

D. It is a CSS class for the second column on a page that consists of five columns.

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99