KCNA Kubernetes Fundamentals Practice Question
Which THREE of the following are valid ways to expose a set of pods as a network service in Kubernetes?
⚠ Common exam trap
The KCNA exam often tests the distinction between workload resources (like Deployments) and networking resources (like Services and Ingresses), leading candidates to mistakenly think a Deployment alone can expose pods as a network service.
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
✓
Creating a Service of type NodePort.
A Service of type NodePort exposes the pods on a static port on each node's IP address, making the service accessible externally. This is a valid method for exposing a set of pods as a network service in Kubernetes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Creating a Service of type NodePort.
Why this is correct
Correct; NodePort exposes on a static port on each node.
- ✗
Creating a headless Service (clusterIP: None).
Why it's wrong here
Incorrect; headless services do not provide a single stable IP or load balancing.
- ✓
Creating an Ingress resource.
Why this is correct
Correct; Ingress provides HTTP/HTTPS routing to Services.
- ✗
Creating a Deployment with a label selector.
Why it's wrong here
Incorrect; Deployment manages pods, not networking.
- ✓
Creating a Service of type ClusterIP.
Why this is correct
Correct; ClusterIP provides a stable internal IP.
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 →
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.