Microsoft Developing Microsoft Azure and Web Services - 070-487무료 덤프문제 풀어보기
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?

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?

정답: D
You are supporting an application that uses the ADO.NET Entity Framework to query and access data.
The latest version of Entity Framework contains bug fixes that will improve performance.
You need to update Entity Framework.
Which Visual Studio 2012 menu item should you choose? (To answer, select the appropriate menu item in the
answer area.)

The latest version of Entity Framework contains bug fixes that will improve performance.
You need to update Entity Framework.
Which Visual Studio 2012 menu item should you choose? (To answer, select the appropriate menu item in the
answer area.)

정답:

Explanation

You are developing a Web API by using ASP.NET Core. You plan to deploy the Web API to a 5-node Service
Fabric cluster that is hosted in Azure.
You identify the following requirements:
* You must be able to debug the Web API on a local Service Fabric instance before deploying to Azure.
* The Web API must run on every node in the Service Fabric cluster when deployed to Azure.
* The Service Fabric configuration must support scaling of additional nodes.
You need to configure the Web API for local and Azure deployment.
How should you configure the environments? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Fabric cluster that is hosted in Azure.
You identify the following requirements:
* You must be able to debug the Web API on a local Service Fabric instance before deploying to Azure.
* The Web API must run on every node in the Service Fabric cluster when deployed to Azure.
* The Service Fabric configuration must support scaling of additional nodes.
You need to configure the Web API for local and Azure deployment.
How should you configure the environments? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

Explanation

InstanceCount Default value is -1 which means that DnsService is running on every node. OneBox needs this
to be set to 1 since DnsService uses well known port 53, so it cannot have multiple instances on the same
machine.
References:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-fabric-settings
You are designing a service layer endpoint named EndPoint1 that will read more than one million rows from a
database named DB1, and then update several rows in multiple tables in a database named DB2.
You need to identify a data access strategy that meets the following requirements:
* Uses the OData protocol to retrieve data from EndPoint1
* Creates a strongly typed object based on the table in BD2
* Retrieves data from DB1 as quickly as possible, while minimizing memory use on the application server
What should you identify for each requirement? To answer, drag the appropriate data access strategies to the
correct requirements. Each data access strategy 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.

database named DB1, and then update several rows in multiple tables in a database named DB2.
You need to identify a data access strategy that meets the following requirements:
* Uses the OData protocol to retrieve data from EndPoint1
* Creates a strongly typed object based on the table in BD2
* Retrieves data from DB1 as quickly as possible, while minimizing memory use on the application server
What should you identify for each requirement? To answer, drag the appropriate data access strategies to the
correct requirements. Each data access strategy 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

References:
https://docs.microsoft.com/en-us/dotnet/framework/data/wcf/wcf-data-services-overview
https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/populating-a-dataset-from-a-dataadapter
https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/retrieving-data-using-a-datareader
You manage an ASP.NET Core E-Commerce application that is deployed to Azure App Service. You plan to
use Application Insights for collecting telemetry data.
You must prepare a report that describes utilization patterns of uses. The report must include the following
information:
* the Country or Region from which users access the application
* how often and for how long users browse the catalog
* how many Canadian customers visited the offers page
* how much time Premium customers spend on the support page
* the percentage of users that added items to a shopping cart and completed purchases
You need to collect the required data.
Which tool should you use? To answer, drag the appropriate tools to the correct requirements. Each tool may
be used once, more than once, or mot 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.

use Application Insights for collecting telemetry data.
You must prepare a report that describes utilization patterns of uses. The report must include the following
information:
* the Country or Region from which users access the application
* how often and for how long users browse the catalog
* how many Canadian customers visited the offers page
* how much time Premium customers spend on the support page
* the percentage of users that added items to a shopping cart and completed purchases
You need to collect the required data.
Which tool should you use? To answer, drag the appropriate tools to the correct requirements. Each tool may
be used once, more than once, or mot 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 Geography: Users
"the Country or Region from which users access the application"
The Users panel allows you to understand important details about your users in a variety of ways. You can use
this panel to understand such information as where your users are connecting from, details of their client, and
what areas of your application they're accessing.
Box 2: Feature usage: Session
" how often and for how long users browse the catalog"
The Sessions panel is similar to the Users panel. Where Users helps you understand details about the users
accessing your application, Sessions helps you understand how those users used your application.
Box 3 Canada Offers: Cohorts
" how many Canadian customers visited the offers page"
A Cohort is a set of users grouped on similar characteristics. You can use cohorts to filter data in other panels
allowing you to analyze particular groups of users. For example, you might want to analyze only users who
completed a purchase, or users from Canada.
Box 4 Premium support: Cohorts
"how much time Premium customers spend on the support page"
A Cohort is a set of users grouped on similar characteristics. You can use cohorts to filter data in other panels
allowing you to analyze particular groups of users. For example, you might want to analyze only users who
completed a purchase, or users from Canada.
Box 5: Buyer behavior: Funnels
"the percentage of users that added items to a shopping cart and completed purchases"
Funnels focus on what you want users to do. A funnel represents a set of steps in your application and the
percentage of users who move between steps. For example, you could create a funnel that measures the
percentage of users who connect to your application who search product. You can then see the percentage of
users who add that product to a shopping cart, and then the percentage of those who complete a purchase.
You are developing a WCF service. The service will stream messages to clients on the internal network.
You must use Windows Authentication, and all messages must be binary encoded.
You need to configure the service.
What should you do? (To answer, drag the appropriate elements to the correct location or locations in the
answer area. Each 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.)

You must use Windows Authentication, and all messages must be binary encoded.
You need to configure the service.
What should you do? (To answer, drag the appropriate elements to the correct location or locations in the
answer area. Each 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

You are developing an ASP.NET MVC Web API application.
The application must meet the following requirements:
* It must send or receive data without the use of a buffer.
* It must allow up to 1 MB of data to be received.
* It must allow up to 2 MB of data to be sent.
You need to complete the code to meet the requirements.
You have the following code:

What code segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to
complete the code? (To answer, drag the appropriate code segments to the correct targets 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.)

The application must meet the following requirements:
* It must send or receive data without the use of a buffer.
* It must allow up to 1 MB of data to be received.
* It must allow up to 2 MB of data to be sent.
You need to complete the code to meet the requirements.
You have the following code:

What code segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5 and Target 6 to
complete the code? (To answer, drag the appropriate code segments to the correct targets 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

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 develop a REST API that uses Node.js. The API will store data in Azure Cosmos DB. You plan to deploy
the API to a new Azure App Services Web App. You create a new Web App by using the Azure portal.
The API must be deployed by using SFTP.
You need to provide the proper deployment credentials to deploy the API.
Solution: Use your assigned Azure Active Directory (Azure AD) credentials.
Does the solution meet the goal?
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 develop a REST API that uses Node.js. The API will store data in Azure Cosmos DB. You plan to deploy
the API to a new Azure App Services Web App. You create a new Web App by using the Azure portal.
The API must be deployed by using SFTP.
You need to provide the proper deployment credentials to deploy the API.
Solution: Use your assigned Azure Active Directory (Azure AD) credentials.
Does the solution meet the goal?
정답: B
설명: (Fast2test 회원만 볼 수 있음)
You are developing an application. You use Azure Traffic Manager lo direct traffic to two regions based on
the location of the user. You create one parent profile and three child profiles. You set the value of the
MinChildEndpoints property for each child profile to 2.
You need to configure fault tolerance for the application. Which traffic routing method should you use for
child profiles?
the location of the user. You create one parent profile and three child profiles. You set the value of the
MinChildEndpoints property for each child profile to 2.
You need to configure fault tolerance for the application. Which traffic routing method should you use for
child profiles?
정답: B
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 need to select an HTTP verb to allow blog administrators to remove a comment.
Which HTTP verb should you use?
정답: D
You are developing a web application that uses the Entity Framework.
You plan to use the table-per-type mapping strategy to store the following data.

You need to implement a mapping strategy that will store the data.
How should you complete the code? To answer, drag the appropriate methods to the correct locations. Each
method 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 plan to use the table-per-type mapping strategy to store the following data.

You need to implement a mapping strategy that will store the data.
How should you complete the code? To answer, drag the appropriate methods to the correct locations. Each
method 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: OnModelCreating
Box 2: Entity
Box 3: ToTable
Mapping an Entity Type to a Specific Table in the Database
Example:
All properties of Department will be mapped to columns in a table called t_ Department.
modelBuilder.Entity<Department>()
ToTable("t_Department");
Box 4: Entity
Box 5: ToTable
Mapping the Table-Per-Type (TPT) Inheritance
In the TPT mapping scenario, all types are mapped to individual tables. Properties that belong solely to a base
type or derived type are stored in a table that maps to that type. Tables that map to derived types also store a
foreign key that joins the derived table with the base table.
modelBuilder.Entity<Course>().ToTable("Course");
modelBuilder.Entity<OnsiteCourse>().ToTable("OnsiteCourse");
References: https://msdn.microsoft.com/en-us/library/jj591617(v=vs.113).aspx
You are developing an ASP.NET MVC Web API application.
The methods of the Web API must return details about the result of the operation.
You need to create methods to update and delete products.
You have the following code:

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 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.)

The methods of the Web API must return details about the result of the operation.
You need to create methods to update and delete products.
You have the following code:

Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 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

You have the following code.

File.xml contains the following XML markup.

You need to write code to display Item1 in the console output.
Which five code blocks should you use? Develop the solution by selecting and arranging the required code
blocks in the correct order.
NOTE: You will need all of the code blocks.


File.xml contains the following XML markup.

You need to write code to display Item1 in the console output.
Which five code blocks should you use? Develop the solution by selecting and arranging the required code
blocks in the correct order.
NOTE: You will need all of the code blocks.

정답:

Explanation

You are adding a new REST service endpoint to the FlightDataController controller. It returns flights from the
consolidated data sources only for flights that are late.
You need to write a LINQ to Entities query to extract the required data.
Which code segment should you use?

consolidated data sources only for flights that are late.
You need to write a LINQ to Entities query to extract the required data.
Which code segment should you use?

정답: B
설명: (Fast2test 회원만 볼 수 있음)
You need to modify the ExecuteCommandProcedure() method to meet the technical requirements.
Which code segment should you use?

Which code segment should you use?

정답: C