Courseiva
Kubernetes FundamentalsmediumMultiple SelectObjective-mapped

KCNA Kubernetes Fundamentals Practice Question

Which two of the following are valid ways to expose a set of Pods to external traffic?

⚠ Common exam trap

A common misconception is that an Ingress resource can function without an underlying Service, but Ingress only provides routing and must point to a Service to reach Pods.

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

Create a Service of type NodePort

A Service of type NodePort exposes each Pod's port on a static port (the NodePort) on every node's IP address, allowing external traffic to reach the Pods via <NodeIP>:<NodePort>. This is a valid method for exposing a set of Pods to external traffic 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.

  • Create a Service of type NodePort

    Why this is correct

    NodePort exposes the Service on each node's IP at a static port.

  • Use a ConfigMap to expose the Pods

    Why it's wrong here

    ConfigMap does not expose network endpoints.

  • Create an Ingress resource without a Service

    Why it's wrong here

    Ingress requires a Service backend.

  • Create a Service of type LoadBalancer

    Why this is correct

    LoadBalancer provisions an external load balancer.

  • Create a Service of type ClusterIP

    Why it's wrong here

    ClusterIP is only reachable within the cluster.

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 →

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.