nerdexam
Microsoft

70-515 · Question #110

You are developing an ASP.NET Web application. Application data is stored in a Microsoft SQL Server 2008 database. You configure a connection string named cnnContoso. The application must cache the…

The correct answer is B. Add the following configuration to the <system.web> section of the web.config file. See the full explanation below for the reasoning.

Question

You are developing an ASP.NET Web application. Application data is stored in a Microsoft SQL Server 2008 database. You configure a connection string named cnnContoso. The application must cache the data that is returned from the database by using this connection string. You need to ensure that the application checks the database every 10 seconds. What should you do?

Options

  • AAdd the following configuration to the <system.web> section of the web.config file.
  • BAdd the following configuration to the <system.web> section of the web.config file.
  • CAdd the following @ Page directive to pages that query the database.
  • DAdd the following @ Page directive to pages that query the database.

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    74% (14)
  • C
    5% (1)
  • D
    16% (3)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice