Which three values should you configure for Task1?

Posted by: Pdfprep Category: AZ-400 Tags: , ,

You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant.

You are configuring a build pipeline in Azure Pipelines that will include a task named Task1. Task1 will authenticate by using an Azure AD service principal.

Which three values should you configure for Task1? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A . the object ID
B . the tenant ID
C . the app ID
D . the client secret
E . the subscription ID

Answer: BCE

Explanation:

Create an Azure Resource Manager service connection with an existing service principal

AB: Enter the information about your service principal into the Azure subscription dialog textboxes:

Tenant ID

Subscription ID

Subscription name

Service principal ID

Either the service principal client key or, if you have selected Certificate, enter the contents of both the certificate and private key sections of the *.pem file.

D: To deploy to a specific Azure resource, the task will need additional data about that resource.

If you’re using the classic editor, select data you need. For example, the App service name.

If you’re using YAML, then go to the resource in the Azure portal, and then copy the data into your code. For example, to deploy a web app, you would copy the name of the App Service into the WebAppName value.

Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/library/connect-to-azure

Leave a Reply

Your email address will not be published.