Which two actions should you perform?
You manage a server that runs Windows Server 2008. The server has the Web Server (IIS) role
installed. The server hosts an Internet-accessible Web site that has a virtual directory named
/orders/. A Web server certificate is installed and an SSL listener has been configured for the Web
site. The /orders/ virtual directory must meet the following company policy requirements: Be
accessible to authenticated users only. Allow authentication types to support all browsers. Encrypt
all authentication traffic by using HTTPS. All other directories of the Web site must be accessible to
anonymous users and be available without SSL You need to configure the /orders/ virtual directory
to meet the company policy requirements. Which two actions should you perform? (Each correct
answer presents part of the solution. Choose two.)
Which HTTP verb should you use?
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to modify the text of a
comment.
Which HTTP verb should you use?
Which code segments should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code?
DRAG DROP
You are developing a RESTful application by using ASP.NET MVC. The application is a pet
management system and implements the following method in a controller for retrieving pet
data.
The method must only accept JSON data using the standard MIME type.
You need to implement a controller that saves pet data and return a properly formatted
HTTP/1.1 protocol response.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3 and Target 4 to
complete the code? (To answer, drag the appropriate code segments to the correct targets
in the answer area. 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 unit test should you use?
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the
DRAG DROP
You are developing an ASP.NET MVC Web API application.
The methods of the Web API must return details about the result of the operation.
You need to create methods to update and delete products.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and
Target 5 to complete the code? (To answer, drag the appropriate code segments to the
correct targets in the answer area. 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.)
You need to complete the code to meet the requirements
DRAG DROP
You are developing an ASP.NET MVC Web API image management application.
The application must meet the following requirements:
• It must send or receive image data without the use of a buffer.
• It must allow up to 4 MB of image data to be received.
• It must allow up to 3 MB of image data to be sent.
You need to complete the code to meet the requirements.
What should you do? (To answer, drag the appropriate code segments to the correct
location or locations in the answer area. 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.)
You need to configure the Web API
DRAG DROP
You are developing an ASP.NET Web API application for currency conversion that will be
consumed by a web browser by using a composite application that is served from another
web domain.
You need to configure the Web API.
What should you do? (To answer, drag the appropriate XML elements to the correct location
or locations in the answer area. Each XML element 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 settings should you use?
HOTSPOT
You are developing an ASP.NET MVC application. It is ready for deployment to the
production web server. A local SQL Express .MDF file was used by the application during
development, but the application will use are existing SQL server database in production.
There are files required by the application that are not part of the project. You must publish
the program database (PDB) files. The application was developed using IIS Express without
any special settings to be migrated.
You need to configure the web package settings for deployment.
Which settings should you use? (To answer, select the appropriate setting or settings in the
answer area.)
You need to configure the server to automatically release memory for a single Web site
You have a Windows Server 2008 R2 server that has the Web Server (IIS) server role installed. The
server hosts multiple Web sites. You need to configure the server to automatically release memory
for a single Web site. You must achieve this goal without affecting the other Web sites. What should
you do?
Where should you store the credentials?
You are developing an ASP.NET MVC application that uses forms authentication to verify
that the user is logged in.
Authentication credentials must be encrypted and secure so no user identity is exposed.
You need to ensure that user credentials are persisted after users log on.
Where should you store the credentials? (Each correct answer presents a complete solution.
Choose all that apply.)