Courseiva
Kubernetes Fundamentals →easyMultiple Choice

KCNA Kubernetes Fundamentals Practice Question

What is the primary purpose of a Kubernetes Service?

⚠ Common exam trap

Watch out — candidates often confuse the Service's role of providing a stable network endpoint with the underlying implementation details of kube-proxy or the lifecycle management of Deployments, leading them to select options that describe other Kubernetes primitives.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

To provide a stable network endpoint for a set of pods

A Kubernetes Service provides a stable, virtual IP and DNS name that remains constant even as the underlying pods are created, destroyed, or scaled. It acts as a load balancer across a set of pods selected by labels, abstracting away the ephemeral nature of pod IPs. This enables reliable communication between components within the cluster without requiring clients to track individual pod addresses.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    To provide a stable network endpoint for a set of pods

    Why this is correct

    A Kubernetes Service supplies a stable virtual IP and DNS name that front a dynamic set of pod replicas, load-balancing traffic across them. This satisfies the stem's requirement for a consistent endpoint, since pods are ephemeral and their IP addresses change on restart or rescheduling, breaking direct client connections.

  • ✗

    To implement network routing rules on each node

    Why it's wrong here

    Routing rules on each node are handled by kube-proxy implementing Service semantics, not by the Service object itself. A Service abstracts a stable virtual IP and DNS name for load-balancing across pod endpoints, which is its primary purpose.

  • ✗

    To manage rolling updates of applications

    Why it's wrong here

    Rolling updates are managed by Deployments, which control ReplicaSets and pod replacement strategy. A Service instead gives pods a stable virtual IP and DNS name for load balancing, so it does not orchestrate update rollout.

  • ✗

    To store configuration data as key-value pairs

    Why it's wrong here

    ConfigMaps store configuration data as key-value pairs, decoupled from pod images; that is their purpose, not Service's. A Service provides a stable virtual IP and DNS name load-balancing traffic to a set of pods, which is what the question asks about.

Go deeper

Related to this question

About these practice questions

Courseiva writes every KCNA question from scratch — 930 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.