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?
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
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
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
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.
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.
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.
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.
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
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
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
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
eray95
Highly Voted 4 years, 7 months agoHooters
4 years, 7 months ago27close
Highly Voted 4 years, 7 months agohusam421
Most Recent 11 months, 2 weeks agosandyaqua
1 year, 2 months agoresonant
1 year, 9 months agorenzoku
1 year, 10 months agozellck
2 years agoMSlave
2 years, 2 months agosyu31svc
2 years, 10 months agotjeerd
2 years, 10 months agoGovcomm
2 years, 10 months agoEltooth
3 years agordemontis
3 years, 2 months agoOptimist_Indian
3 years, 4 months agorsamant
3 years, 8 months agorsamant
3 years, 8 months agoArt3
3 years, 4 months agosubrata83
3 years, 8 months agoazureSkies13
3 years, 9 months ago