070-487 無料問題集「Microsoft Developing Microsoft Azure and Web Services」

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
You are developing an ASP.NET MVC application. The application is a loan processing system that uses the
ADO.NET Entity Framework against a SQL Server database. It has a controller that loads a page that displays
all loans along with rate information. Lazy loading has been disabled.
The Loan class is shown below.

You need to return the loans and rate information in a single round trip to the database.
Which code segment should you use?

A company is developing an application Thai will store various kinds of data from different sources.
You need to recommend storage solutions.
Which storage solutions should you recommend? To answer, drag the appropriate storage solutions to the
correct data type. Each storage solution 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
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).
正解:

Explanation
You are developing a new ASP.NET MVC application that does not have an existing database.
The requirements for the application are not complete, and the SQL data model will likely change.
You need to choose an approach to visually manage a data model.
Which approach should you use?

解説: (JPNTest メンバーにのみ表示されます)
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 are developing a RESTful API that uses ASP.NET Core. You plan to host the API in Azure App
Services. You provision a development environment in the application service.
Developers must be able to deploy the API to the development environment. You must not share the Azure
account credentials with developers.
You need to ensure that developers can deploy the API to the development environment.
Solution: Add the developers to the same Azure Active Directory (Azure AD) as the Azure subscription in
which the App Service is provisioned. Add the developers to the Contributors group for the Azure Storage
account in the same Resource Group as the App Service. Use Web Deploy to deploy to the App Service.
Does the solution meet the goal?

解説: (JPNTest メンバーにのみ表示されます)
You need to implement the Get() method in the bookstore Web API application to be able to find books by
using an ad hoc query.
Which method should you use?

You updating an existing multitenant ASP.NET MVC application for medical clinics. The application
aggressively uses output caching to improve performance by caching content for 36 hours. The application
uses a query string parameter named "clinicID" that contains the clinic that the user is currently viewing.
Users report that they are occasionally seeing data for the wrong clinic. Users also report that the application
seems to take a long time to return data for a specific clinic even if they have viewed it recently.
You need to configure web.config to resolve the reported problems.
You have the following markup:

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup? (To
answer, select the correct markup segment from each drop-down list in the answer area.)
正解:

Explanation

Target 1: noStore="false"
The page that has the OutputCacheProfile.NoStore property set to true issues a response specifying in its
header to prevent secondary storage of sensitive information.
Target 2: VaryByParam ="clinicID"
The VaryByParam is a semicolon-delimited set of parameters used to vary the cached output. It allows varying
the cached output by GET query string or form POST parameters. For instance, you can vary the user-control
output to the cache by specifying the user-control name along with either a query string or a form POST
parameter.
Incorrect: Not varyByControl="ClinicID"
The VaryByControl is a semicolon-delimited set of IDs of controls to be cached.
Target 3: duration=129600"
The Duration represents the time in seconds that the page or user control is cached. Setting this property
establishes an expiration policy for HTTP responses from the page or control to which it applies and will
automatically cause the caching of their output.
129600 seconds is 36 hours (60*60*36).
References:
https://msdn.microsoft.com/en-us/library/system.web.configuration.outputcacheprofile(v=vs.110).aspx
You need to perform the initial deployment of the web application. You must ensure that the application meets
the performance requirements.
Which file should you modify before you deploy the application?

解説: (JPNTest メンバーにのみ表示されます)
You are developing a WCF service.
You need to configure the web.config file to ensure that metadata is exposed only via the MEX protocol.
You have the following markup:

Which XML elements should you include in Target 1, Target 2, Target 3 and Target 4 to complete the
markup? (To answer, drag the appropriate XML elements to the correct targets in the answer area. Each XML
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.)
正解:

Explanation

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡