nerdexam
Microsoft

AZ-400 · Question #150

A team is currently using the Azure Pipeline service for the CI/CD process for an application. The Pipeline needs to make use of a secret that needs to be shared across the pipeline. How would you def

The correct answer is C. Set the secret in the pipeline editor. The ideal approach is to set the variable in the editor. https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables

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

Question

A team is currently using the Azure Pipeline service for the CI/CD process for an application. The Pipeline needs to make use of a secret that needs to be shared across the pipeline. How would you define the secret?

Options

  • AIn the YAML file, add a secret variable
  • BIn the YAML file, add a normal variable
  • CSet the secret in the pipeline editor
  • DSet the secret in the application

How the community answered

(28 responses)
  • B
    4% (1)
  • C
    93% (26)
  • D
    4% (1)

Explanation

The ideal approach is to set the variable in the editor. https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice