exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 4 question 53 discussion

Actual exam question from Microsoft's AZ-400
Question #: 53
Topic #: 4
[All AZ-400 Questions]

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?

  • A. personal access token (PAT)
  • B. GitHub App
  • C. Azure Active Directory (Azure AD)
  • D. OAuth
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
eray95
Highly Voted 4 years, 7 months ago
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
upvoted 15 times
Hooters
4 years, 7 months ago
Seems correct as per the reference article.
upvoted 1 times
...
...
27close
Highly Voted 4 years, 7 months ago
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
upvoted 12 times
...
husam421
Most Recent 11 months, 2 weeks ago
Selected Answer: 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
upvoted 1 times
...
sandyaqua
1 year, 2 months ago
Selected Answer: 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.
upvoted 3 times
...
resonant
1 year, 9 months ago
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.
upvoted 5 times
...
renzoku
1 year, 10 months ago
Selected Answer: 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.
upvoted 2 times
...
zellck
2 years ago
Selected Answer: 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.
upvoted 2 times
...
MSlave
2 years, 2 months ago
Selected Answer: 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
upvoted 1 times
...
syu31svc
2 years, 10 months ago
Selected Answer: 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
upvoted 1 times
...
tjeerd
2 years, 10 months ago
Selected Answer: B
On exam 20220727.
upvoted 1 times
...
Govcomm
2 years, 10 months ago
GitHub App
upvoted 1 times
...
Eltooth
3 years ago
Selected Answer: B
B is correct answer.
upvoted 2 times
...
rdemontis
3 years, 2 months ago
Selected Answer: B
correct answer https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml
upvoted 1 times
...
Optimist_Indian
3 years, 4 months ago
Got this question in Feb-2022 exam (scored 910+). Given answer is correct. Github APP.
upvoted 4 times
...
rsamant
3 years, 8 months ago
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
upvoted 2 times
rsamant
3 years, 8 months ago
sorry i meant B. Github App
upvoted 1 times
...
Art3
3 years, 4 months ago
B is correct.
upvoted 1 times
...
...
subrata83
3 years, 8 months ago
Got this in the Az-400 exam(Sep 27 2021)
upvoted 6 times
...
azureSkies13
3 years, 9 months ago
The links have the info but its a long article. Look for the "Access to GitHub repositories" it has a table with details
upvoted 2 times
...
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.

SaveCancel
Loading ...