exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 39 discussion

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

Your company has an Azure DevOps project,
The source code for the project is stored in an on-premises repository and uses on an on-premises build server.
You plan to use Azure DevOps to control the build process on the build server by using a self-hosted agent.
You need to implement the self-hosted agent.
You download and install the agent on the build server.
Which two actions should you perform next? Each correct answer presents part of the solution.

  • A. From Azure, create a shared access signature (SAS).
  • B. From the build server, create a certificate, and then upload the certificate to Azure Storage.
  • C. From the build server, create a certificate, and then upload the certificate to Azure Key Vault.
  • D. From DevOps, create a personal access token (PAT).
  • E. From the build server, run config.cmd.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️

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
For the successful agent installing we need the PAT, question is not clear but we create PAT firstly, after that run config.cmd for agent installation Could be D and E??
upvoted 78 times
shankatna
4 years, 2 months ago
I will go with options D and E, I tested self hosted agent by creating an VM, after downloading the agent,. before executing config.sh we need to have PAT created from Azure DevOPS https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops
upvoted 8 times
...
Hooters
4 years, 7 months ago
It should be D and E
upvoted 11 times
...
Dfg2001
4 years, 7 months ago
D and E is correct. See https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops (Get PAT, run config)
upvoted 28 times
...
...
kumardeb
Highly Voted 4 years, 6 months ago
D. From DevOps, create a personal access token (PAT). E. From the build server, run config.cmd.
upvoted 18 times
...
GPRai
Most Recent 11 months, 2 weeks ago
Selected Answer: DE
I have tested this solution. For sure it is D & E.
upvoted 1 times
...
FeriAZ
1 year, 2 months ago
Selected Answer: DE
D. Personal Access Token (PAT): A PAT is the primary way for a self-hosted agent to authenticate with Azure DevOps Pipelines. E. Run config.cmd: This command is crucial for configuring the self-hosted agent. It registers the agent with your Azure DevOps organization, establishing the connection and allowing the agent to communicate with Azure DevOps Pipelines.
upvoted 2 times
...
smariussorin
2 years, 3 months ago
Selected Answer: DE
When generating the config strict, you have the option to include your PAT automatically
upvoted 2 times
...
mrg998
2 years, 4 months ago
Selected Answer: DE
Anwser is D and E. Its literally written here - https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops
upvoted 2 times
...
syu31svc
2 years, 10 months ago
Selected Answer: DE
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops 1) Authenticate with a personal access token (PAT) 2) run config.cmd D and E are the answers
upvoted 5 times
...
Eltooth
3 years ago
Selected Answer: DE
D & E are correct answers.
upvoted 3 times
...
demonite
3 years ago
Selected Answer: DE
101% DE
upvoted 2 times
...
UnknowMan
3 years, 1 month ago
Selected Answer: DE
After agent is install, we need to execute PS C:\agent> .\config.cmd and we need a PAT
upvoted 3 times
...
rdemontis
3 years, 2 months ago
Selected Answer: DE
D and E are the correct answers. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops
upvoted 2 times
...
ougullamaija
3 years, 2 months ago
Selected Answer: BE
corect is this
upvoted 2 times
...
Art3
3 years, 4 months ago
DE are correct IMO.
upvoted 1 times
...
darsh19
3 years, 5 months ago
Selected Answer: DE
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops
upvoted 4 times
...
Sandosh_N2
3 years, 6 months ago
Selected Answer: DE
D & E
upvoted 4 times
...
ChauPhan
3 years, 7 months ago
We can use either HTTPS client/server side certificates or PAT to authenticate on-premise repo and build server. However, it does not make sense for uploading the certificate to Azure, the certificate should be on on-premise servers for authentication. I go with D and E
upvoted 1 times
...
Minatodsenspei
3 years, 11 months ago
D and E definitely
upvoted 3 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 ...