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 91:

    Clarice has an XPage where she needs to store a value in a browser cookie. Given that the value's name is 'language' and the value is 'Spanish,' what JavaScript code can she use to do that?

    A. cookie.language = "Spanish"
    B. cookie.setValue("language") = "Spanish"
    C. var response = facesContext.getExternalContext().getResponse();var userCookie = new javax.servlet.http.Cookie("Cookie", "Spanish");response.addCookie(userCookie);
    D. var response = facesContext.getExternalContext().getResponse();var userCookie = new javax.servlet.http.Cookie("language", "Spanish");response.addCookie(userCookie);

  • Question 92:

    Lian has used the Set Value simple action in the Timesheet XPage to set the value of a computed expression. What does the generated XML look like on the XPage after this simple action has been added?

  • Question 93:

    Emily is preparing to build an application for using browsers. She is considering using XPages. Which of the following statements about XPages is not valid?

    A. XPages can be deployed to a Lotus Domino 8 server.
    B. XPages can be used on a variety of browsers with minimal changes.
    C. XPages can be made multilingual by using built-in Lotus Domino Designer functionality.
    D. XPages can create and manipulate Lotus Domino data on other servers, provided they are within the same trusted domain.

  • Question 94:

    What does this theme XML code do if it is used in an XPages application?

    A. Nothing, because the XML should be dojox.form.Button.
    B. Replace all the standard XPage buttons with the dijit button, excluding the submit and cancel buttons.
    C. Nothing, because the XML should be dojo.form.Button
    D. Replace all the standard XPage buttons with the dijit button, including the submit and cancel buttons.

  • Question 95:

    Juan is integrating an XPage application with his existing company intranet and wants to pull values from cookies. What server-side JavaScript code allows him to access cookies?

    A. facesContext.getHeader("Cookie")
    B. facesContext.getExternalContext().getCookie()
    C. facesContext.getExternalContext().getRequest().getHeader("Cookie")
    D. facesContext.getExternalContext().getRequest().getCookie()

  • Question 96:

    Anna, who has developed traditional Lotus Notes application for years, is working on her first XPage application. Until now, she always tried to achieve goals by using as much @formulas as possible. Now she is asking her colleagues about @formulas with XPages. Which of the following answers is wrong?

    A. Thomas said that there is no @formula language with XPages.
    B. Marc explained that she can use most of the @formulas within JavaScript.
    C. Adam told her that she can use @formulas, but some of them have different functionality.
    D. Pete said that she can use @formulas, but because it is running inside JavaScript, @formulas are case sensitive, and instead of semicolons it uses commas to separate parameters.

  • Question 97:

    Marge wants to track user preference information while users navigate through her Web site, but does not want to require users to authenticate when accessing the site. Which of the following should she use to track the user information?

    A. Cookies
    B. Servlets
    C. User profile documents
    D. The users must authenticate

  • Question 98:

    Jason has entered the group salesforce to the ACL of all of his XPages in the new CRM application. He gave this group Editor rights. Unfortunately, none of the group members are able to access the application. What could be the reason for it?

    A. There is no entry for the salesforce group in the Application ACL.
    B. Jason needs to go to the Application properties, select the XPages tab and activate Allow ACL in XPages.
    C. When Jason saved the XPages design element, there was an error ACL Entry not found message. He forgot to correct this problem.
    D. ACL in XPages are a feature, that will be supported only in a future version of Lotus Domino. The property is there, so that people are able to prepare their applications for the future.

  • Question 99:

    Anna, who has developed traditional Lotus Notes application for years, is working on her first XPage application. Until now, she always tried to achieve goals by using as much @formulas as possible. Now she is asking her colleagues about @formulas with XPages. Which of the following answers is wrong?

    A. Thomas said that there is no @formula language with XPages.
    B. Marc explained that she can use most of the @formulas within JavaScript.
    C. Adam told her that she can use @formulas, but some of them have different functionality.
    D. Pete said that she can use @formulas, but because it is running inside JavaScript, @formulas are case sensitive, and instead of semicolons ituses commas to separate parameters.

  • Question 100:

    Nancy is creating a Web application and she needs anonymous users to be able to read content and create certain documents. What does Nancy need to do?

    A. Anonymous users cannot create documents if the ACL is set to Reader.
    B. Anonymous must be set to Author in the ACL and forms must be blocked to Anonymous users.
    C. Nancy needs to create an Anonymous entry to the ACL with access set to Author. Then, using @Formula she needs to validate if a document is being created by an Anonymous user.
    D. Nancy needs to create an Anonymous entry to the ACL with access set to Reader and the option "Write public documents." She also needs to make the forms Available to Public Access users.

Tips on How to Prepare for the Exams

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.