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
Which statements are true regarding predeployed portlet applications? (Choose two.)
A. The policy is stored in the EAR file.
B. The policy is stored in the portlet.xml file.
C. The display name is assigned by the portal during EAR deployment.
D. The display name is assigned by the EAR developer and stored in the application.xml file.
E. The policy is stored in the WAR file and promoted to the EAR file by the portal during deployment.
Rachel has added a custom new parameter named user to the page properties of the Human Resources page.
How can Rachel retrieve this parameter?
A. She is unable to access the user parameter.
B. She can use the
C. She can use the
D. She can use the
Which feature of the Theme Optimization Analyzer portlet will analyze the theme and its components for known issues and then report the number of errors, warnings and informational messages?
A. Reports
B. Validation Reports
C. Development Mode
D. Remote Debugging
Which two options are valid uses of the XML Configuration interface? (Choose two.)
A. Install a portlet.
B. Clone a skin module.
C. Delete a shared library.
D. Back up an IBM WebSphere Portal server configuration.
E. Export all property files from a WebSphere Portal server.
Hannah is configuring a new menu feed and does not want the feed to be formatted in XML. Which language can be used instead?
A. RSS
B. JSON
C. HTML
D. SGML
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.
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)
Which life cycle method of a portlet do the doView, doEdit and doHelp methods represent?
A. init
B. render
C. destroy
D. processAction
Which method can be used only in an ActionResponse?
A. encodeURL
B. setProperty
C. addProperty
D. setPortletMode
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C2040-423 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.