exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 4 question 3 discussion

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

You plan to provision a self-hosted Linux agent.
Which authentication mechanism should you use to register the self-hosted agent?

  • A. personal access token (PAT)
  • B. SSH key
  • C. Alternate credentials
  • D. certificate
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
kumardeb
Highly Voted 3 years, 11 months ago
A. personal access token (PAT)
upvoted 21 times
...
Hooters
Highly Voted 3 years, 11 months ago
Should be A. personal access token (PAT) https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
upvoted 11 times
...
nikolayivanov
Most Recent 3 months, 1 week ago
Selected Answer: A
The correct answer is: A. personal access token (PAT) Explanation: - To register a self-hosted agent in Azure DevOps, the recommended and secure way is to use a Personal Access Token (PAT). A PAT allows the agent to authenticate with Azure DevOps during the registration process, enabling secure and authorized communication. Why other options are incorrect: B. SSH key - SSH keys are commonly used for secure shell access to Linux systems or for Git authentication. They are not used for registering a self-hosted agent in Azure DevOps. C. Alternate credentials: - Alternate credentials are deprecated in Azure DevOps because they are less secure compared to using PATs. This method is no longer recommended or supported for agent registration. D. certificate: - Certificates are not a valid or supported authentication mechanism for registering a self-hosted agent in Azure DevOps.
upvoted 1 times
...
ozbonny
8 months, 1 week ago
Selected Answer: A
Correct A during the learning path it recommended to use PAT
upvoted 2 times
...
saket051985
8 months, 4 weeks ago
When provisioning a self-hosted Linux agent in Azure DevOps, you should use an SSH key for authentication to register the agent. Azure DevOps uses the SSH protocol for secure communication with the self-hosted agent.
upvoted 1 times
...
vsvaid
10 months, 2 weeks ago
Selected Answer: A
Personal Access Token
upvoted 1 times
...
Omarook
1 year, 6 months ago
Selected Answer: A
Correct
upvoted 2 times
...
Fal991l
1 year, 7 months ago
GPT: PATs are typically used to authenticate users or services to Azure DevOps resources, and are not specifically designed for registering self-hosted agents. Additionally, using a PAT for authentication would require the PAT to be stored on the machine hosting the self-hosted agent, which could potentially pose a security risk if the machine were compromised. A more secure and recommended authentication mechanism for registering a self-hosted Linux agent would be to use an SSH key. SSH keys are a common and secure way to authenticate to remote machines using public-key cryptography, and are widely supported in the Linux ecosystem. They also do not require the sharing or storage of any sensitive information like a PAT. Therefore, if given the choice, I would recommend using an SSH key as the authentication mechanism for registering a self-hosted Linux agent over a personal access token.
upvoted 1 times
xRiot007
1 year, 3 months ago
"PATs are typically used to authenticate users or services to Azure DevOps resources, and are not specifically designed for registering self-hosted agents. " - Wrong. That's exactly one of the use cases of PATs. https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/linux-agent?view=azure-devops . As for SSH, they are used to authenticate to 3rd party services, like GitHub, so that the agent can clone repos. So, to recap, you need a PAT to authenticate in DevOps and then you need a SSH for GitHub connections.
upvoted 1 times
...
Fal991l
1 year, 7 months ago
GPT:If only one option is allowed and the question specifically asks for the authentication mechanism to register a self-hosted Linux agent, and based on the available options, I would agree that choosing "personal access token (PAT)" is likely the best choice in the context of the AZ-400 exam. While using an SSH key is more secure, it's possible that the exam question may have constraints or requirements that make using an SSH key not feasible or desirable. Additionally, the use of a personal access token (PAT) is a common authentication mechanism in Azure DevOps and would align with the focus of the exam.
upvoted 1 times
...
...
meoukg
1 year, 11 months ago
saw it yesterday in my exam
upvoted 4 times
...
syu31svc
2 years, 2 months ago
Selected Answer: A
100% is A
upvoted 1 times
...
Govcomm
2 years, 3 months ago
PAT for registering the self-hosted agent.
upvoted 1 times
...
kennynelcon
2 years, 3 months ago
PAT Tested
upvoted 1 times
...
Eltooth
2 years, 5 months ago
Selected Answer: A
A is the correct answer.
upvoted 3 times
...
UnknowMan
2 years, 5 months ago
Correct
upvoted 1 times
...
rdemontis
2 years, 7 months ago
Selected Answer: A
PAT is correct https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
upvoted 2 times
Mcphyl
1 year, 10 months ago
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops#authenticate-with-a-personal-access-token-pat
upvoted 2 times
...
...
shermin1
2 years, 7 months ago
Came in exam march 13....
upvoted 3 times
...
PlumpyTumbler
2 years, 9 months ago
Selected Answer: A
Word to PAT.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago