Docker Certified Associate (DCA) — Question 18
A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its address space.
If every pod on this node has exactly two containers in it, how many pods can this address space support on this node?
Answer options
- A. 32
- B. 32 in every Kubernetes namespace
- C. 64 for every service routing to pods on this node
- D. 64
Correct answer: A
Explanation
The correct answer is A. Since there are 64 unique IP addresses available and each pod uses 2 IPs (one for each container), the node can support 64 / 2 = 32 pods. Options B and C are incorrect as they misinterpret the context of namespace and service routing, while D does not account for the two containers per pod.