KCNA Kubernetes Fundamentals Practice Question
You want to expose a set of pods running on node port 30080 to external traffic. Which Service type should you use?
⚠ Common exam trap
Many exam-takers confuse NodePort with LoadBalancer, thinking a cloud load balancer is required for external access, but NodePort directly exposes a static port on the node's IP without any cloud dependency.
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
✓
NodePort
(NodePort) is correct because a NodePort service exposes the application on a static port (30080) on each node's IP address, making it accessible from outside the cluster via <NodeIP>:30080. This is the appropriate choice when you need to expose pods to external traffic using a specific port number without requiring a cloud load balancer.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ExternalName
Why it's wrong here
ExternalName maps to an external DNS name.
- ✗
LoadBalancer
Why it's wrong here
A LoadBalancer provisions an external cloud load balancer with a dynamically assigned port, but the scenario requires exposing pods on the fixed node port 30080, which a LoadBalancer cannot guarantee. It is tempting because LoadBalancer is designed for production external traffic with automatic scaling and health checks, and would be correct if the requirement were to use a cloud provider’s load balancer rather than a specific node port.
- ✓
NodePort
Why this is correct
NodePort opens a static port on each node's IP.
- ✗
ClusterIP
Why it's wrong here
ClusterIP is only accessible within the cluster.
Go deeper
Related to this question
About these practice questions
One of 833 original KCNA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.