IBM WebSphere Portal 8.0 Solution Development Sample Questions:
1. A client named Rudy's Rocking Hot Rods sells high-end motor vehicles through its customized portal. When a user logs in, they are presented with several combinations of portlets and iWidgets. The user can select a car model, color, customize finishes, and perform other applicable actions. As part of a new development phase, the client has requested two updates: 1) Wire Portlet ABC to send an event to the iWidget XYZ. 2) Wire iWidget XYZ to send an event to the Portlet RSA. What option below is not correct, assuming all portlets on the page are JSR 286compatible?
A) If Portlet ABC uses a custom type defined as follows:
B) When passing a mashup type from iWidget XYZ to Portlet RSA, which uses XSD types, that type must be manually converted because IBM WebSphere Portal does not provide an automatic type conversion mechanism.
C) If Portlet ABC defines a Java class in its portlet.xml under the
D) iWidget XYZ will be able to receive events from Portlet ABC and send events to Portlet RSA.
2. Peter has a custom portlet skin that he wants to deploy to an IBM WebSphere Portal server. Which one of these steps can best be used to deploy his custom skin?
A) Use WebDav to deploy to the skinlist entry point.
B) Use the 'uploadNewSkin' ConfigEngine task.
C) Place his skin project in the
D) Use the 'installNewSkin' ConfigEngine task.
3. Given the following code in the portlet.xml file, what line of code returns the value of the "test" initparam. <portlet-class>MyPortlet</portlet-class> <init-param> <name>test</name> <value>test_init_parameter</value> </init-param>
A) renderRequest.getPortalContext().getInitParameter("test");
B) renderResponse.getInitParameter("test");
C) portletConfig.getInitParameter("test");
D) renderRequest.getInitParameter("test");
4. The portlet.xml file for SamplePortlet looks like this:
Assuming that no modifications have been made to the properties bundle, what would be written into SystemOut.log?
A) java.lang.NullPointerException
B) java.util.MissingResourceException: Can't find resource for bundle
C) CertTargetPortlet
D) Null
5. If Lola needs to create a resource collection, which of the following options must she define?
A) 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
B) An instance of either of the following:
-com.ibm.websphere.personalization.ResourceCollectionImpl
-com.ibm.websphere.resources.ResourceManager
C) An instance of either of the following:
-com.ibm.websphere.resources.ResourceCollectionImpl
-
com.ibm.websphere.resources.ResourceManager
D) An instance of the following:
-
com.ibm.websphere.personalization.ResourceCollection
Solutions:
| Question # 1 Answer: B | Question # 2 Answer: A | Question # 3 Answer: C | Question # 4 Answer: C | Question # 5 Answer: A |
We're so confident of our products that we provide no hassle product exchange.


By Ted

