nerdexam
Microsoft

AZ-400 · Question #217

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 authe

The correct answer is A. the tenant ID B. the subscription ID D. the app ID. 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 Subscription name Service principal ID Either the service principal client key or, if you have selected

Submitted by marco_it· Mar 6, 2026Design and implement build and release pipelines

Question

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.

Options

  • Athe tenant ID
  • Bthe subscription ID
  • Cthe client secret
  • Dthe app ID
  • Ethe object ID

How the community answered

(36 responses)
  • A
    81% (29)
  • C
    6% (2)
  • E
    14% (5)

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 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 For example, to deploy a web app, you would copy the name of the App Service into the WebAppName value. https://docs.microsoft.com/en-us/azure/devops/pipelines/library/connect-to-azure

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice