MicrosoftMicrosoft
GH-200 · Question #19
GH-200 Question #19: Real Exam Question with Answer & Explanation
Sign in or unlock GH-200 to reveal the answer and full explanation for question #19. The question stem and answer options stay visible for context.
Implement and manage GitHub Actions workflows
Question
As a developer, your Actions workflow often reuses the same outputs or downloaded dependencies from one run to another. To cache dependencies for a job, you are using the GitHub cache action. Which input parameters are required for this action? (Each correct answer presents part of the solution. Choose two.)
Options
- Apath: the file path on the runner to cache or restore
- Bdependency: the name and version of a package to cache or restore
- Ckey: the key created when saving a cache and the key used to search for a cache
- Drestore-keys: the copy action key used with cache parameter to cache the data
- Ecache-hit: the copy action key used with restore parameter to restore the data from the cache
- Fref: the ref name of the branch to access and restore a cache created
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#Caching#Workflow optimization#Dependencies