nerdexam
Microsoft

AZ-400 · Question #213

You have an Azure DevOps organization named Contoso that contains a project named Project1. You provision an Azure key vault named Keyvault1. You need to reference Keyvault1 secrets in a build pipelin

The correct answer is C. Create a variable group in Project1.. Variable groups store values and secrets that you might want to be passed into a YAML pipeline or make available across multiple pipelines. You can share and use variable groups in multiple pipelines in the same project. Link an existing Azure key vault to a variable group and ma

Submitted by marco_it· Mar 6, 2026Design and implement build and release pipelines

Question

You have an Azure DevOps organization named Contoso that contains a project named Project1. You provision an Azure key vault named Keyvault1. You need to reference Keyvault1 secrets in a build pipeline of Project1. What should you do first?

Options

  • AAdd a secure file to Project1.
  • BCreate an XAML build service.
  • CCreate a variable group in Project1.
  • DConfigure the security policy of Contoso.

How the community answered

(27 responses)
  • B
    4% (1)
  • C
    93% (25)
  • D
    4% (1)

Explanation

Variable groups store values and secrets that you might want to be passed into a YAML pipeline or make available across multiple pipelines. You can share and use variable groups in multiple pipelines in the same project. Link an existing Azure key vault to a variable group and map selective vault secrets to the https://docs.microsoft.com/en-us/azure/devops/pipelines/library/variable-groups?view=azure- devops&tabs=yaml

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice