C2040-986

C2040-986 practice questions, page 5 of 5, with answer review and explanations.

Question 21

DJ is developing his first Lotus Domino application. He wants to show a particular set of data to unauthenticated users and provide additional data to authenticated users. Which of the following can DJ use to determine whether the user is authenticated or not?

  1. @IsAuthenticated to determine if the user is authenticated or not
  2. @WebUserName, which returns an empty string ( "" ) when a user is not authenticated
  3. @UserName, which returns "˜Anonymous" for unauthenticated users
  4. @WebName to get the current user's name

Question 22

Which of the following describes the destination URL that is generated by Lotus Domino when the user enters */projects/cio/index.html as the URL?

  1. /projects/index.nsf/cio?OpenPage
  2. /projects/projects.nsf/cio?OpenPage
  3. /projects.cio.nsf/index.html}
  4. /projects.cio/nsf/index?OpenPage

Question 23

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?

  1. 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.
  2. From the Advanced tab of the Database Properties, 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.
  3. From the Advanced tab of the Database Properties, select "Allow connection to external databases using DCRs". From the Data Connection Resource Properties, click the Product form under "Connection enabled for".
  4. 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.