Master the 70-494 Recertification for MCSD: Web Applications content and be ready for exam day success quickly with this Actualtests 70-494 test questions. We guarantee it!We make it a reality and give you real 70-494 questions in our Microsoft 70-494 braindumps.Latest 100% VALID Microsoft 70-494 Exam Questions Dumps at below page. You can use our Microsoft 70-494 braindumps and pass your exam.

Q1. HOTSPOT - (Topic 5) 

You are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication. 

The application must: . Use Windows Identity Foundation 4.5. 

. Support the Windows Azure Access Control Service. 

You need to implement authentication. 

How should you build the class constructor? (To answer, select the appropriate option from the drop-down list in the answer area.) 

Answer: 


Q2. DRAG DROP - (Topic 5) 

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

Answer: 


Q3. - (Topic 3) 

You need to ensure that developers can connect to a Microsoft Azure role by using RDP. 

What should you do? 

A. Export a certificate without a private key. Upload the .cer file to the Management Certificates section on the Azure Management Portal. 

B. Export a certificate with a private key. Upload the .pfx file to the Management Certificates section on the Azure Management Portal. 

C. Export a certificate without a private key. Upload the .cer file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal. 

D. Export a certificate with a private key. Upload the .pfx file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal. 

Answer:


Q4. DRAG DROP - (Topic 5) 

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

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

Answer: 


Q5. - (Topic 5) 

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? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q6. DRAG DROP - (Topic 4) 

You need to parse flight information from Blue Yonder Airlines. The content of the XML file is shown below. 

Some airlines do not specify the timezone of the arrival time. If the timezone is not specified, then it should be interpreted per the business requirements. 

You need to implement the LoadFlights() and Parse() methods of the BlueYonderLoader class. 

What should you do? (To answer, drag the appropriate code segments to the correct location in the answer area. Each 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.) 

Answer: 


Q7. - (Topic 1) 

You are preparing to write the data access code for the children's book area of the web site. 

You need to review the requirements and identify the appropriate data access technology. 

What should you do? 

A. Use the WCF Data Services. 

B. Use a Web Service. 

C. Use ADO.NET Entity Framework. 

D. Use LINQ to SQL 

Answer:


Q8. - (Topic 5) 

You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered 

based on the category of the product in each order. The Order class is shown below. 

You need to return orders with their filtered list of order details included in a single round trip to the database. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q9. - (Topic 5) 

You develop an ASP.NET MVC application that is secured by using SSL. You are ready to 

deploy the application to production. 

The deployment package must include the installation of the SSL certificate. 

You need to configure the deployment package to meet the requirement. 

What should you do? 

A. Create a web publish pipeline target file with a custom web deploy target. 

B. In the Package/Publish settings of the project, select the All Files in this project option. 

C. Extend the CopyAllFilesToSingleFolder target in the project file. 

D. In the Build Events settings of the project, configure a pre-build event to include the SSL certificate. 

Answer:

Explanation: 

Ref: http://msdn.microsoft.com/en-us/library/vstudio/dd394698(v=vs.100).aspx 


Q10. - (Topic 3) 

The transcode.exe utility activates its license online when it is installed. 

You need to ensure that the registration of the transcode utility is handled as specified in its 

license. 

Which method should you add to the TranscodeWorkerRole class? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Topic 4, Scenario 4 

Background 

You are developing a flight information consolidation service. The service retrieves flight information from a number of sources and combines them into a single data set. The consolidated flight information is stored in a SQL Server database. Customers can query and retrieve the data by using a REST API provided by the service. 

The service also offers access to historical flight information. The historical flight information can be filtered and queried in an ad hoc manner. 

The service runs on a Microsoft Azure Web Role. SSL is not used. 

Business Requirements 

. A new data source for historical flight information is being developed by a 

contractor located on another continent. 

. If a time zone is not specified, then it should be interpreted as Coordinated 

Universal Time (UTC). 

. When you upgrade a service from a staging deployment to a production 

deployment, the time that the service is unavailable must be minimized. 

. The default port must be used for HTTP. 

Technical Requirements 

The existing sources of flight information and the mechanism of exchange are listed below. 

. Blue Yonder Airlines provides flight information in an XML file. 

. Consolidated Messenger provides flight information in a Microsoft Access database that is uploaded every 12 hours to the service using SFTP. The company uses Port 22 for SFTP. 

. Margie's Travel provides and consumes flight information using serialized ADO.NET DataSets. Data is periodically synced between the service and Margie's Travel. 

. Trey Research provides data from multiple sources serialized in proprietary binary formats. The data must be read by using .NET assemblies provided by Trey Research. The assemblies use a common set of dependencies. 

. The current version of the Trey Research assemblies is 1.2.0.0. All assemblies provided by Trey Research are signed with a key pair contained in a file named Trey.snk, which Trey Research also supplies. 

. The application specification requires that any third-party assemblies must have strong names. 

Application Structure 

FlightInfo.cs 

BlueYonderLoader.cs 

HistoricalDataLoader.cs 

MargiesTravelSync.cs 

FlightInfoContext.cs 

FlightDataController.cs 


Q11. DRAG DROP - (Topic 5) 

You are configuring a web application for deployment. 

You need to create a SetParameters.xml file to configure the IIS application pool. You have the following markup: 

Which configuration values should you include in Target 1 and Target 2 to complete the markup? (To answer, drag the appropriate configuration values to the correct targets in the answer area. Each configuration 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.) 

Answer: 


Q12. HOTSPOT - (Topic 5) 

You are developing a WCF service. 

The service must be interoperable with ASP.NET Web service clients. In addition, it must 

have a time-out of three minutes. 

You need to configure the service to meet the requirements. 

You have the following markup: 

Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down list in the answer area.) 

 

Answer: 


Q13. - (Topic 4) 

You are adding a new REST service endpoint to the FlightDataController controller that 

returns the total number of seats for each airline. 

You need to write a LINQ to Entities query to extract the required data. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q14. - (Topic 2) 

The GetExternalOrder() method in the ExternalQueueService service is throwing a runtime error. The method must query the database for a record that matches the orderNum parameter passed to the method. 

You need to modify the queryString string to retrieve the record. 

With which code segment should you replace line EQ64? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:


Q15. DRAG DROP - (Topic 2) 

The GetExternalOrders() method must use members of the EntityClient namespace to query the database for all records in the InboundQueue entity. 

You need to modify the GetExternalOrders() method to return the correct data. 

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

Answer: 

Topic 3, Scenario 3 

Background 

You are developing a video transcoding service. This service is used by customers to upload video files, convert video to other formats, and view the converted files. This service is used by customers all over the world. 

Business Requirements 

The user-facing portion of the application is an ASP.NET MVC application. It provides an interface for administrators to upload video and schedule transcoding. It also enables administrations and users to download the transcoded videos. 

When videos are uploaded, they are populated with metadata used to identify the video. The video metadata is gathered by only one system when the video upload is complete. 

Customers require support for Microsoft Internet Explorer 7 and later. 

The application contains a header that is visible on every page. 

If the logged-on user is an administrator, then the header will contain links to administrative functions. This information is read from a cookie that is set on the server. The administrative links must not be present if an error condition is present 

Technical Requirements 

User Experience: 

. The front-end web application enables a user to view a list of videos. 

. The main view of the application is the web page that displays the list of videos. 

. HTML elements other than the list of videos are changed with every request requiring the page to reload.

Compatibility: 

Some customers use browsers that do not support the HTTP DELETE verb. 

These browsers send a POST request with an HTTP header of X-Delete when the intended action is to delete.

Transcoding: 

The video transcoding occurs on a set of Microsoft Azure worker roles. 

The transcoding is performed by a third-party command line tool named transcode.exe. When the tool is installed, an Environment variable named transcode contains the path to the utility. 

A variable named license contains the license key. The license for the transcoding utility requires that it be unregistered when it is not in use. 

The transcoding utility requires a significant amount of resources. A maximum of 10 instances of the utility can be running at any one time. If an instance of the role cannot process an additional video, it must not prevent any other roles from processing that video. 

The utility logs errors to a Logs directory under the utilities path. 

A local Azure directory resource named pert is used to capture performance data.

Development: 

Developers must use Microsoft Remote Desktop Protocol (RDP) to view errors generated by the transcode.exe utility.

An x509 certificate has been created and distributed to the developers for this purpose.

Developers must be able to use only RDP and not any other administrative functions.

Application Structure 

TranscodeWorkerRole.cs 

ThumbnailGenerator.cs 

VideoController.cs 

DeleteHandler.cs

 VideoAdminAttributes.cs 

AdminVerifierFactory.cs