SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
KCNA · Domain 2

Container Orchestration practice questions

Container Orchestration is worth 28% of the KCNA exam — the 2nd-heaviest of the 4 domains. Networking, security, troubleshooting, and storage for orchestrated workloads. Official weighting 28%. 6 fully worked examples are further down this page, answers included.

Exam weight
28%
the 2nd-heaviest of the 4 domains
Questions
80
across 4 topics
Free, no account
5/day
sign up free to remove the cap
Explanations
Every option
right and wrong

Build a practice session

5 free questions left today.

Domains

How many?

Mode

Ready when you are

10 fresh questions drawn across 1 of 4 domains, in Learn mode.

Focused review

Every question you answer incorrectly, and every question you flag while practising, is saved here automatically. Finish a session and you can come back to re-drill just those.

6 sample Container Orchestration questions, fully explained

Questions from the KCNA bank mapped to domain 2, with the answer key and the reasoning behind every option. None of them repeat the examples on the main KCNA practice page.

Question 1Container Orchestration

Which Service type is used by default when a Kubernetes Service is created without explicitly specifying a type?

Choose one.

  • a
    NodePort

    NodePort must be explicitly requested; it is not the default type.

  • b
    LoadBalancer

    LoadBalancer must be explicitly requested and typically depends on cloud provider integration; it is not the default.

  • c
    ClusterIP Correct

    ClusterIP is the default Service type, giving the Service a stable, internally reachable virtual IP.

  • d
    ExternalName

    ExternalName is a special-purpose type for CNAME mapping and must be set explicitly; it is not the default.

The concept

Kubernetes Services default to internal-only exposure unless a different type is requested.

Why that’s the answer

When the type field is omitted on a Service manifest, Kubernetes defaults to ClusterIP, which allocates an internal virtual IP reachable only from within the cluster.

How to reason it out
  1. Recall that the Service spec.type field is optional.
  2. Recall Kubernetes' default behavior for an omitted type field.
  3. Confirm ClusterIP as the internal-only default, distinct from NodePort, LoadBalancer, and ExternalName which all require explicit configuration.

Exam tip: If you do not set spec.type, a Service is a ClusterIP Service, internal to the cluster only.

Kubernetes Networking: Services, kube-proxy, CNI, DNS, and Ingress — the lesson that teaches this.

Question 2Container Orchestration

What port range does Kubernetes use to expose NodePort Services on every node?

Choose one.

  • a
    30000-32767 Correct

    This is the default NodePort range reserved by Kubernetes for exposing Services on a static high port across every node.

  • b
    1024-49151

    This describes the general registered/dynamic TCP port range, not the specific range Kubernetes reserves for NodePort.

  • c
    8080-9090

    This is a common application port range in examples, not the Kubernetes NodePort allocation range.

  • d
    20000-29999

    This range is not used by Kubernetes for NodePort allocation.

The concept

NodePort Services reserve a static port from a defined high-port range on every cluster node.

Why that’s the answer

Kubernetes' default NodePort range is 30000-32767, and a NodePort Service opens the same port number on every node, forwarding to the Service's backing Pods.

How to reason it out
  1. Recall that NodePort builds on top of ClusterIP by additionally opening a port on every node.
  2. Recall the default reserved range configured on the API server for NodePort allocation.
  3. Match 30000-32767 as the correct default range.

Exam tip: NodePort Services use a high port, by default 30000-32767, opened identically on every node.

Kubernetes Networking: Services, kube-proxy, CNI, DNS, and Ingress — the lesson that teaches this.

Question 3Container Orchestration

How does a LoadBalancer Service typically expose an application in a cloud environment?

Choose one.

  • a
    It bypasses kube-proxy and sends traffic directly to Pod IPs from the internet

    Traffic still flows through the cluster's Service routing (kube-proxy-programmed rules or the NodePort), it does not bypass it.

  • b
    It provisions a cloud load balancer that forwards external traffic to a NodePort it creates automatically Correct

    A LoadBalancer Service builds on NodePort: the cloud provider's controller provisions an external load balancer that targets the automatically allocated NodePort on each node.

  • c
    It only works within the cluster and cannot be reached externally

    The entire purpose of LoadBalancer is external exposure; an internal-only Service would be ClusterIP.

  • d
    It replaces the need for a ClusterIP entirely

    A LoadBalancer Service still receives its own ClusterIP in addition to the external load balancer address; it does not remove ClusterIP.

The concept

LoadBalancer Services layer a cloud provider's external load balancer on top of the NodePort mechanism.

Why that’s the answer

When a Service is type LoadBalancer, Kubernetes allocates a NodePort as usual, and a cloud-integration controller provisions an external load balancer that forwards traffic to that NodePort across the nodes.

How to reason it out
  1. Recall the layering: ClusterIP is the base, NodePort adds a per-node port, LoadBalancer adds a cloud LB on top of NodePort.
  2. Rule out the option claiming direct Pod IP exposure from the internet, which skips the Service layer entirely.
  3. Rule out the option claiming LoadBalancer is internal-only, which contradicts its purpose.
  4. Confirm LoadBalancer still carries a ClusterIP underneath.

Exam tip: LoadBalancer Services are NodePort Services with an external cloud load balancer layered on top.

Kubernetes Networking: Services, kube-proxy, CNI, DNS, and Ingress — the lesson that teaches this.

Question 4Container Orchestration

What is the effect of setting clusterIP: None on a Kubernetes Service?

Choose one.

  • a
    The Service is disabled and stops routing traffic entirely

    The Service remains fully functional; it simply skips allocating a virtual cluster IP.

  • b
    The Service is automatically converted into a NodePort Service

    Setting clusterIP: None does not change the Service's type; it only removes the virtual IP allocation.

  • c
    The Service can no longer be resolved by DNS

    A headless Service is still resolvable by DNS, it just returns Pod IPs instead of a single Service virtual IP.

  • d
    The Service becomes headless, and DNS queries for its name return the individual Pod IPs directly Correct

    clusterIP: None creates a headless Service; instead of a single virtual IP, DNS returns the actual IPs of the matching, ready Pods.

The concept

Headless Services skip virtual IP allocation so clients can discover individual Pod IPs directly, useful for stateful workloads.

Why that’s the answer

clusterIP: None instructs Kubernetes not to assign a virtual cluster IP; CoreDNS then answers queries for the Service name with the IPs of the individual backing Pods instead of one shared IP.

How to reason it out
  1. Recall that a normal ClusterIP Service load-balances behind a single virtual IP.
  2. Recall that clusterIP: None removes that virtual IP allocation, producing a headless Service.
  3. Confirm that DNS resolution for a headless Service returns the set of Pod IPs directly.

Exam tip: clusterIP: None makes a Service headless, DNS returns individual Pod IPs instead of one virtual IP.

Kubernetes Networking: Services, kube-proxy, CNI, DNS, and Ingress — the lesson that teaches this.

Question 5Container Orchestration

What is the purpose of an ExternalName Service in Kubernetes?

Choose one.

  • a
    It load-balances traffic across Pods matching a label selector

    Load-balancing across selected Pods is what ClusterIP, NodePort, and LoadBalancer Services do; ExternalName does not select Pods at all.

  • b
    It exposes a Service on a static port on every node in the cluster

    Opening a static port on every node describes NodePort, not ExternalName.

  • c
    It restricts a Service so it can only be reached from inside the cluster

    ExternalName is about redirecting cluster-internal DNS lookups to an outside name, not about restricting internal-only access.

  • d
    It creates a DNS CNAME record that maps the Service name to an external DNS name Correct

    ExternalName Services have no selector or Pod IPs; they simply return a CNAME pointing at an external hostname when queried.

The concept

ExternalName Services provide an in-cluster DNS alias for an external hostname, with no Pod selection or proxying involved.

Why that’s the answer

An ExternalName Service maps its name to an externalName value via a CNAME DNS record, so in-cluster clients can use a stable internal name that resolves to an external service.

How to reason it out
  1. Recall that ExternalName Services have no selector and no Endpoints/EndpointSlices.
  2. Rule out load-balancing and static-node-port behaviors, which belong to other Service types.
  3. Confirm the CNAME redirection behavior as the defining feature of ExternalName.

Exam tip: ExternalName gives Pods a stable internal DNS name that actually resolves, via CNAME, to something outside the cluster.

Kubernetes Networking: Services, kube-proxy, CNI, DNS, and Ingress — the lesson that teaches this.

Question 6Container Orchestration

Which Kubernetes object tracks the current set of Pod IP addresses and readiness status backing a Service?

Choose one.

  • a
    ConfigMap

    ConfigMaps store non-sensitive configuration data; they have no role in tracking Service backends.

  • b
    EndpointSlice Correct

    EndpointSlices track the network endpoints (Pod IPs plus readiness) that back a Service, and are updated automatically as Pods come and go.

  • c
    NetworkPolicy

    NetworkPolicy defines allowed traffic rules for Pods; it does not track which Pods back a Service.

  • d
    Ingress

    Ingress defines HTTP routing rules to Services; it does not itself track Pod-level Service backends.

The concept

EndpointSlices are the mechanism Kubernetes uses to record which Pods currently back a given Service.

Why that’s the answer

As Pods matching a Service's label selector are created, become ready, or are removed, the EndpointSlice controller keeps the corresponding EndpointSlice objects updated with the current, ready Pod IPs.

How to reason it out
  1. Recall that a Service selects Pods by label, but needs somewhere to record the resulting IPs.
  2. Recall that EndpointSlices (the successor to the older Endpoints object) hold that list, split into slices for scalability.
  3. Rule out ConfigMap, NetworkPolicy, and Ingress, none of which track Pod backend membership.

Exam tip: EndpointSlices are the live record of which Pod IPs currently back a Service.

Kubernetes Networking: Services, kube-proxy, CNI, DNS, and Ingress — the lesson that teaches this.

What KCNA domain 2 tests, topic by topic

The official exam guide breaks Container Orchestration into 4 topics. The question bank follows the same split, so a weak topic shows up as a cluster of misses you can go back and read.

Published KCNA practice questions per topic in Container Orchestration
TopicWhat it coversQuestions
NetworkingOfficial KCNA competency (Container Orchestration). The Kubernetes networking model: Pod-to-Pod networking, Services and kube-proxy, cluster DNS, the Container Network Interface (CNI), Ingress, and network policies.20
SecurityOfficial KCNA competency. Cloud-native and Kubernetes security basics: the 4Cs of cloud-native security, RBAC and service accounts, Secrets, and the container, network, and policy security surface.20
TroubleshootingOfficial KCNA competency. Diagnosing workloads and clusters: reading Pod status and events, kubectl logs / describe / exec, and identifying common failure modes across Pods, Services, and nodes.20
StorageOfficial KCNA competency. Kubernetes storage: Volumes, PersistentVolumes and PersistentVolumeClaims, StorageClasses and dynamic provisioning, and the Container Storage Interface (CSI).20
Total80

Revise Container Orchestration before you drill it

Other KCNA domains

Container Orchestration: your questions

Container Orchestration is domain 2 of the KCNA exam guide and carries 28% of the scored content — the 2nd-heaviest of the 4 domains. On a 60-question paper that works out to roughly 17 questions, though CNCF does not publish an exact per-domain count and individual exam forms vary.

Source

The domain weight and topic list on this page come from the official KCNA exam guide.