nerdexam
Docker

DCA · Question #159

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

The correct answer is C. 64 for every service routing to pods on this node. A /26 CIDR block provides 64 total IP addresses, and since each Kubernetes pod consumes one IP, a node can theoretically support up to 64 pods from this address space.

Submitted by anjalisingh· Apr 18, 2026Networking

Question

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?

Options

  • A32
  • B32 In every Kubernetes namespace
  • C64 for every service routing to pods on this node
  • D64

How the community answered

(47 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    89% (42)
  • D
    2% (1)

Why each option

A /26 CIDR block provides 64 total IP addresses, and since each Kubernetes pod consumes one IP, a node can theoretically support up to 64 pods from this address space.

A32

32 pods would imply each pod consumes 2 IP addresses, which contradicts the Kubernetes networking model where each pod is assigned a single IP.

B32 In every Kubernetes namespace

'32 In every Kubernetes namespace' is incorrect as pod IP allocation is from the node's CIDR, not segregated per namespace, and 32 is an inaccurate number.

C64 for every service routing to pods on this nodeCorrect

A /26 CIDR block provides 64 total IP addresses. In Kubernetes, each pod is allocated a single IP address from the node's allocated pod CIDR. Therefore, a node can theoretically support up to 64 pods from its assigned /26 CIDR space if all addresses are made available for pod assignment. The number of containers within a pod does not impact the number of IP addresses a pod consumes, and the phrase 'for every service routing to pods on this node' does not alter the fundamental calculation of pod capacity from a CIDR block.

D64

While 64 pods is the correct numerical capacity based on the IP addresses, option C is presented as the correct answer despite its additional, non-standard phrasing regarding services.

Concept tested: Kubernetes pod IP allocation

Source: https://kubernetes.io/docs/concepts/cluster-administration/networking/

Topics

#Kubernetes Networking#Pod IP allocation#CIDR blocks#Services

Community Discussion

No community discussion yet for this question.

Full DCA Practice