IBM C2040-986 Online Practice
Questions and Exam Preparation
C2040-986 Exam Details
Exam Code
:C2040-986
Exam Name
:Creating IBM Lotus Notes and Domino 8.5 Applications with Xpages and Advanced Techniques
Certification
:IBM Certifications
Vendor
:IBM
Total Questions
:164 Q&As
Last Updated
:Jul 11, 2026
IBM C2040-986 Online Questions &
Answers
Question 71:
Frank has an Purchase Order application where Order lines are created as child documents to the Purchase Order header. The Order lines are displayed in an embedded view. The formula in the first column of the view is @Text($Ref). How might the application be optimized?
A. Use a repeat control whose value is currentDocument.getDocument().getResponses(). B. Use @DbLookup formulas within a repeat control, instead of a View panel. C. Enable the single copy XPage design on the XPage tab of the Application properties. D. Use a multivalue field to hold the Order lines, instead of using child documents.
A. Use a repeat control whose value is currentDocument.getDocument().getResponses().
Question 72:
Cade is building an XPage for the Sales application. What are the options from which he can select when defining a data source from the data palette?
A. @DbLookup and @DbColumn B. Domino view and Domino document C. Data connections and DB2?access views D. Data connections, DB2 access views, and file resources
B. Domino view and Domino document
Question 73:
George has been asked to create a new Lotus Notes XPages application that is used in the Lotus Notes client and on the web. George knows Lotus Notes development, but not XPages yet. How can he use LotusScript in the new application?
A. He can use LotusScript agents in his application and he does not need to learn anything else. B. He can call LotusScript agents from his XPages, but it would be better if he converted them into JavaScript in his XPages. C. He cannot use LotusScript at all any more and needs to rewrite all of his existing agents and event code to use JavaScript and Java. D. He can just copy and paste the LotuScript into the XPage event model and it will work.
B. He can call LotusScript agents from his XPages, but it would be better if he converted them into JavaScript in his XPages.
Question 74:
Gwen would like to display the value of a the approval list that uses an encryption key for access. How can she go about doing this task?
A. Make sure that the user's SSL client certificate is added to the list of encryption keys to be used to view the fields contents. B. Use the encryption display control and, on the All Properties tab, set the value of Security Options to Enabled encryption for this field. C. Use the encryption display control and, on the All Properties tab, set the value of Security Options to Prompt for SSL Client Certificate. D. There is currently no support for encrypted fields in XPages.
D. There is currently no support for encrypted fields in XPages.
Question 75:
Gustav has added a View control to his XPage. He needs to allow users to delete documents from the view. How can he do this task?
A. Add a button with a simple action defined to Delete Selected Documents. B. Enable the Column Display property check box and the View property Allow Deletion. C. Enable the Column Display property check box and add a button with a simple action defined to Delete Selected Documents. D. Enable the Column Display property check box, and add a button with server-side JavaScript in the button's onclick event that uses the @Function script library to execute @Command [(DeleteDocument)].
C. Enable the Column Display property check box and add a button with a simple action defined to Delete Selected Documents.
Question 76:
Cade is building an XPage for the Sales application. What are the options from which he can select when defining a data source from the data palette?
A. @DbLookup and @DbColumn B. Domino view and Domino document C. Data connections and DB2?access views D. Data connections, DB2 access views, and file resources
B. Domino view and Domino document
Question 77:
Alison would like to perform an @DbLookup to the Keywords view from her XPage. The same code needs to run in a browser and in XPages in the Lotus Notes client. Which of the following options is the correct syntax?
A. @DbLookup("", "Keywords", "Countries", 2, [FAILSILENT]) B. @DbLookup(@DbName(), "Keywords", "Countries", 2, "[FAILSILENT]") C. @DbLookup(""; "Keywords"; "Countries"; 2; [FAILSILENT]) D. @DbLookup(@DbName(), "Keywords", "Countries", 2, [FAILSILENT])
B. @DbLookup(@DbName(), "Keywords", "Countries", 2, "[FAILSILENT]")
Question 78:
Monica has bound the view named "Open invoices" into her XPages application, which is accessible as view1. For the convenience of the user, she likes to display the total amount of all invoices. How can she calculate this amount?
A. var total = view1.getItemSumDouble ('amount'); B. var allDocs = view1.AllDocuments();var total = allDocs.AddValues('amount'); C. var total:double = 0;var doc:NotesDocument = view1.getFirstDocument();while(doc != null){total = doc.getItemValueDouble('amount') + total;var tmpdoc:NotesDocument = view1.getNextDocument ();doc.recycle();doc = tmpdoc} D. var total:double = 0;var doc:NotesDocument = view1.getFirstDocument();var item:NotesItem;while(doc != null){item = doc.getFirstItem('amount');total = item + total;var tmpdoc:NotesDocument = view1.getNextDocument();doc.recycle();doc = tmpdoc}
C. var total:double = 0;var doc:NotesDocument = view1.getFirstDocument();while(doc != null){total = doc.getItemValueDouble('amount') + total;var tmpdoc:NotesDocument = view1.getNextDocument ();doc.recycle();doc = tmpdoc}
Question 79:
Lainey has recently upgraded to Lotus Notes Domino 8.5. She is now exploring the design of her applications to see what new features might be available. What is the purpose of the controls palette that Lainey sees?
A. The controls palette contains controls, such as Edit Box, File Upload, and Table that the developer can drag onto the XPage canvas. B. The controls palette is another way to access the same items that are available from the Create menu for forms, views, XPages and other design elements. C. The controls palette contains items like Edit Box, Button, and Label that the developer can drag onto XPages and forms. The controls palette is not available for views and pages. D. The controls palette contains UI and other controls (such as Button, Link, and Image) that allow the developer to drag controls onto XPage or page elements. The controls palette is not available for other elements.
A. The controls palette contains controls, such as Edit Box, File Upload, and Table that the developer can drag onto the XPage canvas.
Question 80:
Jim is looking at the Properties dialog box for an agent. Which one of the following best describes the use of the "Allow user activation" option?
A. Allows users with Editor access or above in the ACL to run an agent B. Allows users with Author access or above in the ACL to run an agent C. Allows users with Editor access or above in the ACL to enable an agent D. Allows users with Author access or above in the ACL to enable an agent
C. Allows users with Editor access or above in the ACL to enable an agent
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only IBM exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your C2040-986 exam preparations
and IBM certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.