IBM Developing Portlets and Web Applications with IBM Web Experience Factory 8.0 Sample Questions:
1. William is setting up debug tracing for his model. He has located and opened the log4j.properties file in an editor and set the log4j.category.bowstreet.system.debugTracing and log4j.logger.bowstreet.system.modelActions properties to DEBUG as described in the product documentation. What else does he need to do to make his settings take effect?
A) Save property changes, redeploy the WAR file, and rerun the model.
B) Update his main action to initialize the debugTracing method.
C) Add a Debug Handler builder call to the model.
D) Set the Portlet Adapter debug input option to INFO.
2. Ed wants to create a UI using the Dojo Tab Container builder with multiple tabs and tab panes, where each tab pane contains a distinct application flow with multiple pages of its own. What is the best way for Ed to build such an application with Web Experience Factory?
A) Use Inserted Page to insert the first page of each subapplication flow to each tab pane.
B) Put the distinct application flows in separate models and use a model container per tab pane to associate each multipage flow with an individual tab pane.
C) The Dojo Tab Container builder cannot support such applications. He must use the Page Tabs builder instead.
D) Use a linked model per tab pane to associate each subapplication flow model's UI with an individual tab pane.
3. Which of the following would be a security and performance best practice for portlets, widgets, and web applications built with IBM Web Experience Factory?
A) Validating all user input data on the client-side only, to keep bad data from getting to the server at all.
B) Validating all user input data on the server-side only, for best protection against malicious users.
C) Validation is not a security or performance concern. HTTP protects against bad data based on HTML input type and databases do not allow malicious data into the field types.
D) Validating all user input data on the client for performance reasons, and again on the server, to protect against malicious users that attempt to bypass client-side validation.
4. For faster iterative development and testing, Johan would like to test his models without continually logging in and logging out of the IBM WebSphere Portal server and loading the correct page. Which of the following steps should he take to accomplish this task?
A) Create a run configuration to run the models on an embedded test server.
B) Create a configuration to run the model stand-alone.
C) Open the model files in a browser after associating the extension .model with the browser.
D) No actions are necessary as models run embedded in the Eclipse or IBM Rational Application Developer IDE by default.
5. Biswajit has added a Client Event Declaration builder named GetAccountDetails to his client mobile model and wants to run its associated method elsewhere in the model. Which of the following shows the proper syntax?
A) clienteventGetAccountDetails
B) ${ClientEventFire/GetAccountDetails}
C) ${ClientEventMethod/GetAccountDetails}
D) fireGetAccountDetails
Solutions:
| Question # 1 Answer: A | Question # 2 Answer: B | Question # 3 Answer: D | Question # 4 Answer: B | Question # 5 Answer: D |
We're so confident of our products that we provide no hassle product exchange.


By Valentina

