Google Cloud Professional Cloud Network Engineer — Question 108
You need to configure a Google Kubernetes Engine (GKE) cluster. The initial deployment should have 5 nodes with the potential to scale to 10 nodes. The maximum number of Pods per node is 8. The number of services could grow from 100 to up to 1024. How should you design the IP schema to optimally meet this requirement?
Answer options
- A. Configure a /28 primary IP address range for the node IP addresses. Configure a /25 secondary IP range for the Pods. Configure a /22 secondary IP range for the Services.
- B. Configure a /28 primary IP address range for the node IP addresses. Configure a /25 secondary IP range for the Pods. Configure a /21 secondary IP range for the Services.
- C. Configure a /28 primary IP address range for the node IP addresses. Configure a /28 secondary IP range for the Pods. Configure a /21 secondary IP range for the Services.
- D. Configure a /28 primary IP address range for the node IP addresses. Configure a /24 secondary IP range for the Pads. Configure a /22 secondary IP range for the Services.
Correct answer: D
Explanation
Option D is correct because a /28 primary IP address range provides sufficient addresses for 10 nodes, while a /24 secondary IP range for Pods allows for up to 256 Pods (32 per node), which comfortably exceeds the requirement of 80 Pods (10 nodes x 8 Pods). The /22 secondary IP range for Services supports up to 1024 services, fulfilling the upper limit. The other options do not provide enough addresses for either Pods or Services.