Categories
70-487 Dumps

70-487 Real Exam Dumps Questions and answers 41-50

Get Full Version of the Exam
http://www.EnsurePass.com/70-487.html

Question No.41

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 deploy an ASP.NET Core web application to Azure App Services. You are using Azure Event Hubs to collect the telemetry data for the application.

You need to configure Event Hubs to automatically deliver the telemetry data stream to a persistent data store.

Solution: Configure Azure Event Hubs Capture to deliver data to Azure File Service. Does the solution meet the goal?

A.

Yes

B.

No

Answer: B

Explanation/Reference:

Explanation:

Use Azure Blob storage to store the telemetry data.

References:

https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture-overview

Question No.42

You are developing an ASP.NET Core web application by using an Entity Framework code-first approach. The application uses an Azure SQL Database. The code-first migration is configured to run as part of a continuous integration build.

You must add an Azure MySQL Database. This database must use the same schema as the existing Azure SQL Database instance.

You need to configure the migration to ensure that the existing TFS build definition remains unchanged.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Use the ActiveProvider property to specify the provider to which the migration is applied.

B.

Create a new type that derives from DbContext and override the ActiveProvider object. Then, add

or apply migrations using this type.

C.

Use the Entity Framework Core Fluent API to identify database providers.

D.

Create a separate Migration Assembly than the one containing the DbContext and switch the active provider during build.

Answer: BC

Explanation/Reference:

Explanation:

https://medium.com/@rc_dos_santos/how-configure-asp-net-core-web-api-project-with-mysql- database-b7a64a247a99

Question No.43

You have a web application that was developed by using Microsoft ASP.NET MVC. The application is deployed to an Azure web app and uses an Azure SQL Database.

From a development environment, you use Microsoft Visual Studio to change the application code, and you modify the schema of the database.

You need to deploy the changes to Azure. Which publishing method should you use?

A.

BACPAC

B.

FTP

C.

Msdeploy

D.

Robocopy

Answer: A

Explanation/Reference:

Explanation:

You can deploy a .bacpac file to an Azure SQL Database using an Azure Resource Manager Template. .bacpac contains the schema and data necessary to deploy your database.

Note:

A BACPAC file is a ZIP file with an extension of BACPAC containing the metadata and data from a SQL Server database. A BACPAC file can be stored in Azure blob storage or in local storage in an on-premises location and later imported back into Azure SQL Database or into a SQL Server on-premises installation.

References:

https://docs.microsoft.com/en-us/azure/sql-database/sql-database-export

Question No.44

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 dotnet pack command Does the solution meet the goal?

A.

Yes

B.

No

Answer: B

Explanation/Reference:

Explanation:

Package the component with the NuGet pack command. References:

https://docs.microsoft.com/en-us/nuget/guides/create-net-standard-packages-vs2015

Question No.45

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. Use XCopy to deploy to the App Service.

Does the solution meet the goal?

A.

Yes

B.

No

Answer: B

Explanation/Reference:

Explanation:

You should use a Publishing Profile with Microsoft Visual Studio Publishing.

References:

https://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx

Question No.46

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 deploy an ASP.NET Core web application to Azure App Services. You are using Azure Event Hubs to collect the telemetry data for the application.

You need to configure Event Hubs to automatically deliver the telemetry data stream to a persistent data store.

Solution: Configure Event Hubs Capture to deliver data to Azure Blob storage. Does the solution meet the goal?

A.

Yes

B.

No

Answer: A

Explanation/Reference:

Explanation:

Azure Event Hubs Capture enables you to automatically deliver the streaming data in Event Hubs to an Azure Blob storage or Azure Data Lake Store account of your choice, with the added flexibility of specifying a time or size interval.

References:

https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-capture-overview

Question No.47

You have a Web.config file that contains the following markup.

image

You need to use an XSLT transformation to remove the add tag for Key3. Which markup should you use?

A.

lt;add key=quot;Key3quot; xdt: Transform=quot;Removequot; /gt;

B.

lt;add key=quot;Key3quot; xdt:Transform=quot;Removequot; xdt:Locator=quot;Match(/configuration/appSettings/add[@key=#39;Key3#39;])quot;/gt;

C.

lt;add xdt:Transform=quot;Removequot; /gt;

D.

lt;add key=quot;Key3quot; xdt:Transform=quot;Removequot; xdt:Locator=quot;Match(key)quot; /gt;

Answer: D

Explanation/Reference:

Explanation:

https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx

Question No.48

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?

A.

Yes

B.

No

Answer: B

Explanation/Reference:

Explanation:

Get FTP publishing profile and query for publish URL and credentials.

References:

https://docs.microsoft.com/en-us/azure/app-service/scripts/app-service-cli-deploy-ftp

Question No.49

You create a web application.

You deploy the application by using a Web Deploy Package.

You need to identify which setting will be created automatically in the SetParameters.xml file during the package generation.

Which three settings should you identify? Each correct answer presents part of the solution.

A.

the connection strings in the Web.config file

B.

the destination IIS web application path and name

C.

the service endpoints of the Web.config file

D.

the connection strings of any databases you add to the Package/Publish SQL tab on the Properties page of the project

E.

the application settings of the Web.config file

Answer: ABD

Explanation/Reference:

Explanation:

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/deployment/web-deployment-in-the- enterprise/configuring-parameters-for-web-package-deployment

Question No.50

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 a web application in a Docker container image. You set the tag for the image as myApp. You plan to deploy the application to Azure Container Services.

You run the following commands. All commands complete successfully.

image

You need to ensure that the image can be run on an Azure Container Service cluster. Solution: You run the following commands:

image

Does the solution meet the goal?

A.

Yes

B.

No

Answer: B

Explanation/Reference:

Explanation:

First tag the image, and the push it into your private registry.

References:

https://medium.com/@pjbgf/azure-kubernetes-service-aks-pulling-private-container-images-from- azure-container-registry-acr-9c3e0a0a13f2

Get Full Version of 70-487 Dumps

Leave a Reply

Your email address will not be published. Required fields are marked *