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

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6(4)

16. The Navigator pane provides Heather with navigation among the source files in a project. How can she navigate the
components of her web application such as its Data Services, Linked Java Objects, Methods and Pages?
A. Load the model’s XML schema
B. Use the Outline for each model
C. Use the WebApp Tree for each model
D. Add a view in Eclipse or RAD to specifically navigate these elements
Answer: C

17. Sam wants to exploit the Data Page builder’s ability to generate the bulk of the HTML code for his portlet, but not
lose control over the individual page elements. What should he do to accomplish this goal?
A. Use an HTML Template for page formatting
B. Hard code HTML tags, tying your code to the underlying data
C. Create a base page and stylesheet, used in conjunction with Data Modifier builders
D. Import HTML forms, then use Data Field Modifiers to automate and tie the forms to the Data Page builder calls
Answer: A

18. Gwen has successfully implemented a default Edit display for users of her portlet. However now she would like to
add disclaimer text to the default Edit page as users see it, warning them of the ramifications of their changes. What
approach should she use?
A. Modify the Portlet Adapter to include a text Variable
B. Hand-edit the generated HTML produced by the Portlet Adapter builder
C. Use the Imported Page builder call to replace the Edit page at runtime
D. Create an HTML page including entry_prompt, entry_value, and submitbutton attributes, and refer to its path in the
Portlet Adapter
Answer: D

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

20. Alexis wishes to display one “read-only” field on a form. This field is a date field, and while the rest of the
application uses one format, for this specific form it should use another format (the form is for a business unit located in
another region that uses a unique date format). How can she accommodate this requirement, assuming the defaults are
being used everywhere else in the application?
A. Use JavaScript to reformat the field prior to displaying it
B. Profile the field, choosing the DateTime Profile Handler to set the format
C. Use a Data Field Modifier Builder to control the format of the specific date
D. Use a global Method Call builder to provide translation information to the Data Field Modifier Builder call
Answer: C

Oct
13th

Building Portlets with IBM WebSphere Portlet Factory 6(3)

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

12. Elise has been working on a model and realizes that a new builder call is required in the middle of two others. How
can she add the builder call in the right place?
A. Move the builder calls using drag and drop in the Navigator pane
B. Select the builder call before the position desired, then click on the new builder call icon
C. Create the builder call using the new builder call icon, but use “Save As…” to position it
D. Either use the right-click menu to insert the builder call or add it to the end, then drag it to the correct position
Answer: D                       www.pass4side.com

 

13. John is developing a multi-portlet application and will be using Events to handle inter-portlet communications and
actions. He wants to make sure certain information is supplied to the Event Handler of “target” portlets when they
communicate. How is this accomplished?
A. Use arguments as an input
B. Define the events as locally fired events
C. Use indirect references to a method call that returns the information
D. Encode both the event name and declaration data in the event handler’s inputs
Answer: A

14. In order to make a SQL Call return data, Pauline is defining a Service Operation. Which action should she call in the
Service Operations properties?
A. Fetch
B. Invoke
C. Execute
D. Activate
Answer: C

15. Denise is adding Page Automation to her service consumer, and has a need to treat certain data in the detail data set
as read-only, even if she is in edit mode. How is this accomplished?
A. Use a Data Column Modifier
B. Use a Data Hierarchy modifier
C. Use a Data Field Modifier builder
D. Use the hide-when input on the Page Automation builder
Answer: C

Oct
12th

Building Portlets with IBM WebSphere Portlet Factory 6(2)

6. To get a better understanding of a data service provider, Gene would like his provider model to automatically create
some documentation. In which builder call can he generate documentation, and how?
A. SQL Call builder, by selecting “Include Documentation”
B. Comment builder, by adding appropriate comments to the model
C. Service Definition builder, by selecting “Generate Main” and “Include Documentation”
D. SQL DataSource, by defining data that has embedded comments as one of the columns to return
Answer: C

7. Jerald is working with detail input pages (forms) and wishes to give them similar colors and fonts as the summary
pages developed by another programmer. The styles can easily be modified by doing which of the following?
A. Use the “!important” tag in the summary page CSS definition
B. Modify the style manually in the HTML generated by the page automation builder call
C. Include a CSS file as part of the project, referencing it in the detail page’s builder call
D. Use a modifier builder call to change the tag associated with the element that needs a new style
Answer: C

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

9. Leanna intends to share certain values (variables) across different models in a particular user session for later use in
event processing. Which of the following types of inter-portlet communication describes what she needs to do?
A. Generate Property Brokers
B. Add Click-to-Action builders
C. Add Portlet Factory events with shared inputs
D. Add Shared Variables for coupling with an event mechanism
Answer: D                         www.pass4side.com

 

10. Using the Data Page builder, Lance can map data to named HTML tags on a page. The data can be rendered in form
fields, as read-only fields, or in some combination of both. How does he generate form fields for data input and
modification?
A. By referencing an HTML file in the Input Control Settings
B. By reading a schema file with form definition elements and field validation
C. By generating sample HTML and modifying it in-line with the built-in editor
D. By first choosing the Page Type as data entry, then choosing a Page or Imported Page builder call that has already
been defined
Answer: D