Courseiva
Kubernetes FundamentalseasyMultiple ChoiceObjective-mapped

KCNA Kubernetes Fundamentals Practice Question

Which Kubernetes resource provides a stable IP address and DNS name to access a set of pods?

⚠ Common exam trap

Many exam-takers confuse Ingress (which provides external access) with the internal stable IP/DNS abstraction provided by a Service, or they mistakenly think EndpointSlice (a newer, more scalable replacement for Endpoints) is the resource that offers a stable network identity.

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

Service

A Kubernetes Service provides a stable virtual IP address and a DNS name (e.g., my-svc.namespace.svc.cluster.local) that remains constant even as the underlying pods are created, destroyed, or scaled. This abstraction allows clients to reliably reach a set of pods without needing to track individual pod IPs, which are ephemeral. Services use label selectors to dynamically route traffic to matching pods, ensuring high availability and load balancing.

Answer analysis

Option-by-option breakdown

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

  • Ingress

    Why it's wrong here

    Ingress manages external access to services, typically HTTP.

  • EndpointSlice

    Why it's wrong here

    EndpointSlice tracks network endpoints of Services, but is not the stable endpoint itself.

  • Service

    Why this is correct

    A Service provides a stable IP and DNS name to reach a group of pods.

  • NetworkPolicy

    Why it's wrong here

    NetworkPolicy controls traffic flow, not service discovery.

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 →

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.