MicrosoftMicrosoft
AZ-400 · Question #546
AZ-400 Question #546: Real Exam Question with Answer & Explanation
The correct answer is A: Create a service principal.. https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/windows-agent?view=azure-
Submitted by stefanr· Mar 6, 2026Design and implement build and release pipelines
Question
You have an Azure subscription. You use Bicep templates to deploy websites and Azure SQL infrastructure. You need to automate the deployments by using Azure Pipelines and a self-hosted agent that runs on two virtual machines. The solution must minimize administrative effort. What should you do first?
Options
- ACreate a service principal.
- BCreate an Azure Automation account.
- CCreate a user-assigned managed identity.
- DOn each virtual machine, enable a system-assigned managed identity.
Explanation
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/windows-agent?view=azure-
Community Discussion
No community discussion yet for this question.