PrepAway - Latest Free Exam Questions & Answers

Category: 70-494

Exam 70-494: Recertification for MCSD: Web Applications

You need to configure the Web API

DRAG DROP
You are developing an ASP.NET Web API application that will be consumed by a web
browser via 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 code segment should you use?

You are developing an order processing application that uses the ADO.NET Entity
Framework against a SQL Server database. The application has a method that returns
orders filtered by date.
The Order class is shown below.

You must filter the data on the SQL server before it is returned to the application server.
You need to return orders more recent than the entered date.
Which code segment should you use?

You need to store state and configure the application

DRAG DROP
You are developing an ASP.NET MVC application in a web farm. The application has a page
that accepts a customer’s order, processes it, and then redirects the browser to a page
where the order is displayed along with the shipping information.
The order information should be available only to the page where the order is displayed.
You need to store state and configure the application.
What should you do? (To answer, drag the appropriate item to the correct location. Each
item 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.)

Where should you persist state information?

You are developing an ASP.NET MVC news aggregation application that will be deployed to
servers on multiple networks.
The application must be compatible with multiple browsers. A user can search the website
for news articles. You must track the page number that the user is viewing in search results.
You need to program the location for storing state information about the user’s search.

Where should you persist state information?

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.)


Page 4 of 8« First...23456...Last »