GH-100 practice question 4 of 15

You are using GitHub-hosted runners and need to securely deploy to an internal system. The security team requires that these runners use IP address ranges that would not be shared with other companies. Which of the following approaches would meet their requirements?

Full set: 65 questions
Answer options
A: GitHub-hosted larger runners with Azure private networking
B: GitHub-hosted standard runners, using the IP addresses provided in "actions" from https://api.github.com/meta
C: GitHub-hosted standard runners, using the IP addresses provided in "api" from https://api.github.com/meta
D: GitHub-hosted larger runners with static IP addresses Correct answer
Correct Answer:
D. GitHub-hosted larger runners with static IP addresses
Explanation

GitHub-hosted runners that are configured with static IP addresses allocate a /28 block (max 10 addresses) that is reserved exclusively for a single enterprise account. All outbound traffic from jobs that target this runner group originates only from that private block, so no other GitHub customer can share, reuse, or be seen from those addresses. This satisfies the security team’s request for “IP address ranges that would not be shared with other companies.”

Why Incorrect

A. Azure private-network runners sit inside the customer’s VNet and generally use RFC-1918 private space; these addresses cannot be allow-listed from outside the VNet and do not provide unique public ranges for firewall rules.
B. The “actions” ranges returned by https://api.github.com/meta are used by every GitHub-hosted runner worldwide; they are explicitly shared among all customers.
C. The “api” ranges are for calls to GitHub’s REST API, not for runner job traffic; they are shared and irrelevant for firewall allow-listing of deployment targets.

References

1. GitHub Docs – “About GitHub-hosted runners with static IP addresses”

Features > IP address allocation

para 2 (2024-05-06).

2. GitHub Docs – “About the IP addresses used by GitHub-hosted runners”

section “actions key”

para 1 (2024-04-29).

3. GitHub Docs – “Azure private networking for GitHub-hosted runners (preview)”

limitations section

para 3 (2024-02-15).

Scroll to Top