GH-200 practice question 14 of 15

GitHub-hosted runners support which capabilities? (Choose two.)

Full set: 100 questions
Answer options
A: automatic patching of both the runner and the underlying OS Correct answer
B: automatic file-system caching between workflow runs
C: support for Linux, Windows, and mac Correct answer
D: support for a variety of Linux variations including CentOS, Fedora, and Debian
E: requiring a payment mechanism (e.g., credit card) to use for private repositories
Correct Answer:
A. automatic patching of both the runner and the underlying OS; C. support for Linux, Windows, and mac
Explanation

GitHub-hosted runners are a managed service providing clean, ephemeral virtual environments for workflow jobs. A key capability is that GitHub manages the entire environment, which includes automatically patching and updating the runner application and the underlying operating system. Another fundamental capability is the support for major operating systems, offering runners for Linux (Ubuntu), Windows, and macOS. This allows for building and testing software across different platforms. Each job runs in a fresh virtual machine, so file systems are not cached between runs by default.

Why Incorrect

B. GitHub-hosted runners provide a clean environment for every job; file-system caching is not automatic and must be explicitly configured.
D. The only Linux variation offered as a host OS for GitHub-hosted runners is Ubuntu; other distributions are not natively supported as runner images.
E. A payment mechanism is a billing requirement for usage beyond the free tier, not a technical capability of the runner itself.

References

- GitHub Docs. (n.d.). "About GitHub-hosted runners." Retrieved from https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners. This document states, "GitHub offers runners with Linux, Windows, and macOS operating systems" and explains that GitHub manages the maintenance and updates for these environments.

- GitHub Docs. (n.d.). "Using GitHub-hosted runners." Retrieved from https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources. This page lists the specific runner images available, confirming that Ubuntu is the provided Linux distribution.

Scroll to Top