MCQOPTIONS
Saved Bookmarks
| 1. |
You are creating an ASP.NET page for selling movie tickets. Users select a region, and then they select from a list of cities in that region. The site displays the names and locations of movie theaters in the city selected by the user._x005F_x000D_ Your company, XYZ Brothers, maintains a list of theaters in a database table that includes the city, name, and street address of each theater. You want to minimize the time required to retrieve and display the list of theater names after a user selects the region and city._x005F_x000D_ Â _x005F_x000D_ Â What should you do? |
| A. | Modify the connection string to add the packet size property and set its values to 8192. |
| B. | Add the following directive to the page: OutputCache VaryByParam=? |
| C. | Add the following directive to the page: OutputCache VaryByControl=?region;city? |
| D. | Modify the connection string to keep your database's connection pool as small as possible. |
| Answer» C. Add the following directive to the page: OutputCache VaryByControl=?region;city? | |