IBM WebSphere Portal 8.5 Solution Development
Question No: 21
Hannah is configuring a new menu feed and does not want the feed to be formatted in XML. Which language can be used instead?
Answer: A Explanation:
RSS is a format for syndicating news and the content of news-like sites, including major news sites like Wired,
news-oriented community sites like Slashdot, and personal weblogs. But it#39;s not just for news.
Pretty much anything that can be broken down into discrete items can be syndicated via RSS:
the quot;recent changesquot; page of a wiki, a changelog of CVS checkins, even the revision history of a book.
Once information about each item is in RSS format, an RSS-aware program can check the feed for changes and react to the changes in an appropriate way.
Question No: 22
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(quot;MyPagequot;); cmcontroller.delete(page);
How can he use this code to delete the page?
This code alone will delete the page.
There is not a delete method so this code is not valid.
He needs to find the page by URL instead of UniqueName.
He needs to commit the controller to persist the modification.
Question No: 23
Which statement is true regarding JSR 286 event support in IBM WebSphere Portal?
Events can be wired to IBM API cooperative portlets.
Events can be wired to JSR 168 cooperative portlets.
Events cannot be used in tandem with public render parameters.
When the quot;Globalquot; check box is set on the wires page. JSR 286 event processing is automatic; wires are not needed and. therefore, are ignored.
Answer: B Explanation:
nteroperability between JSR 286 portlet events and JSR 168 cooperative portlets
By concept, cooperative portlets are similar to JSR 286 portlet events. Both concepts describe publish/subscribe
communication patterns that are based on typed information that is published and received by portlets and propagated via communication links.
Because the concepts are quite similar, the portal supports data exchange between JSR 168 cooperative portlets and JSR 286 portlets that support events.
This means that you can extend an existing setup using JSR 168 cooperative portlets with new JSR 286 portlets and
that you can smoothly migrate individual cooperative portlets to the new API without losing communication possibilities.
Question No: 24
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(quot;stylekeyquot;, quot;styleValue quot;);
doEdit(RenderRequest renderRequest, RenderResponse renderResponse)
render(RenderRequest renderRequest, RenderResponse renderResponse)
doHeaders(RenderRequest renderRequest, RenderResponse renderResponse)
processAction(RenderRequest renderRequest, RenderResponse renderResponse)
Question No: 25
Assuming the device classes were correctly configured to the clients, which device class equations would be evaluated to true for only iPhones?
smartphone (iosI android)
(android/ios) smartphone !blackberry
Question No: 26
Which option is a media type that is supported by the IBM Web Content Manager REST service?
Answer: A Explanation:
Explanation : tem types
The following item types can be created, read, updated and deleted using the Web Content Manager REST service:
Site areas Content items
Presentation templates Projects
The following component types: Text
Short text Rich text HTML
Date and Time Image
File resource Style Sheet
Question No: 27
This code snippet is part of a portlet descriptor:
lt;portlet-namegt;Portletllt;/portlet-narnegt; lt;!- […] -gt; lt;/portletgt;
lt;portlet-namegt;Porrtlet2lt;/portlet-namegt; lt;i- […] -gt; lt;/portletgt;
lt;portlet-namegt;Poctlet2lt;/portlet-namegt; lt;/filte r-mappinggt;
Assuming that the mycompany.MyPortletFilter class implements the right interfaces, which statement is true?
The portlet filter will be applied to both portlets and can be used during the action phase.
The portlet filter will be applied to first portlet to render, and can be used during the action phase.
The portlet filter will be applied to both portlets, but the lt;f iltergt; section should go in the web.xml instead.
The portlet filter will be applied to the first portlet to render, but the lt;f ilte rgt; section should go in the web.xml instead.
Question No: 28
Isabel wants to display different content automatically to users, depending on their group access.
Which IBM WebSphere Portal feature should Isabel use to configure this objective?
Answer: D Explanation:
SyncML DM is based on the SyncML protocol and is designed to enable the customizing, personalization, and servicing of mobile device, taking into account the same limitations as SyncML DS does for mobile environments.
Question No: 29
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?
Add the custom portlet mode to the portlet deployment descriptor.
Add a resource bundle to the portlet that has the name of the custom portlet mode.
Configure the portlet after installation to map the custom portlet mode to the server- defined portlet mode.
Enable the specific custom portlet mode at the container level by setting the correct property in the resource environment provider.
Question No: 30
Kaveri needs to develop a portletthat uses Ajax Proxy to get the news feed from the URL http:/Avww.ibm.com/developerworks/news/dw_dwtp.rss. The following configuration information is present in the proxy-config.xml:
lt;mapping contextpath=quot;/devworksquot; url=quot;http://www.ibm.com/developerworks/quot;/gt; Which is the correct URL to use in the Ajax call?
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|