aiotestking uk

70-494 Exam Questions - Online Test


70-494 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. 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 hours. 

You need to configure the service to meet the requirements. 

What should you do? (To answer, select the appropriate code segment from each drop-

down list in the answer area.) 

Answer:  

Q2. - (Topic 5) 

You are developing an ASP.NET MVC application. 

You need to authenticate clients by using an ASP.NET membership database. 

Which authentication method should you implement? 

A. Windows 

B. Kerberos 

C. Forms 

D. Basic 

Answer:

Q3. - (Topic 4) 

Errors occasionally occur when saving data using the FlightlnfoContext ADO.NET Entity Framework context. Updates to the data are being lost when an error occurs. 

You need to ensure that data is still saved when an error occurs by retrying the operation. No more than five retries should be performed. 

With which code segment should you replace the body of the SaveChanges() method in the FlightInfoContext.cs file? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: 

EntitySqlException: Represents errors that occur when parsing Entity SQL command text. 

This exception is thrown when syntactic or semantic rules are violated. 

SqlException: The exception that is thrown when SQL Server returns a warning or error. 

This class cannot be inherited. 

EntityCommandExecutionException : Represents errors that occur when the underlying storage provider could not execute the specified command. This exception usually wraps a provider-specific exception. 

Q4. DRAG DROP - (Topic 5) 

You are developing an ASP.NET MVC application that allows users to log on by using a third-party authenticator. 

You need to configure Microsoft Azure Access Control Services and the application. 

Which five actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.) 

Answer:  

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

Q6. - (Topic 3) 

You need to ensure that all customers can delete videos regardless of their browser capability. 

Which code segment should you use as the body of the SendAsync method in the DeleteHandler class? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

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

Q8. HOTSPOT - (Topic 5) 

You are developing an ASP.NET MVC application. It is ready for deployment to the production web server. A local SQL Express .MDF file was used by the application during development, but the application will use an existing SQL server database in production. 

There are files required by the application that are not part of the project. You must publish the program database (PDB) files. The application was developed using IIS Express without any special settings to be migrated. 

You need to configure the web package settings for deployment. 

Which settings should you use? (To answer, select the appropriate setting or settings in the answer area.) 

Answer:  

Q9. DRAG DROP - (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, drag the appropriate code segment 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:  

Q10. HOTSPOT - (Topic 5) 

You are developing an ASP.NET MVC application named ContosoWebApp. You are ready 

to deploy the application to your production web server. 

You need to import the publishing profile. 

Which menu item should you use? (To answer, select the appropriate menu item in the 

answer area). 

Answer: