IBM Assessment: Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design - A2040-922 Exam Practice Test

Eric is writing an XPages in the Notes Client (XPinC) application and has a data type problem in a Server Side JavaScript function. How can he find out more information about the objects in his code?
Correct Answer: D Vote an answer
Joe wishes to retrieve the HttpServletRequest while his XPage is loading. Which of the following is true regarding this activity?
Correct Answer: D Vote an answer
Aaron has created an XPages application that has a couple of XPages to surface the same data to two different application roles in two completely different user interfaces. Each role can manipulate parts of the data, but in both cases, the data must adhere to the same business logic and rules. What would be the best way for Aaron to implement the same business logic in each XPage?
Correct Answer: A Vote an answer
John has a JavaScript function in a Client Side JavaScript library which he wrote to parse some JSON data and loop through the resulting objects. If he wanted to perform the same task in Server Side JavaScript what would be the most efficient action?
Correct Answer: B Vote an answer
Marco has built an XPage that has increased in complexity over time and now contains several hundred lines of XSP markup, with many postback actions that conditionalize the display of the page. He feels that the page does not perform well and is looking to improve the responsiveness for the end-user. He is considering the following actions to improve performance. All of the following actions may improve performance EXCEPT which one:
Correct Answer: D Vote an answer
Rick creates a Server-Side JavaScript library, and defines a few global variables at the beginning of the library. The JavaScript in his XPage and in the JavaScript library modify those global variables. The server the application runs on is heavily used, and the application settings are set to Keep Pages on Disk for best scalability. When the application executes, what is likely to happen?
Correct Answer: D Vote an answer
Joe wishes to retrieve the HttpServletRequest while his XPage is loading. Which of the following is true regarding this activity?
Correct Answer: D Vote an answer