KCNA Kubernetes Fundamentals Practice Question
What is the purpose of a Service in Kubernetes?
⚠ Common exam trap
Candidates often confuse the Service's role of exposing Pods with the Deployment's role of managing Pod lifecycles, leading them to pick Option B, but a Service does not handle updates or scaling—it only provides a stable network endpoint.
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 expose a set of pods as a network service with a stable endpoint
A Service in Kubernetes provides a stable network endpoint (IP address and DNS name) to access a set of Pods, which are ephemeral and can be created or destroyed dynamically. It decouples the client from the Pods' IPs by using label selectors to route traffic, enabling reliable communication within the cluster or externally. This is defined in the Kubernetes API as a Service resource, with types like ClusterIP, NodePort, and LoadBalancer.
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 persistent storage volumes
Why it's wrong here
PersistentVolumes and PersistentVolumeClaims provide storage.
- ✗
To manage rolling updates of pods
Why it's wrong here
Deployments manage rolling updates.
- ✓
To expose a set of pods as a network service with a stable endpoint
Why this is correct
This is the primary purpose of a Service.
- ✗
To store configuration data as key-value pairs
Why it's wrong here
ConfigMaps store configuration data, not Services.
Go deeper
Related to this question
About these practice questions
Courseiva writes every KCNA question from scratch — 833 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 →
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.