Designing and Implementing Microsoft DevOps Solutions — Question 8

You have an Azure DevOps organization named Contoso, an Azure DevOps project named Project1, an Azure subscription named Sub1, and an Azure key vault named vault1.
You need to ensure that you can reference the values of the secrets stored in vault1 in all the pipelines of Project1. The solution must prevent the values from being stored in the pipelines.
What should you do?

Answer options

Correct answer: A

Explanation

Creating a variable group in Project1 allows you to reference the secrets stored in vault1 while ensuring they are not directly stored in the pipeline definitions. The other options do not provide a mechanism for referencing the secrets without exposing their values in the pipeline configuration.