looking forward for discussing the questions + preparation for the exam below are the questions from prime testing (with answers below not necessary right as you can see from the result at the end)
Item 2 of 49 Mark item for review Which of the following software is NOT supported for WebSphere Portal V5.0 portlet development? A. WebSphere Studio Site Developer V5.1 B. WebSphere Studio Application Developer V5.0.1 C. WebSphere Portal V5.0 D. Portal Toolkit V5.0 A
Item 3 of 49 Mark item for review With the WebSphere Studio Site Developer and Application Developer products, local debugging of which portlet features is NOT supported (testing and debugging must be done via remote server attach)? (Select 2) A. vault service B. cooperative portlets C. struts D. parallel rendering E. personalization
D E Item 4 of 49 Mark item for review Which of the following statements is TRUE about the alphanumeric code that is beside each portlet in the Portlet Catalog? A. The code is the Portlet Identifier as it is found in the portlet.xml file. B. The code is a unique identifier that only shows up on the Portlet Catalog. It is used to identify the vendor of the portlet and the version of WebSphere Portal the portlet is compatible with. C. The code is a product identifier that might also be found in print advertising, direct mail, and other media. D. The code gets added to the Portlet EAR directory name when installed in WebSphere Portal.
Item 5 of 49 Mark item for review For which file type does the installed productivity or document viewer portlets NOT provide a service? A. 123 spreadsheets B. word files C. PDF Acrobat files D. PowerPoint presentations E. Rich text files
A Item 6 of 49 Mark item for review The tag used to cycle through navigation nodes (wpsNavNode) and children is: A. wps:navigationInit B. wps:navigationNext C. wps:navigationLoop D. wps ageShift E. wps age attribute=next
C Item 7 of 49 Mark item for review Which of the following is FALSE with regard to the size of the effort to develop new portlets? A. The Portal Toolkit provides wizards to guide a developer through the process of creating portlets. B. Portlets can be developed to access existing WebSphere Application Server applications. C. .Net applications can be easily ported to WebSphere Portal. D. A toolkit is provided with WebSphere Portal to make it easier to integrate portlets with Lotus Domino applications.
C Item 8 of 49 Mark item for review What is the supported version for WebSphere Application Server that is REQUIRED for WebSphere Portal 5.0? A. version 4.2 B. version 5.0 C. version 5.0 Fix Pack 1 D. version 5.1 E. all versions > 4.x are supported
C Item 9 of 49 Mark item for review A client is using Internet Explorer Version 5 with the locale set to en_US and the user's skins set to "Shadow". The aggregation component of the portal server will search for the file Control.jsp and use which of the following first? A. .../skins/html/Shadow/ie5/en_US/Control.jsp B. .../skins/html/Shadow/ie5/en/Control.jsp C. .../skins/html/Shadow/Control.jsp D. .../skins/html/ie5/en_US/Control.jsp E. .../skins/html/en_US/Control.jsp
Item 10 of 49 Mark item for review Which of the following is a correct example of embedding an image within a portlet? A. <img src='<%=response.encodeImage("add.gif")%>' /> B. <img src='<%=response.encode("add.gif")%>' /> C. <img src='<%=response.encodeURL("add.gif")%>' /> D. <img src='<%=response.encodeSrc("add.gif")%>' /> E. <img src='<%=response.encodeLocation("add.gif")%>' />
Item 11 of 49 Mark item for review Identify the ways you can deploy from the Portal Toolkit. (Select 2) A. Through the WTE B. Through Remote Server Attach Debug directly into Portal Server C. Through Export of WAR file, and then Install through Portal Admin GUI D. Through Export of WAR file, and then Install through Portal API
Item 12 of 49 Mark item for review A developer needs to use which of the following methods to create a back button in an edit mode? A. createURI() B. createReturnURI() C. CreateURI(PortletWindow.State state) D. CreatePortletURI()
A Item 13 of 49 Mark item for review Which of the following is TRUE? The PortletSession: A. holds user-specific data for the concrete portlet instance of the portlet, creating a portlet user instance. B. object represents data for a concrete portlet instance that is saved to persistent store. C. represents the configuration for a concrete portlet that is saved to persistent store D. provides the current or previous mode of the portlet.
A Item 14 of 49 Mark item for review The portlet container provides tags for use in portlet JSPs. To make these tags available in a JSP, which of the following directives is REQUIRED at the beginning of the JSP? A. <%@ taglib url="/WEB-INF/tld/portlet.tld" include="portletAPI" %> B. <%@ taglib uri="/WEB-INF/tld/portlet.tld" prefix="portletAPI" %> C. <%@ taglib url="/WEB-INF/tld/portlet.tld" required="portletAPI" %> D. <%@ taglib uri="/WEB-INF/tld/portlet.tld" use="portletAPI" %>
Item 15 of 49 Mark item for review A portlet can enable each user to initialize with some unique data, such as a favorite web site or background color. Where should this data be stored? A. PortletSettings B. PortletConfig C. PortletSession D. PortletData
D Item 17 of 49 Mark item for review Which of the following modes MUST be specified in the sub-element of the "supports" element of the portlet deployment descriptor? A. View B. Edit C. Maximized D. Minimized E. Configure
Item 16 of 49 Mark item for review Which object CANNOT be used to dynamically set the configuration of a portlet? A. PortletSettings B. PortletConfig C. PortletData D. PortletApplicationSettings
B Item 18 of 49 Mark item for review Which of the following allows users to change how the portlet window is displayed within the portal page? A. Portlet Mode B. Portlet State C. Portal Mode D. Portlet Configuration
D Item 20 of 49 Mark item for review When creating a Web Service Portlet, which of the following files is REQUIRED? A. UDDI B. WSDL C. portal.xml D. webapp.xml
B Item 22 of 49 Mark item for review Which of the following classes are used to change the behavior of a portlet when a user clicks on a button? A. MessageEvent and MessageListener B. ActionEvent and ActionListener C. WindowEvent and WindowListener D. ActionListener and MessageListener
B Item 21 of 49 Mark item for review Which of the following transcoding plugins is NOT provided by IBM WebSphere Portal? A. HTML to VXML B. Image C. Text D. HTML DOM E. HTML to WML
Item 23 of 49 Mark item for review Which of the following HTML tags would cause problems if used in writing portlet markup? (Select 2) A. <title> B. <table> C. <link> D. <img> E. <font>
Item 24 of 49 Mark item for review When an administrator configures a concrete portlet, which of the following interfaces listens for changes? A. PortletSettingsAttributesListener B. PortletApplicationSettingsAttributesListener C. PortletPageListener D. PortletTitleListener E. PortletMessageListener
A Item 25 of 49 Mark item for review Which of the following is a valid example of displaying a localized text message within a Portlet? A. response.getWriter().println("The text is " + getPortletConfig().getContext().getText("my.key", "message", request.getLocale())); B. response.getWriter().println("The text is " + getPortletConfig().getMessage("my.key")); C. response.getWriter().println("The text is " + getPortletConfig().getContext().getMessage("my.key")); D. response.getWriter().println("The text is " + getPortletConfig().getRequest().getText("my.key", "message", request.getLocale()));
A Item 26 of 49 Mark item for review Which of the following BEST describes the PortletSettings object? A. Represents the state of the current portlet window B. Represents the configuration for a concrete portlet that is saved to persistent store C. Represents data for a concrete portlet instance that is saved to persistent store D. Can be used in a portlet action to set the portlet mode to its current, previous, or requested mode before the portlet is rendered
Item 27 of 49 Mark item for review Where are supported markups of a portlet defined? A. web.xml B. application.xml C. portlet.xml D. config.xml C
Item 28 of 49 Mark item for review PortletResponse is passed via the beginPage(), endPage(), and service() methods and can be used by the portlet to return portlet output using which of the following? A. the System.out.println(String) command B. a Java PrintWriter C. an EJB D. SQL
Item 29 of 49 Mark item for review Which of the following are NOT found within a portlet deployment descriptor? (Select 2) A. Web application characteristics of the portlet application B. Portlet application characteristics which the portal server should support C. App name for the portlet D. Portlet URL mappings E. Portlet version information
D,E Item 30 of 49 Mark item for review When a user changes the state of a portlet window, which event occurs? A. Message event B. Action event C. Window event D. Response event
Item 31 of 49 Mark item for review A developer is testing a new portlet and noticed the portlet title is misspelled. Which file does the developer need to edit to change the portlet title? A. default.jsp B. web.xml C. portlet.xml D. control.jsp
C Item 32 of 49 Mark item for review Which of the following are provided by WebSphere Portal for logging and debugging? (Select 2) A. Errors and Status information are available by message logging. B. Errors and Status information are available in the WebSphere Application Server logs and not in the WebSphere Portal. C. Debugging information is available by debugging message logging called traces. D. Debugging information is available in the WebSphere Application server logs and not in the WebSphere Portal.
Item 33 of 49 Mark item for review A developer wants to test a portlet in WebSphere Portal on a Microsoft Windows environment. The WAR file fails to install. Which of the following is a possible reason? A. The WAR file name is only 4 characters long. B. The WAR file name is longer than 25 characters. C. Portlets must be in a tar file format, and not in a WAR file format. D. The WAR file contained a deployment descriptor.
B Item 34 of 49 Mark item for review Portlets targeted to which one of the following WebSphere Portal versions CANNOT be tested using WebSphere Portal V5 Toolkit? A. V4.1.1 B. V4.2.1 C. V5.0.1 D. V5.0
Item 35 of 49 Mark item for review A developer has created a portlet for WebSphere Portal V5 and plans to test and debug the same portlet on remote WebSphere Portal V5 and WebSphere Portal V4.2 Servers. Which of the following is TRUE in regard to this scenario? A. Since portlets are based on the J2EE architecture the same portlet will run on both versions of WebSphere Portal as long as the appropriate fixpacks are installed. B. Portal Toolkit supports debugging portlets on WebSphere Portal Versions 4.2 and Version 5.0. However, the WAR file must be rebuilt to target each version. C. This scenario will not work because WebSphere Portal V4.2 API is not supported in WebSphere Portal V5.0. D. The developer must add the line "JSR199=true" to the web.xml file for the portlet.
Item 36 of 49 Mark item for review Which of the following is TRUE when debugging a portlet using the Portlet Toolkit on WebSphere Studio Application Developer? A. The default web browser is used unless an external web browser is specified. B. Any browser or device emulator may be specified in the preference panel for Portlet Tools. C. The URL of the portlet debug page may be passed to an external browser by embedding %URI% in the parameter string to the external browser. D. Mozilla is the default browser.
B Item 37 of 49 Mark item for review Typically, what MUST be done to the PortletService reference prior to using? A. Use the reference to create the service. B. Use the reference to locate the service factory. C. Cast the reference to a different interface type. D. Register with the service.
Item 38 of 49 Mark item for review To create a custom API for a new portlet service, which of the following interfaces are extended? (Select 2) A. PortletService defined in the org.apache.jetspeed.portlet.service package B. PortletServiceAPI defined in the org.apache.jetspeed.portlet.service package C. PortletServiceCustom defined in the org.apache.jetspeed.portlet.service package D. PortletServiceAPI defined in the org.apache.jetspeed.portlet.service.api package E. PortletService defined in the org.apache.jetspeed.portlet.service.api package F. PortletServiceCustom defined in the org.apache.jetspeed.portlet.service.custom package
A,B Item 39 of 49 Mark item for review When following a model-view-controller (MVC) paradigm in designing a portal application, creating a portlet service would most often be associated with which portion of the design? A. Model B. View C. Controller D. A portlet service would be unrelated to a MVC application design.
C Item 40 of 49 Mark item for review Which of the following is NOT a generated component of the Web Service Client Portlet Wizard? A. A Java proxy class used as a proxy to access the Web Service. B. A Java class that extends the PortletAdapter class. C. JSP pages, Method.jsp, Input.jsp, and Result.jsp, for rendering views of the portlet. D. Java mapping classes, which may be required for access to certain Web Services. E. A WSDL file definition required for accessing the Web Service.
E Item 41 of 49 Mark item for review In WebSphere Studio V5, a datasource is configured in the: A. Portlet Application B. EAR file that the portlet is associated with C. Portlet perspective J2EE Navigator D. Test environment server configuration E. In the portlet.java file
D Item 42 of 49 Mark item for review What method should be provided in a portlet that implements MessageListener? A. actionPerformed B. messageReceived C. sendMessage D. handleCommunication
B Item 43 of 49 Mark item for review A customer has an old web application that uses a proprietary user database. The customer wants to integrate the web application into a portlet so that users have a single signon experience. It would be possible to leverage the CredentialVaultService and provide the desired true single signon experience ONLY if: A. the backend Web Application supports BASIC Authentication. B. an existing Credential Object type such as HttpBasicAuth can be used or specially coded. C. the backend Web Application supports Trust Association Interceptor (TAI). D. the LDAP database were extended with fields that contain a copy of the username and password of the Web Application.
B Item 44 of 49 Mark item for review What portlet application characteristics lead to consideration of the Portal Struts framework? A. An application that provides several fine-grained portlets that can be placed on a page. B. A simple, single screen, data display portlet. C. An application to be presented in a multi-screen, wizard-like, user interaction model. D. Applications that communicate with enterprise applications and need to be built quickly.
D Item 45 of 49 Mark item for review What portlet implementation class is associated with all cooperative portlets in the web.xml file? A. BrokerPortlet B. ActionWrapper C. ActionBroker D. PortletWrapper
D Item 46 of 49 Mark item for review What interface is used by the Struts Portal Framework to encapsulate the information needed during the rendering phase that is populated during Action processing? A. WpsStrutsViewCommand B. WpsStrutsViewJspCommand C. IViewCommand D. WpsContentCommand
C Item 47 of 49 Mark item for review Which of the following statements are TRUE about using the createSlot() method that belongs to the CredentialVaultService interface? (Select 3) A. A slot can be created to store both active and passive credentials. B. A slot can be created to be accessible to only the portlet instance that is calling the API. C. A slot can be created so that it can be shared among all users. D. A slot can be created so that it can be shared among all portlet instances of a user. E. The createSlot() method returns an object of type CredentialSlot.
B,D,E Item 48 of 49 Mark item for review What is the scope over which the deactivateAction() method blocks delivery of a specified action by property broker? (Select 2) A. The target concrete portlet instance until activateAction() is invoked. B. The target user portlet instance until activateAction() is invoked. C. The lifetime of the concrete portlet instance if no activateAction() is invoked. D. The lifetime of the user portlet instance if no activateAction() is invoked.
Item 49 of 49 Mark item for review What can be associated with portlet menu items? (Select 2) A. page B. URL link C. action D. label B,D
Section # Questions # Correct 1. Install, Set Up & Configure the Dvlpmt Envi 3 3 2. Architect, Implement & Design a Portal Sol'n 6 4 3. Write a Portlet 21 13 4. Testing and Debugging a Portal Solution 6 6 5. Backend Portlet Services 5 2 6. Additional Portlet Concepts 8 2
Don't buy the CertFX test, it's really bad. I felt like I was the first one to actualy look at it. There's dozens of errors, like class names with wrong capitals (DoView() !!!), some questions are repeated 4-5 times no joke !!!.
I'm going to try the prometric online test this week ... I'll keep you posted
Joined: Jun 12, 2004
Fred, I agree with you. I went and bought before your posted reply. When I brought it to the attention of Certfx, they have mentioned I am the only person to bring those type of errors to their attention. I felt I am the only person to encounter that type of issue. They have however told that an update to this test will be released on Nov 7. Hope the newer version is better than the current one. Please do post your views on Prometric Test. Also I suggest, if you could share your experience on how to prepare for the exam, it will certainly help folks like me. I am also making use of the book "Programming Portlets" of IBM Press.
Joined: Oct 25, 2004
I tried a prime exam and got the exact same questions as above, so no need to buy this one either !
Just so you know, the questions in the real exam are way harder than the Prime testing ! I'm working with Portal since 4.1 and scored 70% so ...
The only good way to prepare is working with the product and all its features. Try a litle of everything: Struts portlets, web services, C2A, Portlet messaging, different markups, credential vault. Know how WSAD works, logs, debug mode (local, remote)...
Joined: Jun 12, 2004
Fred, Congrats and thanks for the tip. I have started working in Portal very recently (around a month or so). Let me prepare for the exam for some more time.
Do you think the support of portal applications in WAS 5.0 is better than 4.x? How much it is greater?
I am now need to migration all the existing J2EE applications with portal support, thus, I also wanna know some technical issues on portlet. I also wanna go for IBM 348, but currently I cant squeeze out anytime as the exam schedules are quite tight.
Nick, I felt Portlet Application Developer exam to be the easiest of all the tests I have taken so far. I have been working in Portal for the last 5 weeks or so. The exam questions are on the similar lines of the questions that were provided in the beginning of this topic. I found the book "Programming Portlets" by Ron Lynn. Development book available in the Info Center helped me a lot.
Joined: Nov 07, 2003
I will go for that book as well.
I wish I can crack the exam before the end of this year.