GH-200 Token Practice Questions
The free GH-200: GitHub Actions questions that deal with token, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #2
As a developer, you need to use GitHub Actions to deploy a microservice that requires runtime access to a secure token. This token is used by a variety of other microservices managed by different teams in different repos. To minimize management overhead and ensure the token is secure, which mechanisms should you use to store and access the token? (Choose two.)
Select 2 answers.
Correct answer: C, E
Explanation
A central secret store such as Vault or an organization-level GitHub secret keeps a single copy of the token for every repository, minimizing overhead, and the value is injected as an environment variable at runtime.
Question #3
Which of the following scenarios requires a developer to explicitly use the GITHUB_TOKEN or github.token secret within a workflow? (Choose two.)
Select 2 answers.
Correct answer: A, B
Explanation
You must reference GITHUB_TOKEN explicitly when passing it to an action input or when making an authenticated API call. actions/checkout uses the token automatically, and permissions are set with the permissions key.
Continue with GH-200: GitHub Actions Exam
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in GH-200: GitHub Actions Exam, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
