MicrosoftMicrosoft
GH-200 · Question #48
GH-200 Question #48: Real Exam Question with Answer & Explanation
Sign in or unlock GH-200 to reveal the answer and full explanation for question #48. The question stem and answer options stay visible for context.
Author and Maintain Workflows
Question
As a developer, you need to leverage Redis in your workflow. What is the best way to use Redis on a self-hosted Linux runner without affecting future workflow runs?
Options
- AInstall Redis on the hosted runner image and place it in a runner group. Specify label: in your job
- BSet up Redis on a separate machine and reference that instance from your job.
- CSpecify container: and services: in your job definition to leverage a Redis service container.
- DAdd a run step to your workflow, which dynamically installs and configures Redis as part of your
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 services#Self-hosted runners#Workflow dependencies#Container usage