nerdexam
Microsoft

AZ-400 · Question #452

You have a GitHub repository that contains multiple workflows and a secret stored at the environment level. You need to ensure that the secret can be used by all the workflows. What should you do firs

The correct answer is B. Recreate the secret at the repository level.. Creating secrets at the repository level ensures that it is available to all workflows within that https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets- for-a-repository

Submitted by emma.c· Mar 6, 2026Design and implement build and release pipelines

Question

You have a GitHub repository that contains multiple workflows and a secret stored at the environment level. You need to ensure that the secret can be used by all the workflows. What should you do first?

Options

  • ARecreate the secret at the organization level.
  • BRecreate the secret at the repository level.
  • CEnable required reviewers.

How the community answered

(24 responses)
  • A
    13% (3)
  • B
    79% (19)
  • C
    8% (2)

Explanation

Creating secrets at the repository level ensures that it is available to all workflows within that https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets- for-a-repository

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice