nerdexam
MicrosoftMicrosoft

AZ-400 · Question #404

AZ-400 Question #404: Real Exam Question with Answer & Explanation

Sign in or unlock AZ-400 to reveal the answer and full explanation for question #404. The question stem and answer options stay visible for context.

Submitted by noor.lb· Mar 6, 2026Develop a security and compliance plan

Question

You use release pipelines in Azure Pipelines to deploy an app. Secrets required be the pipeline are stored as pipeline variables. Logging of commands is enabled for the Azure Pipelines agent. You need to prevent the values of the secrets from being logged. What should you do?

Options

  • AStore the secrets in the environment variables instead of the pipeline variables.
  • BPass the secrets on the command line instead of in the pipeline variables.
  • CApply a prefix of secret to the name of the variables.
  • DEcho the values of the secrets to the command line.

Unlock AZ-400 to see the answer

You've previewed enough free AZ-400 questions. Unlock AZ-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AZ-400 PracticeBrowse All AZ-400 Questions