70-494 Premium Bundle

70-494 Premium Bundle

Recertification for MCSD: Web Applications Certification Exam

4.5 
(17775 ratings)
0 QuestionsPractice Tests
0 PDFPrint version
November 21, 2024Last update

Microsoft 70-494 Free Practice Questions

Q1. - (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:

Q2. DRAG DROP - (Topic 5) 

You are developing a WCF service. 

You need to implement transport security by using NTLM authentication and NetTcpBindings. 

Which configuration values should you use? (To answer, drag the appropriate configuration values to the correct location or locations 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:  

Q3. - (Topic 5) 

You are developing an ASP.NET MVC application. The application is deployed in a web 

farm and is accessed by many users. 

The application must handle web server failures gracefully. The servers in the farm must 

share the short-term state information. 

You need to persist the application state during the session. What should you implement? 

A. A local database 

B. ASP.NET session state 

C. Profile properties 

D. A state server 

Answer:

Explanation: 

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

Q4. DRAG DROP - (Topic 5) 

You are developing an ASP.NET MVC application in a web farm. The application has a page that uploads a customer's photo, resizes it, and then redirects the browser to a page where the new image is displayed along with the final dimensions. 

The final dimensions should be available only to the page where the new image 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.) 

Answer:  

Q5. - (Topic 5) 

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? 

A. GET 

B. PUT 

C. DELETE 

D. POST 

Answer:

Q6. 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:  

Q7. DRAG DROP - (Topic 4) 

Historical flight information data will be stored in Windows Azure Table Storage using the 

FlightInfo class as the table entity. 

There are millions of entries in the table. Queries for historical flight information specify a set of airlines to search and whether the query should return only late flights. Results should be ordered by flight name. 

You need to specify which properties of the FlightInfo class should be used at the partition and row keys to ensure that query results are returned as quickly as possible. 

What should you do? (To answer, drag the appropriate properties to the correct location or locations in the answer area. Each property 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:  

Q8. - (Topic 1) 

You need to choose the appropriate data access technology for the children's book area of the web application. 

Which data access technology should you choose? 

A. ADO.NET Entity Framework 

B. Web Service 

C. LINQ to SQL 

D. WCF Data Services 

Answer:

Q9. - (Topic 1) 

You need to choose the appropriate data access technology for the cookbook area of the web application. Which data access technology should you choose? 

A. Entity Framework 

B. ADO.NET 

C. LINQ to SQL 

D. WCF Data Services 

Answer:

Q10. - (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 

Q11. DRAG DROP - (Topic 1) 

You need to configure the server to self-host the bookstore's Web API application. 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.) 

Answer:  

Q12. 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:  

Q13. - (Topic 5) 

You are building an ADO.NET Entity Framework application. 

You need to validate the conceptual schema definition language (CSDL), store schema definition language (SSDL), and mapping specification language (MSL) files. 

Which Entity Data Model tool can you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. ADO.NET Entity Data Model Designer 

B. EDM Generator (EdmGen.exe) 

C. Create Database Wizard 

D. Entity Data Model Wizard 

Answer: A,B 

Q14. - (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 

Q15. - (Topic 5) 

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? 

A. Store search results and page index in Session. 

B. Use QueryString to store search terms and page index. 

C. Store search results and page index in TempData. 

D. Use Application state to store search terms and page index. 

Answer:

START 70-494 EXAM