Microsoft
70-515 · Question #157
70-515 Question #157: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #157. The question stem and answer options stay visible for context.
Question
You are implementing an ASP.NET Web application that retrieves data from a Microsoft SQL Server database. You add a page that includes the following data source control. <asp:SqlDataSource id="sqlds" runat="server" ConnectionString="<%$ ConnectionStrings:MyDB %>" SelectCommand="SELECT * FROM Companies" /> The page is accessed frequently, but the data in the database rarely changes. You need to cache the retrieved data so that the database is not queried each time the Web page is accessed. What should you do?
Options
- AAdd the following attributes to the SqlDataSource control.
- BAdd the following attributes to the SqlDataSource control.
- CAdd the following configuration to the <system.web/> section of the web.config file.
- DAdd the following configuration to the <system.web/> section of the web.config file.
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.