Home » [Free] Get all latest Microsoft 70-492 Actual Tests 111-120

[Free] Get all latest Microsoft 70-492 Actual Tests 111-120

Ensurepass

QUESTION 111

You need to regenerate the service proxies to include task-based asynchronous method signatures. Which command should you use?

 

A.

aspnet_regiis.exe /t:code http://localhost:62965/UploadCallbackService.svc

B.

svcutil.exe /t:code http://localhost:62965/UploadCallbackService.svc

C.

aspnet_compiler.exe /t:code http://localhost:62965/UploadCallbackService.svc

D.

aspnet_regiis.exe /t:code http://localhost:62965/UploadService.svc

E.

svcutil.exe /t:code http://localhost:62965/UploadService.svc

 

Correct Answer: B

Explanation:

http://msdn.microsoft.com/en-us/library/aa347733.aspx

 

 

QUESTION 112

The DeleteExternalOrder() method in the ExternalQueueService service is not throwing a FaultException exception as defined by the FaultContractAttribute attribute in the IExternatQueueService.cs file. You need to throw the FaultException exception. Which code segment can you insert at line EQ45 to achieve this goal? (Each correct answer presents a complete solution. Chose all that apply.)

 

clip_image002

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

QUESTION 113

DRAG DROP

You need to modify the ExecuteCommandProcedure() method to meet the technical requirements. Which code segment should you use?

 

clip_image004

 

Correct Answer:

clip_image006

 

 

QUESTION 114

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

 

A.

Remove the OrderNum property in InboundQueue.

B.

Remove the OrderNum property in QueueDetail.

C.

Set the QueueDetail BaseType to InboundQueue.

D.

Remove the association between the entities.

E.

Right-click the entities and validate the table mapping.

F.

Set the InboundQueue BaseType to QueueDetail.

 

Correct Answer: BCDE

Explanation:

http://www.robbagby.com/entity-framework/entity-framework-modeling-table- per-type-inheritance/

 

 

Case Study 5, Flight Information Consolidation

 

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 Windows Azure Web Role. SSL is not used.

 

Business Requirements

clip_image008A new data source for historical flight information is being developed by a contractor located on another continent.

clip_image008[1]If a time zone is not specified, then it should be interpreted as Coordinated Universal Time (UTC).

clip_image008[2]When you upgrade a service from a staging deployment to a production deployment, the time that the service is unavailable must be minimized.

clip_image008[3]The default port must be used for HTTP.

 

Technical Requirements

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

 

clip_image008[4]Blue Yonder Airlines provides flight information in an XML file.

clip_image008[5]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.

clip_image008[6]Margie’s Travel provides and consumes flight information using serialized ADO.NET DataSets.

clip_image008[7]Data is periodically synced between the service and Margie’s Travel.

clip_image008[8]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.

clip_image008[9]The application specification requires that any third-party assemblies must have strong names.

 

clip_image009

clip_image011

clip_image012

 

clip_image013

 

 

QUESTION 115

The assemblies provided by Trey Research must be merged into a single assembly. You need to merge the assemblies provided by Trey Research and meet the application specification. What should you do?

 

A.

Use the ILMerge.exe tool to merge the Trey Research assemblies without stipulating a key pair.

B.

In the post-build event, use the Assembly Linker (al.exe) tool to sign the application’s primary output assembly with the Trey.snk key pair.

C.

Use the sn.exe tool to generate a key pair file named TreyVendor.snk. Use the ILMerge.exe tool to merge the assemblies provided by Trey Research. Use the Assembly Linker (al.exe) tool to sign the application’s primary output assembly with the TreyVendor.snk key pair.

D.

Use the ILMerge.exe tool to merge the assemblies provided by Trey Research, and then stipulate the output must be signed with the Trey.snk key pair.

 

Correct Answer: D

 

 

QUESTION 116

HOTSPOT

You need to deploy the application to the Windows Azure production environment to meet the business requirements. What should you do? (To answer, select the appropriate button in the answer area.)

 

clip_image015

 

Correct Answer:

clip_image017

 

 

QUESTION 117

DRAG DROP

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

 

clip_image019

 

Correct Answer:

clip_image021

 

 

QUESTION 118

DRAG DROP

The service has been deployed to Windows Azure. Trey Research has provided version 1.3.0.0 of the assembly to support a change in the serialization format. The service must remain available during the transition to the new serialization format. You need to ensure that the service is using the new assembly. Which configuration setting should you add to the web.config? (To answer, drag the appropriate configuration elements to the correct location or locations in the answer area. Each configuration element 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.)

 

clip_image023

 

Correct Answer:

clip_image025

 

 

QUESTION 119

Errors occasionally occur when saving data using the FlightInfoContext 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.es file?

 

clip_image027

clip_image028

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

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.

 

 

QUESTION 120

Data provided by Consolidated Messenger is cached in the HttpContext.Cache object. You need to ensure that the cache is correctly updated when new data arrives. What should you do?

 

A.

Ensure that the EffectivePrivateBytesLimit value is greater than the size of the database file,

B.

Use the CacheDependency type configured to monitor the SFTP target folder.

C.

Change the sliding expiration of the cache item to 12 hours.

D.

Use the SqlCacheDependency type configured with a connection string to the database file.

 

Correct Answer: B

 

Instant Access to Download Testing Software & PDF File for Microsoft 70-492 Real Exam

Instant Access to Try Microsoft 70-492 Free Demo

HOT EXAM!

Name of author

Name: admin