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

    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)].

  • Question 12:

    Josh needs to associate the Price and ProductName fields of the Sales database with fields from the Inventory table in a relational database. His company uses DECS. He has created a Data Connection Resource to handle the connection to the Inventory table. What is the next step to make this connection available to fields on the Product form?

    A. From the Advanced tab of the ACL, select "Allow connection to external databases using DCRs". From the Defaults tab of the Product form properties dialog, click Browse by the Data Source Options and select the DCR.
    B. From the Advanced tab of the database Properties, select "Allow connection to external databases using DCRs". From the Data Connection Resource properties, select the Product form under "Connection enabled for?
    C. From the Advanced tab of the ACL, select "Allow connection to external databases using DCRs". From the Security tab of the Form Properties dialog, click Browse by the Data Source Options and select the DCR.
    D. From the Basics tab of the Database properties, select "Allow connection to external databases using DCRs". From the Defaults tab of the Form Properties dialog, click Browse by the Data Source Options and select the DCR.

  • Question 13:

    Miriam tries to access a hidden control programmatically by client-side JavaScript. When the page is rendered, she cannot access the data of that control. Which option might be the reason for this result?

    A. She deselected the visible property.
    B. She used a tag to hide the control.
    C. She has set the calculate property to false.
    D. She tried to access the data in a custom control, but custom controls do not support JavaScript.

  • Question 14:

    Ashley is writing a server-side script to process the request parameters that are passed in her Registration XPage. What global object should she use to access the parameters that she's interested in?

    A. param
    B. header
    C. cookie
    D. requestScope

  • Question 15:

    Yvette has been asked to help troubleshoot a LotusScript agent that produces the weekly sales report. The agent is taking longer than expected to run. Which step should Yvette take to help her analyze the agent's performance?

    A. Select File > Tools > Remote LotusScript Debugger.
    B. Select "Profile this agent" in the Agent properties.
    C. Select "Enable agent profiling" in Database properties.
    D. Add "Option Profile" to the "(Options)" object in the agent.

  • Question 16:

    Chris is using a view control to show the data of a Lotus Notes view in his XPages library application to simply scroll through the titles of the books available. This data is all read-only and no processing is done on the data. Users are complaining about the performance of this XPage. Which would be an option to optimize it?

    A. Nothing can be done. View data is always cached.
    B. Nothing can be done. View data is never cached.
    C. He can change the datacache property of the dominoView data source to id, instead of full.
    D. XPages are storing the data of a Lotus Domino view in an application variable named CurrentViewData. Chris can open the applicationproperties, go to the XPages tab and select none for the Cache View Data option.

  • Question 17:

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

    Kaitlyn has been asked to track which browser versions people are using to access the Customers XPage. She wants to add code that writes the browser version to the server log whenever a user opens the XPage. What server-side code can Kaitlyn add to do this task?

    A. Add this code in the beforePageLoad event of the XPage:var req = facesContext.getExternalContext ().getRequest();print(req.getHeader("User-Agent"));
    B. Add this code in the onLoad event of the XPage:var req = facesContext.getExternalContext ().getRequest();print(req.get(HTTP_USER_AGENT));
    C. Add this code in the onLoad event of the XPage:print(headerValues.getHeader(HTTP_USER_AGENT));
    D. Add this code in the beforePageLoad event of the XPage:print(headerValues.getHeader("User- Agent"));

  • Question 19:

    Catherine has upgraded her development server from 8.5.1 to 8.5.2. She wants to take advantage of 8.5.2 functionality now, but when she tries to save her XPages, they are generating error messages saying that the functionality is not supported in 8.5.1, which is the minimum supported version for this application. How can Catherine resolve this problem?

    A. She needs to upgrade her Lotus Domino Designer client to 8.5.2.
    B. She must create a template with an 8.5.2 client and copy the design elements across.
    C. She must run a compact operation on the application to update the ODS.
    D. She must change the minimum supported release on the XPages tab of the Application properties in Lotus Domino Designer.

  • Question 20:

    Catherine has upgraded her development server from 8.5.1 to 8.5.2. She wants to take advantage of 8.5.2 functionality now, but when she tries to save her XPages, they are generating error messages saying that the functionality is not supported in 8.5.1, which is the minimum supported version for this application. How can Catherine resolve this problem?

    A. She needs to upgrade her Lotus Domino Designer client to 8.5.2.
    B. She must create a template with an 8.5.2 client and copy the design elements across.
    C. She must run a compact operation on the application to update the ODS.
    D. She must change the minimum supported release on the XPages tab of the Application properties in Lotus Domino Designer.

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.