Secrets Scoping and Access Quiz

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

Quiz covering Manage Encrypted Secrets and Variables

What you'll be asked

  1. Which level of GitHub Actions secrets is best suited for sharing a single API key across multiple repositories within the same organization?
  2. When using environment-level secrets, what is a primary benefit of configuring a 'Required reviewers' policy for that environment?
  3. If a repository secret and an organization secret share the same name, which secret takes precedence during a workflow run?
  4. You have a workflow that needs to access a secret only when deploying to the 'production' environment. How should you configure this?
  5. A developer is troubleshooting a workflow that fails to access an organization-level secret. Which of the following is the most likely cause if the secret exists and is correctly named?

Answers and explanations come after you submit.