Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 158

You have an existing project in Azure DevOps.

You plan to integrate GitHub as the repository for the project.

You need to ensure that Azure Pipelines runs under the Azure Pipelines identity.

Which authentication mechanism should you use?

    Correct Answer: B

    To ensure that Azure Pipelines runs under the Azure Pipelines identity when integrating GitHub as the repository, the GitHub App authentication mechanism should be used. The GitHub App allows Azure Pipelines to perform builds and status updates using its own identity rather than a personal identity, providing a clear separation between personal and automated actions and enhancing security and management of access rights within the project's CI/CD processes.

Discussion
eray95Option: B

B correct answer. Initially I' m confused little but to ensure that Pipelines run using The Azure Pipelines identity clearly show the given answer is right https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml

Hooters

Seems correct as per the reference article.

27closeOption: B

Authentication type Pipelines run using Works with GitHub Checks 1. GitHub App The Azure Pipelines identity Yes 2. OAuth Your personal GitHub identity No 3. Personal access token (PAT) Your personal GitHub identity

subrata83

Got this in the Az-400 exam(Sep 27 2021)

resonantOption: A

I had a similar question to this one on my exam on September 12, 2023, but it asked something along the lines of which authentication method to use if the pipelines needs access to external services. The Github App option wasn't there (Now that I think about it, I think the question didn't mention Github at all, but I'm not sure) and I choosed the PAT token. Passed with 877.

Optimist_IndianOption: B

Got this question in Feb-2022 exam (scored 910+). Given answer is correct. Github APP.

sandyaquaOption: B

B. GitHub App The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines. After you install the GitHub App in your GitHub account or organization, your pipeline will run without using your personal GitHub identity. Builds and GitHub status updates will be performed using the Azure Pipelines identity. This allows for a clear separation between personal and automated actions, providing better security and management of access rights within your project’s CI/CD processes.

renzokuOption: B

B. GitHub App: Allows Azure Pipelines run with its own identity and access permissions when interacting with the GitHub repository. Personal Access Token (PAT), Azure Pipelines will have access to GitHub using the the permissions associated with the PAT. Azure AD, it isn't the preferred authentication mechanism for integrating GitHub repositories with Azure Pipelines. OAuth, Used to authenticate users and services with GitHub, Not ensure using the Azure Pipelines identity.

zellckOption: B

B is the answer. https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#github-app-authentication The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines.

EltoothOption: B

B is correct answer.

rsamantOption: A

A is corect Authentication type Pipelines run using Works with GitHub Checks 1. GitHub App The Azure Pipelines identity Yes 2. OAuth Your personal GitHub identity No 3. Personal access token (PAT) Your personal GitHub identity No https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml

rsamant

sorry i meant B. Github App

Art3

B is correct.

azureSkies13

The links have the info but its a long article. Look for the "Access to GitHub repositories" it has a table with details

husam421Option: B

Authentication type Pipelines run using Works with GitHub Checks 1. GitHub App The Azure Pipelines identity Yes 2. OAuth Your personal GitHub identity No 3. Personal access token (PAT) Your personal GitHub identity No

MSlaveOption: B

The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines. After you install the GitHub App in your GitHub account or organization, your pipeline will run without using your personal GitHub identity. Builds and GitHub status updates will be performed using the Azure Pipelines identity. The app works with GitHub Checks to display build, test, and code coverage results in GitHub. https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#github-app-authentication

syu31svcOption: B

https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml "The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines." Answer is B

tjeerdOption: B

On exam 20220727.

GovcommOption: B

GitHub App

rdemontisOption: B

correct answer https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml