Which code segment should you use?
You are developing an ASP.NET MVC web application for viewing a photo album. The application is
designed for devices that support changes in orientation, such as tablets and smartphones. The
application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a description.
The HTML that creates the gallery interface resembles the following markup.
If this CSS is omitted, the existing CSS displays the tiles in landscape mode.
You need to update the portrait mode CSS to apply only to screens with a width less than 500 pixels.
Which code segment should you use?
Which data store should you use?
You are designing a distributed banking application that handles multiple customers. A user may log
on to the site to perform activities such as checking balances, performing transactions, and other
activities that must be done securely.
The application must store secure information that is specific to an individual user. The data must be
automatically and securely purged when the user logs off.
You need to save transient information in a secure data store.
Which data store should you use?
You need to disable request validation
You are developing an ASP.NET MVC application.
The application must allow users to enter HTML in a feedback text box only.
You need to disable request validation.
What should you do?
Which tool should you use?
You are developing an ASP.NET MVC application that supports multiple cultures and multiple
languages. The application will be sold to international customers.
The ASP.NET MVC application must store localized content in satellite assemblies for multiple
languages.
You need to generate the satellite assemblies during an automated build.
Which tool should you use?
Which command‐line tool should you use?
You are preparing for the deployment of an ASP.NET MVC application. You need to generate a
deployment manifest.
Which command‐line tool should you use?
You need to enable users to select multiple orders and submit them for processing
DRAG DROP
You are developing an ASP.NET MVC application. The application has a view that displays a list of
orders in a multi‐select list box.
You need to enable users to select multiple orders and submit them for processing.
What should you do? (To answer, drag the appropriate words to the correct targets. Each word may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)
Which code segments should you include in Target 1, Target 2 and Target 3…?
DRAG DROP
You are developing an ASP.NET MVC application.
Before an action is executed, information about the action must be written to a log. After results are
returned, information about the results also must be written to the log.
You need to log the actions and results.
You have the following code:
Which code segments should you include in Target 1, Target 2 and Target 3 to implement the
LogActionFilter class? (To answer, drag the appropriate code segments to the correct targets. Each
code segment may be used once, more than once, or not at all. You may need to drag the split bar
between panes or scroll to view content.)
Which code segment should you use?
You are developing an ASP.NET MVC application.
The application provides a RESTful API for third‐party applications. This API updates the information
for a contact by embedding the information in the URL of an HTTP POST.
You need to save the Contact type when third‐party applications use the EditContact method.
Which code segment should you use? {Each correct answer presents a complete solution. Choose all
that apply.)
You need to improve the optimization of the site
HOTSPOT
You are optimizing an Internet‐facing website for search engine optimization.
You are reading a Site Analysis Report from the SEO Toolkit. The report returns warnings that
indicate the website HTML lacks key information necessary for search engine indexing.
You need to improve the optimization of the site.
What should you do? (To answer, select the appropriate option from the drop‐down list in the
answer area.)
Which ADO.NET data access strategy should you use?
You are designing a data‐oriented application that features a variety of storage schemas.
The application object model must be mapped to the various storage schemas.
You need to enable developers to manipulate the data.
Which ADO.NET data access strategy should you use? (Each correct answer presents a complete
solution. Choose all that apply.)