Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6 part 11

51. Rico needs to provide a method in his Linked Java Object with access to the current webAppAccess object. How can
he accomplish this task?
A. Rename the methods to method_webAppAccess
B. Profile the LJO builder call’s source input
C. Create a Method Call builder call to reference the webAppAccess object
D. Declare that the desired methods take one argument of the type WebAppAccess
Answer: D                 pass4side

52. Maurice needs access to the remote interface of an Enterprise Java Bean that was developed for another application
and is deployed. Which builder call can he use to accomplish this task?
A. EJB Call builder
B. Method Call builder
C. Bean MasterDetail builder
D. Data Page builder (Bean Settings)
Answer: A

53. Tabitha is creating her first WebSphere Portlet Factory project. After creating the Factory WebApp Project and her
first model, how does she add new code to the model?
A. Start adding builder calls to the model using the Outline pane
B. Drag and drop code snippets from the pallet using the WebApp Diagram
C. Use the WebApp Tree, as it has an interface for adding Java code to methods
D. Define Linked Java Objects for use in the project, and import them using standard Java import syntax
Answer: A

54. Jorge is working on an XML structure that has been retrieved from an existing XML file, and he now has the XML
structure available for processing. What are the three things he can modify using IXml methods?
A. Element name, text value, and attribute(s)
B. Element name, node hierarchy, and text value
C. Element name, binary value, and attribute(s)
D. Element text value, node hierarchy, and attribute(s)
Answer: A

55. Will has used Eclipse for several RCP and plug-in projects and is beginning his first WebSphere Portlet Factory
WebApp. In order to provide a clean environment for the complexities of his WebApp, what action should he take with
Eclipse before creating the new WebApp Project?
A. Open a new perspective
B. Define and use a new workspace
C. Start Eclipse with the “-clean” option
D. Clear the warnings from the Problems view, and add a Servers view for running the project
Answer: B

www.pass4side.com

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6 part 9

41. William decides during creation of a builder call that he needs to associate a builder call input with a profile entry
that has not been created yet. What is the easiest way to add new entries from this location in the product?
A. Click the profile icon for the builder call input and add the entry directly to correct Profile Set
B. Right click the model, or click New->Factory Profile Set, create a new set and entries
C. Close the builder call, open the original profile set, modify it and return to the builder call
D. Enter the profile for the input, create a new profile (or profile set), add entries, and save the new choice
Answer: A
42. While building a new portlet using WebSphere Portlet Factory, Viktor determines that leaving configuration of
several portlet attributes or characteristics up to the end user / administrator of the portlet would make it much more
useful, flexible, and less likely to require programming changes. Using which concept can he accomplish this?
A. Profiling
B. Security roles
C. Set and Entry point processing
D. Configuration portlet builder calls
Answer: A                         pass4side

43. Shara has configured a new profile set and a profile. Which of the following represents the last entity she needs to
create in order to profile inputs in her builder calls?
A. Profile inputs
B. Profile entries
C. Profile selections
D. Profile attributes
Answer: B

44. Titus is preparing to deploy a portlet WAR for use in WebSphere Portal 5.1 and also to a new WebSphere Portal 6
environment. What is a critical consideration for the WebSphere Portal 5.1 environment?
A. He must ensure that the JVM used in development is 1.1.8.
B. He must edit the factory.properties file to provide dual deployment paths.
C. He must set the class-loading order so third-party JAR files are loaded before others.
D. He must ensure that artifacts of the WebSphere Portal custom theme are referenced properly in his code, and
commented out for WebSphere Portal 6.
Answer: C

45. Harry has modified his WebApp Project to include a new model with a new Portlet Adapter. After testing it in a
standalone environment, he would like to deploy it to WebSphere Portal. Assuming he has set up the WebApp Project for
automatic deployment, what is the easiest way to make the new portlet available?
A. Remove the Web Module from WebSphere Portal and re-import the project WAR file
B. Restart WebSphere Portal, as the changes made to the project are automatically deployed
C. Build a new WAR file for each change, so new concrete portlets can be installed and updated
D. Rebuild the Project’s Portlet WAR file, as this will update the Web Module in WebSphere Portal, making the portlet
available
Answer: D

www.pass4side.com

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6 (8)

36. Skip is creating a new hierarchical profile and wishes to create a relationship with an entity returned by a profile
handler so he can read the list of LDAP groups returned by that handler. Which of the following describes this
relationship?
A. Creating a parent profile
B. Associating an available segment
C. Creating a dynamic entity relationship
D. Customizing execution time personalization
Answer: B

37. Melissa has implemented profiling for several inputs in her WebApp, and now needs to match a request with a
categorization (segment) and return the profile associated with the segment. If her ultimate goal is to differentiate
between running the application in standalone mode and running it inside a portal, which selection handler should she
choose?
A. Explicit Handler
B. J2EE Role Handler
C. WebApp Runtime Handler
D. WPS Execution Mode Handler
Answer: D
38. Tim is experimenting with the various ways to create a new profile set. Which of the following are the ways he can
create?
A. Use the Profile Input dialog or the New Profile Set wizard
B. Use the Manage Profiles editor or the Profile Input dialog
C. Use the Applied Profiles View inside the New Profile Set wizard
D. Handcraft the XML file representing the Profile Set, then rename it in the Navigator
Answer: A

39. Pierre, a new developer, has encountered his first “table” in a builder call, and is wondering how to provide the inputs
to the table. What’s his first step?
A. Profile the table - this will give him the ability to choose the inputs
B. Generate a list of input values in a text editor, and prepare to paste them into the table
C. Click on a row in the table to give it focus, then either type an input, profile it, or use the “…” button
D. Add an Indirect Reference to the name of the table in order to provide it with default values, then modify those values
directly
Answer: C

40. Teresa has developed a new model in her project and wishes to test it with an existing profile. There are two ways to
do this - what are they?
A. Use the Applied Profiles view or append the profile to the URL
B. Modify the URL or set up a run configuration specifying the profile set to use
C. Copy the profile to the model using the Navigator or use the Applied Profiles view
D. Open the profile, and select the models to apply it to, or copy the profile to the model using the Navigator
Answer: A

www.pass4side.com

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6(7)

30. Troy is creating a new Factory WebApp Project. Which of the following is a valid project name?
A. MyNewProject
B. My New Project
C. My.New.Project.
D. eclipse\MyNewProject\                     www.pass4side.com
Answer: A

31. Davis does not have local or mapped network access to his portal server. How can he deploy a WebSphere Portlet
Factory project to the server?
A. Define a deployment configuration xmlaccess script
B. Create a deployment builder call as the last builder call in the project and remove the “main” method
C. Generate a WAR file using the project’s right-click menu, and deploy it as a remote portlet from his local test server
D. Generate a WAR file using the project’s right-click menu, and deploy it to the portal server using the administration
screens
Answer: D

32. Cady is getting started on her first WebApp. What common server configurations are available to her?
A. Local, WSRP, and Remote servers
B. Local, Remote and Test Environment servers
C. Remote, Test Environment, and Virtual servers
D. Local, WAR Runtime, and Test Environment servers
Answer: B

33. Bill would like to distribute a new feature set to his remote development team’s WebSphere Portlet Factory
installations. How can he distribute a feature set?
A. He must configure each desktop remotely with the new feature set from scratch
B. He must distribute a single ‘pkg’ file that is placed in the Packages folder of the WebShere Portlet Factory installation
directory
C. For each new feature, he must document the files it uses and their location, and each developer must place multiple
files in the proper directories
D. Feature sets are automatically configured using the standard Eclipse or RAD ‘Software Updates’ functionality, so he
must place the feature files on an update server
Answer: B

34. Victoria would like to allow end users of a portlet to specify a profile to apply to the portlet (assuming they have the
proper portal role security). Which of the following settings will accomplish this in the Profile Sets section of the Portlet
Adapter builder?
A. Show profile names in Edit
B. Show profile names in Configure
C. Show individual profile values in Edit
D. Show individual profile values in Configure
Answer: A

35. Jackson wants to create hierarchical profiles for the three kinds of end user roles that will be using his portlet. How
are hierarchical profiles created?
A. In the profiles model view, profiles can be moved under other profiles using drag and drop
B. Profiles can be added to the WebApp Tree directly, so the tree should be used with the hierarchy in mind
C. Using Profile builders and modifiers, hierarchical profiles are built by placing them in the proper order in the builder
call list
D. During profile set creation, or ad-hoc when profiling an input in a builder, new profiles and their entries can be
created in the user interface
Answer: D

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6(5)

21. Sally has created a simple “Hello World” model and wishes to edit one of the builders. How does she begin editing?
A. Right-click the builder and choose “Edit”
B. Copy the builder and edit from the copy, then re-import the builder into the model
C. Double-click the builder or right-click and Open, then edit in the Builder Call Editor
D. Locate the builder call in the Navigator, then use “Open With…” to edit in a text editor
Answer: C

22. Bill is developing a user interface for a result set of data using View & Form. He wishes to present the user with 20
rows of results at a time. What does he need to enable?
A. Paged Data Display
B. Navigation controls
C. A More button control
D. Back and Next button controls
Answer: A

23. Allison has accessed a data source, and added builders that make several SQL calls to the data source. She has also
added service operation calls to transform data. Now to make the result sets available to a service consumer, what builder
call must she add?
A. SQL Publisher
B. Service Publisher
C. Service Definition
D. Service Externalization
Answer: C

24. Daniel has created and deployed a portlet, then realized it needed a different name for presentation in WebSphere
Portal. Which builder and field needs to be modified?
A. The first Page builder, Name field
B. The Action List builder, Name field
C. The Portlet Adapter builder, Name field
D. The Portlet Adapter builder, Portlet Title field
Answer: D

25. Alex wishes to expose profile values for customization when his model is used as a portlet. Which builder should he
use to accomplish this?
A. Action List
B. Portlet Adapter
C. Profile Adapter
D. Attribute Setter
Answer: B