Microsoft 070-494 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 070-494
  • Exam Name/Title: Recertification for MCSD: Web Applications
  • Certification Provider: Microsoft
  • Corresponding Certification: MCSD
  • Exam Questions: 250
  • Updated On: Sep 21, 2026
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to moderate a comment.
Which HTTP verb should you use?
Correct Answer: B Vote an answer
HOTSPOT
You are developing an ASP.NET MVC 4 application. You are using IntelliTrace to debug the application. You configure IntelliTrace as shown in the screenshot below.

To answer, make the appropriate selections in the answer area.
Correct Answer:
The GetDealPrice method must be called by using Ajax.
You need to get the price of a product by using the GetDealPrice method of the
ProductController.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)
Correct Answer: B,C Vote an answer
DRAG DROP
The GetVendorPolicy() private method in the ProcessedOrderController controller is returning a
CacheItemPolicy object with default values. The returned policy must expire if the external file located at C:\Triggers\VendorTrigger.txt has been modified or the timeout outlined in the technical requirements is reached.
You need to return the policy.
How should you build the method? (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.)
Correct Answer:
You need to ensure that new customers enter a valid email address.
Which code should you use? (Each correct answer presents part of the solution. Choose all that apply.)
Correct Answer: B,D Vote an answer
HOTSPOT
You need to ensure that only valid parameters are passed to the EditLog action.
How should you build the route? (To answer, select the appropriate options in the answer area.)

Correct Answer:
DRAG DROP
You are developing an ASP.NET Web API for a home inventory management system. You need to limit access to users with IP addresses based only in the United States. You have the following code:

Which code segments should you include in Target 1 and Target 2 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.)
Correct Answer:
The PurchaseOrders.xml file contains all of the purchase orders for the day.
You need to query the XML file for all of the billing addresses.
Which code segment should you use?
Correct Answer: B Vote an answer
DRAG DROP
You are developing a self-hosted WCF service to display data about books. The solution
contains a service named BookService that implements the IBookService interface.
You need to expose the metadata in the service host programmatically.
You have the following code:

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to build the service host? (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.)
Correct Answer:
You are developing a controller for an ASP.NET MVC application that manages message board postings.
The security protection built in to ASP.NET is preventing users from saving their HTML.
You need to enable users to edit and save their HTML while maintaining existing security protection measures.
Which code segment should you use?
Correct Answer: A Vote an answer
You are implementing a website redesign of an existing website that provides historical weather condition maps.
The current layout resembles the graphic in the exhibit. (Click the Exhibit button.)

Year selection is implemented as a set of links, which causes the page to reload when the user changes the year. The year selection HTML is contained in a div with an id of "year-selector".
You need to modify the page so that the user can change the year without the page reloading.
You also need to ensure that there is minimal change to the design of the page. Which code segment should you use?
Correct Answer: D Vote an answer
You are developing an ASP.NET MVC application to be used on the Internet. The environment uses Active Directory with delegation to access secure resources.
Users must be able to log on to the application to maintain their personal preferences.
You need to use the least amount of development effort to enable users to log on.
What should you do?
Correct Answer: A Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
HOTSPOT
You are developing a WCF service in Visual Studio 2013 that integrates with the Microsoft
Azure service bus relay.
The Azure service bus namespace is named RestaurantServiceBus
You need to obtain the issuer name and secret.
What should you do? (To answer, select the appropriate option in the answer area.)
Correct Answer:
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 a method to add 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.)
Correct Answer:
0
0
0
10