問題1
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to maintain data integrity including retrieving identical sets across reads in all situations that use
transactions.
Which isolation level should you use?
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to maintain data integrity including retrieving identical sets across reads in all situations that use
transactions.
Which isolation level should you use?
正確答案: D
說明:(僅 NewDumps 成員可見)
問題2
You have a Microsoft Visual Studio project named Project1 that is deployed as an Azure web app. The Azure
web app uses an Azure SQL Database.
You plan to deploy updates to the Azure web app by using a Web Deploy Package.
The password for the Azure SQL Database was changed since you first published the Azure web app.
You need to deploy the package by using Windows PowerShell.
Which file should you modify before running the PowerShell deployment script?
You have a Microsoft Visual Studio project named Project1 that is deployed as an Azure web app. The Azure
web app uses an Azure SQL Database.
You plan to deploy updates to the Azure web app by using a Web Deploy Package.
The password for the Azure SQL Database was changed since you first published the Azure web app.
You need to deploy the package by using Windows PowerShell.
Which file should you modify before running the PowerShell deployment script?
正確答案: B
問題3
You are developing the following applications. All applications will be hosted in Azure and data will be stored
using Azure storage.

All data must be stored using the binary large object (blob) hot storage tier.
You need to select the blob storage type for each application.
Which blob storage types should you use? To answer, drag the appropriate blob types to the correct
applications. Each blob type 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.
NOTE: Each correct selection is worth one point.

You are developing the following applications. All applications will be hosted in Azure and data will be stored
using Azure storage.

All data must be stored using the binary large object (blob) hot storage tier.
You need to select the blob storage type for each application.
Which blob storage types should you use? To answer, drag the appropriate blob types to the correct
applications. Each blob type 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.
NOTE: Each correct selection is worth one point.

正確答案:

Explanation

Box 1 Logging: append blob
An append blob is comprised of blocks and is optimized for append operations. When you modify an append
blob, blocks are added to the end of the blob only, via the Append Block operation.
Box 2 VM Manager: block blob
Block blobs let you upload large blobs efficiently.
Box 3: Accounting: page blob
Page blobs are a collection of 512-byte pages optimized for random read and write operations.
References:
https://docs.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-bl
問題4
You need to ensure that computed events are processed correctly.
What should you do?
You need to ensure that computed events are processed correctly.
What should you do?
正確答案: D
說明:(僅 NewDumps 成員可見)
問題5
You need to build the connection from ReportApp to read the search data. The solution must minimize
development effort.
Which three 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.

You need to build the connection from ReportApp to read the search data. The solution must minimize
development effort.
Which three 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.

正確答案:

Explanation

References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-queues-topics-subscriptions
問題6
ReportApp will shut down every night. However, data from the searches performed during the night must still
be collected.
You need to identify the return types for the car year, price, brand and model. The solution must minimize the
number of round trips between the clients and the web servers.
What should you identify? To answer, drag the appropriate return types to the correct objects. Each return type
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.

ReportApp will shut down every night. However, data from the searches performed during the night must still
be collected.
You need to identify the return types for the car year, price, brand and model. The solution must minimize the
number of round trips between the clients and the web servers.
What should you identify? To answer, drag the appropriate return types to the correct objects. Each return type
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.

正確答案:

Explanation

Note: A round trip occurs when an object is deserialized and re-serialized in one operation.
From scenario: The application will provide users with the ability to search for a car by using advanced
filtering options, such as the car brand, model, year, and price. All of this information will be stored as strings
and will be displayed as drop-down lists.
The brand and model lists that will be displayed on the home page of the web application will be retrieved
from Windows Communication Foundation (WCF) services hosted in the on-premises environment.
Target 1: Task<String>
Though Performance blocking and Sluggishness are the tailbacks for any application, we can easily overcome
these bottlenecks by using asynchronous programming. But old-style practice for asynchronous programming
is not way easy enou
Target 2: Task<String>
Target 3: String
Target 4: String
References: https://rashimuddin.wordpress.com/2013/05/07/task-based-asynchronous-operation-in-wcf/
問題7
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.)

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

正確答案:

Explanation
Airline
Flight
問題8
You deploy a RESTful ASP.NET Web API to manage order processing.
You are developing an Azure App Services Web App to consume the API and allow customers to order
products. You use the HttpClient object to process order entries. The API throws SocketException errors when
the Web App experiences a high volume of concurrent users.
You need to resolve the errors.
What should you do?
You deploy a RESTful ASP.NET Web API to manage order processing.
You are developing an Azure App Services Web App to consume the API and allow customers to order
products. You use the HttpClient object to process order entries. The API throws SocketException errors when
the Web App experiences a high volume of concurrent users.
You need to resolve the errors.
What should you do?
正確答案: B
說明:(僅 NewDumps 成員可見)
問題9
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)

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)

正確答案: A,D
問題10
You need to configure the server to self-host the bookstore's Web API application.
Which code segment should you use?

You need to configure the server to self-host the bookstore's Web API application.
Which code segment should you use?

正確答案: D
說明:(僅 NewDumps 成員可見)
問題11
You are developing a .NET application that uses the HttpClient type to access an ASP.NET Web API
application.
You need to add a header to specify that data is returned as JSON. 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)

You are developing a .NET application that uses the HttpClient type to access an ASP.NET Web API
application.
You need to add a header to specify that data is returned as JSON. 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)

正確答案:

Explanation

問題12
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to remove a comment.
Which HTTP verb should you use?
You are designing an ASP.NET Web API application.
You need to select an HTTP verb to allow blog administrators to remove a comment.
Which HTTP verb should you use?
正確答案: B
問題13
Note: This question is part of a series of questions that present the same scenario. Each question in the
series contains a unique solution that might meet the stated goals. Some question sets might have more
than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these
questions will not appear in the review screen.
You have developed a .NET Standard Library.
You need to produce a NuGet package.
Solution: Run the msbuild command with the pack target specified.
Does the solution meet the goal?
Note: This question is part of a series of questions that present the same scenario. Each question in the
series contains a unique solution that might meet the stated goals. Some question sets might have more
than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these
questions will not appear in the review screen.
You have developed a .NET Standard Library.
You need to produce a NuGet package.
Solution: Run the msbuild command with the pack target specified.
Does the solution meet the goal?
正確答案: A
說明:(僅 NewDumps 成員可見)
問題14
You are developing an ASP.NET Web API to process customer and product data that is stored in separate
Azure SQL Database instances. The API will use the latest versions of the .NET Framework and ADO.NET to
access and modify data.
Connection stings for the customer and product databases are stored in string variables named
connectionStringCustomers and connectionStringProducts, respectively. The API must elastic database
transactions.
You need to implement the distributed transaction.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You are developing an ASP.NET Web API to process customer and product data that is stored in separate
Azure SQL Database instances. The API will use the latest versions of the .NET Framework and ADO.NET to
access and modify data.
Connection stings for the customer and product databases are stored in string variables named
connectionStringCustomers and connectionStringProducts, respectively. The API must elastic database
transactions.
You need to implement the distributed transaction.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正確答案:

Explanation


References:
https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/distributed-transactions