exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 46 discussion

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

You have a project in Azure DevOps.
You plan to deploy a self-hosted agent by using an unattended configuration script.
Which two values should you define in the configuration script? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. authorization credentials
  • B. the project name
  • C. the deployment group name
  • D. the organization URL
  • E. the agent pool name
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
Madbo
Highly Voted 1 year, 7 months ago
The correct answers are A and D. A - Authorization credentials are required to authenticate the agent to the organization, and they should be defined in the unattended configuration script. D - The organization URL is also required in the unattended configuration script, as the agent must know where to connect and register with the organization.
upvoted 12 times
kay000001
1 year, 6 months ago
Amazing clarification!
upvoted 1 times
...
...
vsvaid
Most Recent 11 months, 2 weeks ago
Selected Answer: AD
Organization and Auth credentials are required for unattended config script. For credentials, there is also option to pass PAT as well https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/windows-agent?view=azure-devops#unattended-config
upvoted 4 times
...
anhtvux
1 year, 10 months ago
I thought authorization credentials should not be in a script - but it looks like the right answer
upvoted 2 times
vsvaid
11 months, 2 weeks ago
There is an option to pass PAT for credentials instead of userid / pass
upvoted 1 times
...
...
mamoon_malta2022
2 years, 3 months ago
A and D are correct options o configure an agent, it must know the URL to your organization or collection and credentials of someone authorized to set up agents. All other responses are optional. Any command-line parameter can be specified using an environment variable instead: put its name in upper case and prepend VSTS_AGENT_INPUT_. For example, VSTS_AGENT_INPUT_PASSWORD instead of specifying --password.
upvoted 1 times
...
syu31svc
2 years, 4 months ago
Selected Answer: AD
A and D are correct as supported by given link
upvoted 2 times
...
Eltooth
2 years, 6 months ago
A & D are correct. https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops#unattended-config
upvoted 3 times
...
jay158
2 years, 7 months ago
Selected Answer: AD
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops#unattended-config
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 ...