KCNA Kubernetes Fundamentals Practice Question
Which TWO are valid reasons to use a Namespace in Kubernetes?
⚠ Common exam trap
CNCF often tests the misconception that Namespaces provide performance benefits or reduce API load, when in reality they are purely a logical isolation and naming boundary with no direct impact on network speed or control plane traffic.
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 enforce network policies that restrict traffic between Pods in different Namespaces.
Kubernetes NetworkPolicies are namespace-scoped resources that can restrict ingress and egress traffic between Pods in different Namespaces. By default, all Pods can communicate across Namespaces, but applying a NetworkPolicy with a podSelector and namespaceSelector allows you to enforce isolation. Option C is correct because Namespaces provide a logical boundary for resource names, preventing naming collisions when multiple teams or projects deploy objects with the same name within the same cluster.
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 enforce network policies that restrict traffic between Pods in different Namespaces.
Why this is correct
NetworkPolicies can be scoped to Namespaces to control traffic flow.
- ✗
To reduce the number of API calls to the control plane.
Why it's wrong here
Namespaces do not reduce API calls; they organize objects.
- ✓
To isolate resources and prevent naming collisions between different teams.
Why this is correct
Namespaces provide a scope for names, allowing the same name to be used in different namespaces.
- ✗
To improve application performance by reducing latency.
Why it's wrong here
Namespaces do not directly affect performance; they are a logical abstraction.
- ✗
To store environment variables for containers.
Why it's wrong here
Environment variables are stored in ConfigMaps or Secrets, not in Namespace definitions.
Go deeper
Related to this question
Learn chapter
Kubernetes Overview and Core Components
Key term
Namespaces
A Namespace in Kubernetes is a virtual cluster within a physical cluster that allows you to organize and isolate resources, like an apartment building with separate units for different tenants.
Key term
ReplicaSet and Replication
A ReplicaSet ensures a specified number of identical pod instances are running at all times in Kubernetes, using replication to maintain availability and stability.
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.