Microsoft Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications - 070-492 Exam Practice Test
The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternalQueueService.cs file. You need to throw the FaultException exception. Which code segments can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply)


Correct Answer: A,C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
DRAG DROP
You need to configure the Windows Azure service definition to enable Consolidated Messenger to upload files. What should you do? (To answer, drag the appropriate configuration items to the correct location or locations. Each configuration 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.)
Select and Place:

You need to configure the Windows Azure service definition to enable Consolidated Messenger to upload files. What should you do? (To answer, drag the appropriate configuration items to the correct location or locations. Each configuration 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.)
Select and Place:

Correct Answer:

Explanation:

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.)
Select and Place:

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.)
Select and Place:

Correct Answer:

Explanation:

You need to ensure that the transcode.exe utility is installed before the worker role starts. How should you implement the startup task? (To answer, drag the appropriate values to the correct element or attribute. Each value 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.)
Select and Place:

Select and Place:

Correct Answer:

Explanation:

You are developing a WCF service. A new service instance must be created for each client session. You need to choose an instancing mode. Which instance mode should you use?
Correct Answer: C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
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?

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?
Correct Answer: C
Vote an answer
You need to implement the mobile device support requirements.
How should you build the ProcessRequest method? (To answer, select the appropriate options in the
answer area.)
Hot Area:

How should you build the ProcessRequest method? (To answer, select the appropriate options in the
answer area.)
Hot Area:

Correct Answer:

Explanation:

You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple
cultures.
The application contains three resource files in the Resources directory:
ProductDictionary.resx
ProductDictionary.es.resx
ProductDictionary.fr.resx Each file contains a public resource named Currency with the localized currency symbol. The application is configured to set the culture based on the client browser settings. The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.)

You need to set ViewBag.LocalizedCurrency to the localized currency contained in the resource files. Which code segment should you add to the action at line 03?
cultures.
The application contains three resource files in the Resources directory:
ProductDictionary.resx
ProductDictionary.es.resx
ProductDictionary.fr.resx Each file contains a public resource named Currency with the localized currency symbol. The application is configured to set the culture based on the client browser settings. The application contains a controller with the action defined in the following code segment. (Line numbers are included for reference only.)

You need to set ViewBag.LocalizedCurrency to the localized currency contained in the resource files. Which code segment should you add to the action at line 03?
Correct Answer: D
Vote an answer
Transformed historical flight information provided by the RemoteDataStream() method must be written to the response stream as a series of XML elements named Flight within a root element named Flights. Each Flight element has a child element named FlightName that contains the flight name that starts with the two-letter airline prefix. You need to implement the StreamHistoricalFlights() method so that it minimizes the amount of memory allocated. Which code segment should you use as the body of the StreamHistoricalFlights() method in the HistoricalDataLoader.cs file?


Correct Answer: B
Vote an answer
The QueueDetail entity type must inherit from the InboundQueue entity type in the ExternalQueue service project using table-per-type inheritance. You need to modify the entities in the designer. What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
Correct Answer: A,C,D,E
Vote an answer