nerdexam
Microsoft

GH-200 · Question #87

Your organization is managing secrets using GitHub encrypted secrets, including a secret named SuperSecret. As a developer, you need to create a version of that secret that contains a different value

Sign in or unlock GH-200 to reveal the answer and full explanation for question #87. The question stem and answer options stay visible for context.

Implement and manage GitHub Actions workflows

Question

Your organization is managing secrets using GitHub encrypted secrets, including a secret named SuperSecret. As a developer, you need to create a version of that secret that contains a different value for use in a workflow that is scoped to a specific repository named MyRepo. How should you store the secret to access your specific version within your workflow?

Options

  • ACreate MyRepo_SuperSecret in GitHub encrypted secrets to specify the scope to MyRepo.
  • BCreate a duplicate entry for SuperSecret in the encrypted secret store and specify MyRepo as the
  • CCreate a file with the SuperSecret information in the .github/secrets folder in MyRepo.
  • DCreate and access SuperSecret from the secrets store in MyRepo.

Unlock GH-200 to see the answer

You've previewed enough free GH-200 questions. Unlock GH-200 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.

Topics

#GitHub Actions Secrets#Secret Scoping#Repository-level Secrets#Workflow Configuration
Full GH-200 Practice