Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6 part 14

66. Francois is familiar with the generation of WSDL in a data provider model using the Service Definition builder.
However, for his current project, he has created several service consumer models and is performing complex operations
on the result sets. It is these operations, not necessarily the raw data, which he would like to expose as web services.
How can he define a new WSDL without involving the provider model?
A. Use the WSDL Generator builder at the end of any model
B. Append Action!ViewWSDL to the URL of any model as it runs
C. Use the Web Service Enable builder to expose one or more methods
D. Use a Web Service builder as a modifier after using a View & Form builder
Answer: C
67. 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                                 pass4side

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

69. Tariq is building a complex page using the Imported Page builder and needs to locate several control builder calls on
that page to perform more actions. What are the three techniques for locating the control builder calls?
A. Inside Top, Inside Bottom, and Wrapper
B. On Named Tag, On Span Tag, and Relative
C. On Named Tag, Relative to Named Tag, and Advanced
D. On Span Tag, Relative to Span Tag, and Profiled Location Input
Answer: C

70. Otto needs to pass several arguments from one portlet to another when firing an event. Which of the following Event
types can he use?
A. Factory Portlet Event
B. WPS Default Portlet Message
C. Factory Multimodal Portlet Message
D. WPS Default Portlet Message with Event Name
Answer: A
www.pass4side.com

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6(12)

61. Jorge has exposed back-end data using an SQL DataSource, SQL Calls and a Service Definition with WSDL being
generated. Now for another model to use this data, which builder must be used to define the provider model?
A. SQL Consumer
B. Service Client
C. Service Consumer
D. Web Service Call
Answer: D

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

63. For faster iterative development and testing, Johan would like to test his models without continually republishing
them to a portal server, logging into the portal server and loading the correct page. Which of the following steps should
he take to accomplish this?
A. Create a configuration to run the model stand-alone
B. No actions are necessary as models run in the Eclipse or RAD IDE by default
C. Create a run configuration to run to run the models on an embedded test server
D. Open the model files in a browser after associating the extension .model with the browser
Answer: A

64. Which of the following builders should Gia use to rename a portlet for production?
A. Portlet Name builder
B. Portlet Adapter builder
C. Portlet Information builder
D. Portlet Configuration builder
Answer: B

65. Jeremy is about to implement configuration for his portlet, allowing the portal administrator to set parameters for the
portlet. In which builder call will he set the behavior for the profile set that contains the profile inputs for this purpose?
A. Portlet Adapter
B. Profile Adapter
C. Portal Configuration
D. Profiled Service Call
Answer: A

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