Environment Level Secrets Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Manage Encrypted Secrets and Variables

What you'll be asked

  1. Where can you define environment-level secrets in a GitHub repository?
  2. If a workflow references an environment that does not exist, what happens when the workflow runs?
  3. Which of the following is a primary benefit of using environment-level secrets over repository-level secrets?
  4. When using environment protection rules, what happens if a required reviewer does not approve the deployment?
  5. A workflow has both repository-level secrets and environment-level secrets with the same name. Which value takes precedence if the job specifies an environment?

Answers and explanations come after you submit.