• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere Portal - Test 399

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm planning to write Websphere Portal 5.1 Exam by the end of october. I'm very much new to Portal and just started to learn portal concepts. I'm using websphere studio site developer and portal kit appropriately installed with it. Can you tell me some of the resources that can help me to start with the certification concepts and get a grip on the environment??? Also tell me which book i can follow to gain more exposure for the exam???

Thanks,
Ashok R
 
Ranch Hand
Posts: 498
Eclipse IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ashok,

I am scheduling my 399 exam by the end of year too, maybe November or December, my study plan focus on the material listed on the IBM site, i.e, the redbooks and links provided there, look at the following site: Educational Resources for 399 exam.

Just one question, i had searched for all the IBM download area and i can't find the Websphere Portal 5.1 to download, only the 5.0 version is available. Can you provide me some link to download the 5.1 version.

Regards,
 
Ashok Ravi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Marcelo,
I actually started for the test 348 (i.e for version 5.0) and so i downloaded portal toolkit for version 5. But recently only i saw the exam for version 5.1 and therefore opted for that. So i too don't know where the downloads for the version 5.1 available. Also tell me where you downloaded the test environment for version 5.0? If you come across any downloads for 5.1 please inform me.

Thanks,
Ashok R
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just passed 399 this morning with 66%. Started studying 2 days ago, for a total of maybe 12 hrs of focused studying. I have 6 months experience with j2ee, struts, JSF etc, but am new to portal development.

To pass this exam become VERY familiar with IBM infocenter, RAD 6 Portal Help, and the JSR 168 API/Spec.

Good luck.

IBM Certified Developer - Websphere Application Server 5.0
IBM Certified Developer - Websphere Portal 5.1
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ... Even i cleared my wps v5.1 certification yesterday with 67%. Well it was much tougher than the questions given in the sample test offered by the IBM Prometric for $10. I could get 75% in the sample test.
I will put up the questions here tommorow as i have saved them in my personal system.
Well the Exam consisted of many questions on Install, configure, debug mode and testing/troubleshooting the portal installation. Also, it had a couple of questions which werent clear in their options.
 
Manmeet Gill
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For which portlet feature is local debugging with Rational Application Developer V6.0 NOT supported?

A.Vault service
B.Cooperative portlets
C.Struts
D.Personalization


In order to install the WebSphere Portal V5.1 Test Environment, a developer needs to select which of the following?

A."Custom" install option when installing WebSphere Portal V5.1, then choose the option "WebSphere Portal Test Environment".
B."Full" install option when installing WebSphere Portal V5.1 and when WebSphere Portal Test Environment automatically gets installed.
C."Test Environment" install option when using WebSphere Portal V5.1 installer.
D."Portal Test Environment" install option during Rational Application Developer V6 installation.


When starting the portal server in the WebSphere Portal Test Environment, the portal server fails to start. A message is also displayed indicating that the server start failed because port 9081 is already in use. Which of the following is the MOST probable cause?

A.Rational Application Developer is running under port 9081
B.Disable WAS Security and issue command "startServer WebSphere_Portal"
C.The application server "WebSphere_Portal" is started
D.The developer did not correctly associate the WAR file with the test environment server



All of the following statements are valid about debugging portlets remotely EXCEPT:

A.Some temporary resources and the configuration on the portal server are automatically generated during testing or debugging of a portlet on a remote server. They can be deleted by performing the Reset Portlets action.
B.To debug a program remotely, the program must be able to be launched in debug mode on the remote machine so that it will wait for a connection from the debugger.
C.Remote debugging is useful when debugging programs on dedicated machines such as web servers.
D.To use Server Attach to debug a portlet or portal on a server, the portal server is first started in normal mode.


Which of the following statements is valid about Workplace Solutions Catalog?

A.Workplace Solutions Catalog does not allow portlets to be searched based on solutions or provider name.
B.Workplace Solutions Catalog can be personalized based on profile information.
C.Some Portlets available for download from the Workplace Solutions Catalog site contain source code information.
D.Rational Application Developer is downloaded from the Workplace Solutions Catalog site for developing portlets.


Which of the following tools can the developer install for developing portlets for WebSphere Portal V5.1?

A. WebSphere Application Server
B. Rational Application Developer
C. WebSphere Portlet Builder
D. WebSphere Business Integration Server Foundation


If the portal theme were changed to move the navigation region from the left side to the right side of the page, which file should be modified?


A. Navigation.xml
B. Navigation.jsp
C. Default.jsp
D. Banner.jsp

A developer needs to create a portlet that contains only static information from an existing URL. What is the BEST out-of-box portlet option for the developer?

A. JSP Portlet
B. Web Clipping Portlet
C. HTML Portlet
D. Rational Application Developer Portlet

A developer is working on creating custom themes and skins. To view changes to the theme and skin JSPs without restarting the portal server, application server can be forced to automatically check for new versions of JSPs. In which of the following files does the entry "reloadingEnabled ="false" need to be changed?

A. ibm-web-ext.xml
B. ibm-web.xml
C. ibm-web-ext.xmi
D. ibm-web-bnd.xmi

A team of developers will create custom themes for WebSphere Portal V5.1. Which is the BEST tool for the team to use?

A. Portal Toolkit
B. Java Editors
C. WebSphere Portal Application Integrator
D. Page Designer in Rational Application Developer

According to the JSR 168 specification, what tag needs to be defined in a JSP in order to have access to the RenderResponse object?

A. <portlet:init/>
B. <portletAPI:loadObjects/>
C. <portlet efineObjects/>
D. <portletAPI:renderResponse/

According to the JSR 168 specification, which of the following allows users to change how the portlet window is displayed within the portal page?

A. Window Mode
B. Window State
C. Portal Mode
D. Portlet Configuration

Which of the following transcoding plugins is NOT provided by IBM WebSphere Portal V5.1?

A. HTML to VXML
B. HTML to WML
C. Text
D. Image

Which of the following is a correct example of embedding an image within a JSR 168 portlet?

A. <img src='<%=response.encodeImage(renderRequest.getContextPath() + "/add.gif")%>' />
B. <img src='<%=response.encode(renderRequest.getContextPath() + "/add.gif")%>' />
C. <img src='<%=response.encodeURL(renderRequest.getContextPath() + "/add.gif")%>' />
D. <img src='<%=response.encodeLocation(renderRequest.getContextPath() + "/add.gif")%>' />

Which of the following directives is required at the beginning of a JSP that will use the JSR 168 portlet tag libary?

A. <%@ taglib uri="http://javax.sun.com/portlet" prefix="portletAPI" %>
B. <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
C. <%@ taglib url="/WEB-INF/tld/portlet.tld" stem="portletAPI" %>
D. <%@ taglib uri="/WEB-INF/tld/portlet.tld" use="portlet" %>

According to the JSR 168 specification, which object provides the portlet object with information to be used during initialization and also provides access to the portlet context?

A. PortletSettings
B. PortletConfig
C. PortletData
D. PortletApplicationSettings


A JSP that is used by a JSR 168 portlet has a JavaScript function named "doValidate()". Why should the page developer prefix a <portlet:namespace/> tag to the function name?

A. The portlet could be deployed multiple times on a page, causing a duplicate function definition.
B. Since a portlet JSP fragment has no <head> tag, a JavaScript function cannot execute without being a member of a namespace.
C. The namespace associates the function with the correct portal theme "includeScript.jsp" for the page.
D. An HTML markup attribute reference to the function would throw a NameSpaceMismatch exception during page compilation.


Which of the following is valid about the ActionResponse interface?

A. It defines a portlet view of the portlet application within which the portlet is running.
B. It is used in the render method of the Portlet interface. This interface allows a portlet to set its title and generate content.
C. It encapsulates all information about the client request, parameters, request content data, portlet mode and window state.
D. It allows a portlet to redirect the user to another URL, set render parameters, change the window state and change the portlet mode of the portlet.


Which item MAY be specified within the portlet deployment descriptor?

A. Welcome file list
B. Preferred cache size
C. Error pages
D. Initialization parameters

A portlet can enable each user to initialize with some unique data, such as a favorite web site or background color. According to the JSR 168 specification, where should this data be stored?

A. PortletApplicationSettings
B. PortletConfig
C. PortletSession
D. PortletPreferences

When using the PortletContext, which of the following is supported?

A. Sending messages to the JSP
B. Setting request parameters
C. Forwarding to servlets
D. Including JSPs

According to the JSR 168 specification, objects stored in the session using the PORTLET_SCOPE must be:

A. Available to all portlets of the web application during requests for all porlet windows.
B. Available to the portlet during requests for the same portlet window that the objects were stored from.
C. Protected from other web components of the portlet application.
D. Used in conjunction with the APPLICATION_SCOPE in order to preserve the objects true state.


According to the JSR 168 specification, which of the following is valid if a portlet throws an exception in the processAction() method?

A. All operations on the ActionResponse must be ignored and the render() method will be invoked.
B. All operations on the ActionResponse must be ignored and the render() method must NOT be invoked within the current client request.
C. The portal/portlet-container discontinues processing all portlets visible on the portal page.
D. The portal/portlet-container calls the destroy() method and releases the portlet object.

How can a JSR 168 portlet get the absolute path to a resource located at "/WEB-INF/hello.xsl"?

A. String absPath = getPortletRoot.getRealPath("/WEB-INF/hello.xsl");
B. String absPath = getPortletRoot.getPath("/WEB-INF/hello.xsl");
C. String absPath = getPortletContext.getRealPath("/WEB-INF/hello.xsl");
D. String absPath = getPortletContext.getPath("/WEB-INF/hello.xsl");


A portlet needs to share some transient data with other portlet of the same application. According to the JSR 168 Specification, the session scope that is used for this type of requirement is:

A. PORTLET_SCOPE
B. WEBAPPLICATION_SCOPE
C. APPLICATION_SCOPE
D. SERVLET_SCOPE

According to the JSR 168 specification, which mode provides content and logic that lets a user customize the behavior of the portlet?

A. Modify
B. View
C. Preference
D. Edit

Which of the following should a developer do to deploy a portlet application from Rational Application Developer 6.0?

A. Publish to the WebSphere Test Environment.
B. Create a runtime profile from the main menu Run command.
C. Export a WAR file, and then install it through the WebSphere Portal administrative tools.
D. Export a WAR file, and then install it through the WebSphere Application Server API.

How can a Rational Application Developer 6.0 user specify that WebSphere Portal V5.1 be the target server for a new JSR 168 portlet project through the New Portal Project wizard, if at all?

A. The developer cannot because JSR 168 portlets are portal-independent.
B. The developer cannot because WebSphere Portal V5.1 does not support JSR 168 portlets.
C. Click "Show Advanced >>" and then select "WebSphere Portal V5.1 from the "Target Server" dropdown list.
D. Click "Browse" and then navigate to the desired runtime.


According to the JSR 168 specification, during initialization, the portlet object may throw an "UnavailableException" or a "PortletException". In this case, the portlet container must:

A. Not place the portlet object into active service and it must release the portlet object.
B. Not place the portlet object into active service, but keep the portlet object instantiated.
C. Place the portlet object into active service and immediately call the destroy() method.
D. Place the portlet object into active service and provide for exception processing.

Which of the following can the "New Portlet Project (JSR 168)" wizard in Rational 6.0 Developer directly create?

A. iFrame JSR 168 portlet
B. Search JSR 168 portlet
C. Clipper JSR 168 portlet
D. Basic JSR 168 portlet

What API can a JSR 168 portlet's doView(PortletRequest request, PortletResonse response) method use to determine a user's choice of Spanish for the view language?

A. request.getUserLocale();
B. request.getLocale();
C. response.getUserLocale();
D. response.getLocale();

Which of the following tags could cause problems if used in portlet markup for a portlet JSP?

A. <span>
B. <table>
C. <link>
D. <script>

A developer has deployed a portlet to an external WebSphere Portal 5.1 server. However, any changes to the JSP after deployment are not being updated, except after a restart of WebSphere Portal 5.1 server. What is the MOST likely reason for this problem?

A. The browser is caching the previous version of the web page.
B. WebSphere Portal 5.1 server is caching the previous version of the web page.
C. "reloadingEnabled" was NOT set to "true" in the "ibm-web-ext.xmi" file.
D. "reloadEnable" was NOT set to "true" in the "ibm-web-ext.xmi" file.

The WebSphere Portal log file contains messages and trace information, if tracing is enabled. Which of the following is the default run-time log file?

A. <was_root>/logs/tracefile.log, where <was_root> is the WebSphere Application Server installation directory
B. <wp_root>/log/SystemOut.log, where <wp_root> is the WebSphere Portal installation directory
C. <wp_root>/log/wps_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created
D. <wp_root>/log/wps_runtime_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created

Which file contains the JSR 168 portlet-specific initialization parameters?

A. portal.xml
B. portlet.xml
C. web.xml
D. webapp.xml

Which of the following will happen when a developer right clicks on the "WebSphere Portal V5.1 Server Attach" server and selects the "Reset Portlets" option?

A. The portlet's destroy() and init() methods are called.
B. The portlet's destroy(), init(), processAction() and render() methods are called.
C. The portlet applications, preview page and preview label being used by the developer will be removed.
D. The portlet applications and preview page being used by the developer will be removed.

In a JSP, the debuggable lines where breakpoints can be set are which of the following?

A. Scriptlets and JSP expressions.
B. HTML code and scriptlets.
C. JSP expressions and HTML code.
D. Scriptlets, JSP expressions and HTML code.

In Rational Application Developer, a datasource is configured in the:

A. Unit Test Environment's administration console.
B. EAR file that the portlet is associated with.
C. Portlet perspective Project Navigator.
D. Server configuration editor.

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. Data Access

Which of the following statements BEST reflects when a portlet JSP should directly access a datasource?

A. When it is appropriate to have a JSP that is associated with the portlet VIEW mode directly access a back-end datasource.
B. When it is appropriate to have a JSP that is associated with the portlet EDIT mode directly access a back-end datasource.
C. When it is appropriate to have a JSP directly access a back-end datasource if used in conjunction with a command cache.
D. When it is not considered BEST practice to have portlet JSPs connect directly to a back-end datasource.

For an action that is registered with the Property Broker, which of the following constraints applies to the action?

A. It may NOT declare any output parameters.
B. It must declare exactly one input parameter.
C. It can optionally declare a name attribute.
D. It must provide an actionNameParam attribute if a name attribute is specified.


A PortletServiceHome object is retrieved from which of the following?

A. a javax.naming.Context.
B. the javax.portlet.PortletContext.
C. the javax.portlet.PortletRequest.
D. the javax.portlet.PortletConfig.

All of the following are properties of the default vault that can be customized EXCEPT:

A. Allowing the adapter to create and delete resources.
B. Setting the adapter to be readonly or read-write.
C. The encryption algorithm used.
D. User distinguished name to store administrative credentials under.

When a cooperative portlet is a source of data, how is the data delivered to a target portlet?

A. As a parameter bound to a specified scope
B. As an action
C. As a SOAP message
D. As a portlet preference

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 Sign-On (SSO) experience. It would be possible to leverage the CredentialVaultService and provide the desired true Single Sign-On 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 was extended with fields that contain a copy of the username and password of the Web Application.

Which of the following characteristics does NOT apply to the two JDBC data controls supplied in Rational Application Developer, Relational Record and Relational Record List?

A. The relational record list corresponds to a JDBC rowset.
B. Both objects can be used to connect to any JDBC compliant datasource.
C. The relational record allows the developer to display, update and/or create a record.
D. Production level use of these data controls is encouraged.

Which of the following can be used to collect a variety of data related to visitors' actions and behavior for analysis and reporting?

A. Rules engine
B. Resource engine
C. LikeMinds Listener
D. Feedback Listener

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.

The typical way a Struts application can apply a stylesheet to XML data is to implement a Struts Action that writes directly to the response object. What can be done in the Portal environment to achieve the same effect, if anything can be done at all?

A. Customize the Struts processing by extending the WpsRequestProcessor class.
B. Implement a Struts action class based on the IStrutsPrepareRender interface which will be executed during the render phase of potal.
C. Use the StrutsViewXmlCommand command pattern class to write to the output stream of the response object.
D. This is not possible, as the response object is not available during the portlet's action processing.


What parameters are passed by My Tasks portlet for �?
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have passed this exam some 3 months back and you guys can refer to my earlier post on this forum regarding Test 399...

And yes I had found the actual exam tougher than mock test.

All the best....

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone I am scheduled to take up my certification within the next fortnight. How much of a practical experience of working with portals is necessary for one to take this exam? and are the questions couple of posts above actually the real questions or just examples of the type of questions which can be asked?
Thanks in advance..
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am planning to write Websphere Portal developer certification. The above posts show some questions but do any one have answers for those. Also, are the above questions of the same complexity level as the ones that come in the certification exam. Could anyone please give me more information on the training materials, practical knowledge that is required and the complexity level of the questions.

Thank You,
prasanth sajja.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I attended an IBM Portal conference a week ago. At the conference, you could take certification tests for free. I have been doing a lot of JSR 168 portlet development for Websphere Portal and decided to take a stab at the 399 test with no preparation. I passed with a 75%. The mock questions above were very close to the real questions. My only prep was to read the questions in this post and look up the answers (and my work experience).

Good references to study would be the JSR 168 spec and api, WebSphere Portal Info Center, and the Portal IBM Redbooks. The last two can be found on IBM's site.
 
Girish S
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does one need to be conversant with the IBM Portlet API too? The test objectives doesnt say anything abt it....
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah the IBM API is required on the exam , but most of the questions will be on the JSR 168 , also be aware that the questions in the sample test is much much much easier than the actual exam, I just pass the exam and the difference in difficulty was obvious for me.

Good Luck
Rabee' Nawash
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Can anybody please post answers to these questions posted by Manmeet. I am posting some answers. Correct me if I am wrong on any of these.

I am posting the questions again and I have numbered these questions. So you dont have to paste the questions again. Please just print the question number and answers+explanations(if any).


1.For which portlet feature is local debugging with Rational Application Developer V6.0 NOT supported?

A.Vault service
B.Cooperative portlets
C.Struts
D.Personalization


2.In order to install the WebSphere Portal V5.1 Test Environment, a developer needs to select which of the following?

A."Custom" install option when installing WebSphere Portal V5.1, then choose the option "WebSphere Portal Test Environment".
B."Full" install option when installing WebSphere Portal V5.1 and when WebSphere Portal Test Environment automatically gets installed.
C."Test Environment" install option when using WebSphere Portal V5.1 installer.
D."Portal Test Environment" install option during Rational Application Developer V6 installation.

3.When starting the portal server in the WebSphere Portal Test Environment, the portal server fails to start. A message is also displayed indicating that the server start failed because port 9081 is already in use. Which of the following is the MOST probable cause?

A.Rational Application Developer is running under port 9081
B.Disable WAS Security and issue command "startServer WebSphere_Portal"
C.The application server "WebSphere_Portal" is started
D.The developer did not correctly associate the WAR file with the test environment server

4.All of the following statements are valid about debugging portlets remotely EXCEPT:

A.Some temporary resources and the configuration on the portal server are automatically generated during testing or debugging of a portlet on a remote server. They can be deleted by performing the Reset Portlets action.
B.To debug a program remotely, the program must be able to be launched in debug mode on the remote machine so that it will wait for a connection from the debugger.
C.Remote debugging is useful when debugging programs on dedicated machines such as web servers.
D.To use Server Attach to debug a portlet or portal on a server, the portal server is first started in normal mode.


5.Which of the following statements is valid about Workplace Solutions Catalog?

A.Workplace Solutions Catalog does not allow portlets to be searched based on solutions or provider name.
B.Workplace Solutions Catalog can be personalized based on profile information.
C.Some Portlets available for download from the Workplace Solutions Catalog site contain source code information.
D.Rational Application Developer is downloaded from the Workplace Solutions Catalog site for developing portlets.

6.Which of the following tools can the developer install for developing portlets for WebSphere Portal V5.1?

A. WebSphere Application Server
B. Rational Application Developer
C. WebSphere Portlet Builder
D. WebSphere Business Integration Server Foundation


7.If the portal theme were changed to move the navigation region from the left side to the right side of the page, which file should be modified?


A. Navigation.xml
B. Navigation.jsp
C. Default.jsp
D. Banner.jsp

8.A developer needs to create a portlet that contains only static information from an existing URL. What is the BEST out-of-box portlet option for the developer?

A. JSP Portlet
B. Web Clipping Portlet
C. HTML Portlet
D. Rational Application Developer Portlet

9.A developer is working on creating custom themes and skins. To view changes to the theme and skin JSPs without restarting the portal server, application server can be forced to automatically check for new versions of JSPs. In which of the following files does the entry "reloadingEnabled ="false" need to be changed?

A. ibm-web-ext.xml
B. ibm-web.xml
C. ibm-web-ext.xmi
D. ibm-web-bnd.xmi

10.A team of developers will create custom themes for WebSphere Portal V5.1. Which is the BEST tool for the team to use?

A. Portal Toolkit
B. Java Editors
C. WebSphere Portal Application Integrator
D. Page Designer in Rational Application Developer

11.According to the JSR 168 specification, what tag needs to be defined in a JSP in order to have access to the RenderResponse object?

A. <portlet:init/>
B. <portletAPI:loadObjects/>
C. <portlet efineObjects/>
D. <portletAPI:renderResponse/

12.According to the JSR 168 specification, which of the following allows users to change how the portlet window is displayed within the portal page?

A. Window Mode
B. Window State
C. Portal Mode
D. Portlet Configuration

13.Which of the following transcoding plugins is NOT provided by IBM WebSphere Portal V5.1?

A. HTML to VXML
B. HTML to WML
C. Text
D. Image

14.Which of the following is a correct example of embedding an image within a JSR 168 portlet?

A. <img src='<%=response.encodeImage(renderRequest.getContextPath() + "/add.gif")%>' />
B. <img src='<%=response.encode(renderRequest.getContextPath() + "/add.gif")%>' />
C. <img src='<%=response.encodeURL(renderRequest.getContextPath() + "/add.gif")%>' />
D. <img src='<%=response.encodeLocation(renderRequest.getContextPath() + "/add.gif")%>' />

15.Which of the following directives is required at the beginning of a JSP that will use the JSR 168 portlet tag libary?

A. <%@ taglib uri="http://javax.sun.com/portlet" prefix="portletAPI" %>
B. <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
C. <%@ taglib url="/WEB-INF/tld/portlet.tld" stem="portletAPI" %>
D. <%@ taglib uri="/WEB-INF/tld/portlet.tld" use="portlet" %>

16.According to the JSR 168 specification, which object provides the portlet object with information to be used during initialization and also provides access to the portlet context?

A. PortletSettings
B. PortletConfig
C. PortletData
D. PortletApplicationSettings


17.A JSP that is used by a JSR 168 portlet has a JavaScript function named "doValidate()". Why should the page developer prefix a <portlet:namespace/> tag to the function name?

A. The portlet could be deployed multiple times on a page, causing a duplicate function definition.
B. Since a portlet JSP fragment has no <head> tag, a JavaScript function cannot execute without being a member of a namespace.
C. The namespace associates the function with the correct portal theme "includeScript.jsp" for the page.
D. An HTML markup attribute reference to the function would throw a NameSpaceMismatch exception during page compilation.


18.Which of the following is valid about the ActionResponse interface?

A. It defines a portlet view of the portlet application within which the portlet is running.
B. It is used in the render method of the Portlet interface. This interface allows a portlet to set its title and generate content.
C. It encapsulates all information about the client request, parameters, request content data, portlet mode and window state.
D. It allows a portlet to redirect the user to another URL, set render parameters, change the window state and change the portlet mode of the portlet.


19.Which item MAY be specified within the portlet deployment descriptor?

A. Welcome file list
B. Preferred cache size
C. Error pages
D. Initialization parameters

20.A portlet can enable each user to initialize with some unique data, such as a favorite web site or background color. According to the JSR 168 specification, where should this data be stored?

A. PortletApplicationSettings
B. PortletConfig
C. PortletSession
D. PortletPreferences

21.When using the PortletContext, which of the following is supported?

A. Sending messages to the JSP
B. Setting request parameters
C. Forwarding to servlets
D. Including JSPs

22.According to the JSR 168 specification, objects stored in the session using the PORTLET_SCOPE must be:

A. Available to all portlets of the web application during requests for all porlet windows.
B. Available to the portlet during requests for the same portlet window that the objects were stored from.
C. Protected from other web components of the portlet application.
D. Used in conjunction with the APPLICATION_SCOPE in order to preserve the objects true state.


23.According to the JSR 168 specification, which of the following is valid if a portlet throws an exception in the processAction() method?

A. All operations on the ActionResponse must be ignored and the render() method will be invoked.
B. All operations on the ActionResponse must be ignored and the render() method must NOT be invoked within the current client request.
C. The portal/portlet-container discontinues processing all portlets visible on the portal page.
D. The portal/portlet-container calls the destroy() method and releases the portlet object.

24.How can a JSR 168 portlet get the absolute path to a resource located at "/WEB-INF/hello.xsl"?

A. String absPath = getPortletRoot.getRealPath("/WEB-INF/hello.xsl");
B. String absPath = getPortletRoot.getPath("/WEB-INF/hello.xsl");
C. String absPath = getPortletContext.getRealPath("/WEB-INF/hello.xsl");
D. String absPath = getPortletContext.getPath("/WEB-INF/hello.xsl");


25.A portlet needs to share some transient data with other portlet of the same application. According to the JSR 168 Specification, the session scope that is used for this type of requirement is:

A. PORTLET_SCOPE
B. WEBAPPLICATION_SCOPE
C. APPLICATION_SCOPE
D. SERVLET_SCOPE

26.According to the JSR 168 specification, which mode provides content and logic that lets a user customize the behavior of the portlet?

A. Modify
B. View
C. Preference
D. Edit

27.Which of the following should a developer do to deploy a portlet application from Rational Application Developer 6.0?

A. Publish to the WebSphere Test Environment.
B. Create a runtime profile from the main menu Run command.
C. Export a WAR file, and then install it through the WebSphere Portal administrative tools.
D. Export a WAR file, and then install it through the WebSphere Application Server API.

28.How can a Rational Application Developer 6.0 user specify that WebSphere Portal V5.1 be the target server for a new JSR 168 portlet project through the New Portal Project wizard, if at all?

A. The developer cannot because JSR 168 portlets are portal-independent.
B. The developer cannot because WebSphere Portal V5.1 does not support JSR 168 portlets.
C. Click "Show Advanced >>" and then select "WebSphere Portal V5.1 from the "Target Server" dropdown list.
D. Click "Browse" and then navigate to the desired runtime.


29.According to the JSR 168 specification, during initialization, the portlet object may throw an "UnavailableException" or a "PortletException". In this case, the portlet container must:

A. Not place the portlet object into active service and it must release the portlet object.
B. Not place the portlet object into active service, but keep the portlet object instantiated.
C. Place the portlet object into active service and immediately call the destroy() method.
D. Place the portlet object into active service and provide for exception processing.

30.Which of the following can the "New Portlet Project (JSR 168)" wizard in Rational 6.0 Developer directly create?

A. iFrame JSR 168 portlet
B. Search JSR 168 portlet
C. Clipper JSR 168 portlet
D. Basic JSR 168 portlet

31.What API can a JSR 168 portlet's doView(PortletRequest request, PortletResonse response) method use to determine a user's choice of Spanish for the view language?

A. request.getUserLocale();
B. request.getLocale();
C. response.getUserLocale();
D. response.getLocale();

32.Which of the following tags could cause problems if used in portlet markup for a portlet JSP?

A. <span>
B. <table>
C. <link>
D. <script>

33.A developer has deployed a portlet to an external WebSphere Portal 5.1 server. However, any changes to the JSP after deployment are not being updated, except after a restart of WebSphere Portal 5.1 server. What is the MOST likely reason for this problem?

A. The browser is caching the previous version of the web page.
B. WebSphere Portal 5.1 server is caching the previous version of the web page.
C. "reloadingEnabled" was NOT set to "true" in the "ibm-web-ext.xmi" file.
D. "reloadEnable" was NOT set to "true" in the "ibm-web-ext.xmi" file.

34.The WebSphere Portal log file contains messages and trace information, if tracing is enabled. Which of the following is the default run-time log file?

A. <was_root>/logs/tracefile.log, where <was_root> is the WebSphere Application Server installation directory
B. <wp_root>/log/SystemOut.log, where <wp_root> is the WebSphere Portal installation directory
C. <wp_root>/log/wps_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created
D. <wp_root>/log/wps_runtime_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created

35.Which file contains the JSR 168 portlet-specific initialization parameters?

A. portal.xml
B. portlet.xml
C. web.xml
D. webapp.xml

36.Which of the following will happen when a developer right clicks on the "WebSphere Portal V5.1 Server Attach" server and selects the "Reset Portlets" option?

A. The portlet's destroy() and init() methods are called.
B. The portlet's destroy(), init(), processAction() and render() methods are called.
C. The portlet applications, preview page and preview label being used by the developer will be removed.
D. The portlet applications and preview page being used by the developer will be removed.

37.In a JSP, the debuggable lines where breakpoints can be set are which of the following?

A. Scriptlets and JSP expressions.
B. HTML code and scriptlets.
C. JSP expressions and HTML code.
D. Scriptlets, JSP expressions and HTML code.


38.In Rational Application Developer, a datasource is configured in the:

A. Unit Test Environment's administration console.
B. EAR file that the portlet is associated with.
C. Portlet perspective Project Navigator.
D. Server configuration editor.


39.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. Data Access


40.Which of the following statements BEST reflects when a portlet JSP should directly access a datasource?

A. When it is appropriate to have a JSP that is associated with the portlet VIEW mode directly access a back-end datasource.
B. When it is appropriate to have a JSP that is associated with the portlet EDIT mode directly access a back-end datasource.
C. When it is appropriate to have a JSP directly access a back-end datasource if used in conjunction with a command cache.
D. When it is not considered BEST practice to have portlet JSPs connect directly to a back-end datasource.


41.For an action that is registered with the Property Broker, which of the following constraints applies to the action?

A. It may NOT declare any output parameters.
B. It must declare exactly one input parameter.
C. It can optionally declare a name attribute.
D. It must provide an actionNameParam attribute if a name attribute is specified.



42.A PortletServiceHome object is retrieved from which of the following?

A. a javax.naming.Context.
B. the javax.portlet.PortletContext.
C. the javax.portlet.PortletRequest.
D. the javax.portlet.PortletConfig.


43.All of the following are properties of the default vault that can be customized EXCEPT:

A. Allowing the adapter to create and delete resources.
B. Setting the adapter to be readonly or read-write.
C. The encryption algorithm used.
D. User distinguished name to store administrative credentials under.


44.When a cooperative portlet is a source of data, how is the data delivered to a target portlet?

A. As a parameter bound to a specified scope
B. As an action
C. As a SOAP message
D. As a portlet preference


45.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 Sign-On (SSO) experience. It would be possible to leverage the CredentialVaultService and provide the desired true Single Sign-On 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 was extended with fields that contain a copy of the username and password of the Web Application.


46.Which of the following characteristics does NOT apply to the two JDBC data controls supplied in Rational Application Developer, Relational Record and Relational Record List?

A. The relational record list corresponds to a JDBC rowset.
B. Both objects can be used to connect to any JDBC compliant datasource.
C. The relational record allows the developer to display, update and/or create a record.
D. Production level use of these data controls is encouraged.


47.Which of the following can be used to collect a variety of data related to visitors' actions and behavior for analysis and reporting?

A. Rules engine
B. Resource engine
C. LikeMinds Listener
D. Feedback Listener


48.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.


49.The typical way a Struts application can apply a stylesheet to XML data is to implement a Struts Action that writes directly to the response object. What can be done in the Portal environment to achieve the same effect, if anything can be done at all?

A. Customize the Struts processing by extending the WpsRequestProcessor class.
B. Implement a Struts action class based on the IStrutsPrepareRender interface which will be executed during the render phase of potal.
C. Use the StrutsViewXmlCommand command pattern class to write to the output stream of the response object.
D. This is not possible, as the response object is not available during the portlet's action processing.



50.What parameters are passed by My Tasks portlet for �?

Cheers!!!
Sachin
[ October 04, 2005: Message edited by: sachin satija ]
 
Author
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the JSR 168 related questions I would recommend to read the spec at JCP. For the rest of the questions, the online help of IBM Rational Application Developer (IRAD) 6 and the Info Center for WebSphere Portal Server 5.1 are sufficient.

Greetings from Hamburg,
Stefan
 
Sachin Satija
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here are the answers for some of them please post the rest if you know.....

2.) C."Test Environment" install option when using WebSphere Portal V5.1 installer.

3.) C.The application server "WebSphere_Portal" is started

6.) B. Rational Application Developer

7.) C. Default.jsp

8.) B. Web Clipping Portlet

9.) C. ibm-web-ext.xmi

10.) D. Page Designer in Rational Application Developer

11.) C. <portlet: defineObjects/>

12.) B. Window State

13.) A. HTML to VXML

14.) C. <img src='<%=response.encodeURL(renderRequest.getContextPath() + "/add.gif")%>' />

15.) B. <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>

16.) B. PortletConfig

17.) A. The portlet could be deployed multiple times on a page, causing a duplicate function definition.

18.) D. It allows a portlet to redirect the user to another URL, set render parameters, change the window state and change the portlet mode of the portlet.

19.) B. Preferred cache size

20.) D. PortletPreferences

21.) D. Including JSPs

22.) B. Available to the portlet during requests for the same portlet window that the objects were stored from.

26.) D. Edit

27.) C. Export a WAR file, and then install it through the WebSphere Portal administrative tools.

29.) A. Not place the portlet object into active service and it must release the portlet object.

30.) D. Basic JSR 168 portlet

31.) request.getLocale();

33.) C. "reloadingEnabled" was NOT set to "true" in the "ibm-web-ext.xmi" file.

38.) D. Server configuration editor.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

Today i gave the test and passed with 70%.. You need atleast 5-10 days of reading and experirence with the RAD tool. The test will focus on test/debug and jsr 168 API. Few of the questions were from the ones posted in this forum .Quite useful on the type of questions that might come.Of course you need to do good guess.
[ October 26, 2006: Message edited by: mallik joesph ]
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's a link to some free, online, mock certification exam simulations for Test 399, and for that matter, IBM WebSphere Portal Exam Test 829:

Free Online Mock Certification Exams for IBM Test 829 and WebSphere Portal Exam 399


Indeed, JSR-168 is heavily tested on this exam. Your knowledge of the legacy jetspeed API will help you with many of the wrong answers, but not many of the right ones.

I'd also suggest knowing how to connect to a remote websphere portal server, as opposed to just the local test environment. There are a few questions in that area as well.


Cheers!

-Cameron McKenzie
[ March 06, 2007: Message edited by: Cameron W. McKenzie ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic