nerdexam
Microsoft

AZ-400 · Question #57

Drag and Drop Question Your company has a project in Azure DevOps. You plan to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The templates will refere

The correct answer is A Key Vault advanced access policy; RBAC. The correct solution requires two configurations: A Key Vault Advanced Access Policy to enable Azure Resource Manager to access the Key Vault during template deployments (specifically the 'Enable access to Azure Resource Manager for template deployment' setting), and RBAC to gran

Submitted by satoshi_tk· Mar 6, 2026Design and Implement a Secure Azure DevOps Pipeline - specifically securing secrets and managing access to Azure Key Vault during infrastructure deployments using ARM templates.

Question

Drag and Drop Question Your company has a project in Azure DevOps. You plan to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The templates will reference secrets stored in Azure Key Vault. You need to recommend a solution for accessing the secrets stored in the key vault during deployments. The solution must use the principle of least privilege. What should you include in the recommendation? To answer, drag the appropriate configurations to the correct targets. Each configuration may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-400 question #57 exhibit

Answer Area

Drag items

A Key Vault access policyA Key Vault advanced access policyRBAC

Correct arrangement

  • A Key Vault advanced access policy
  • RBAC

Explanation

The correct solution requires two configurations: A Key Vault Advanced Access Policy to enable Azure Resource Manager to access the Key Vault during template deployments (specifically the 'Enable access to Azure Resource Manager for template deployment' setting), and RBAC to grant the Azure DevOps service principal only the necessary permissions to perform the deployment - satisfying the principle of least privilege. The Advanced Access Policy is distinct from a standard Key Vault access policy because it specifically unlocks ARM template integration, which is required for referencing Key Vault secrets in ARM template parameters. A standard Key Vault access policy alone cannot enable the ARM template deployment integration, making it insufficient for this scenario.

Topics

#Azure Key Vault#Azure Resource Manager Templates#Azure DevOps Release Pipelines#Principle of Least Privilege

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice