IBM Developing IBM Lotus Domino 8.5.2 Applications: Advanced XPage Design (C2040-922) Free Practice Test
Question 1
Per wants to connect to a datasource using JDBC. What is the best way to do this?
Correct Answer: A
Question 2
Jeremy wants all of the dijit.Dialog boxes in his application to call a client side JavaScript function called "validateForm" whenever they are hidden. What is the best solution?
Correct Answer: B,C,D,E
Question 3
Liz must do a code review of a third party XPages application in order to optimize performance wherever possible. She has come up with a shortlist of things to do. Each of the following can be used to improve performance EXCEPT which one?
Correct Answer: C
Question 4
Lydia wants to create a JSON string to represent an array with three objects. Each object has two variables, vA and vB, set to different string values of "one", "two", "three", "four", "five", and "six". What is the proper syntax for the JSON string?
Correct Answer: C
Question 5
Titus has created a JSON string that he will pass to the browser. What method could he use to convert the string to an object?
Correct Answer: B
Question 6
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: C
Question 7
Liz must do a code review of a third party XPages application in order to optimize performance wherever possible. She has come up with a shortlist of things to do. Each of the following can be used to improve performance EXCEPT which one?
Correct Answer: C