KCNA Kubernetes Fundamentals Practice Question
Which TWO of the following are valid uses of Kubernetes Namespaces? (Select 2)
⚠ Common exam trap
CNCF often tests the misconception that namespaces can enforce resource limits directly, when in fact ResourceQuotas and LimitRanges are the mechanisms that operate within a namespace, not the namespace itself.
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
✓
Enforcing network policies per namespace
Kubernetes NetworkPolicies are namespace-scoped resources that allow you to define ingress and egress traffic rules for pods within a specific namespace. By applying a NetworkPolicy to a namespace, you can isolate workloads from each other, controlling which pods can communicate based on labels and ports, which is a fundamental use of namespaces for security and segmentation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Setting CPU and memory limits at the namespace level
Why it's wrong here
ResourceQuotas can be set at the namespace level, but not individual CPU/memory limits; that is done at the container level.
- ✓
Enforcing network policies per namespace
Why this is correct
NetworkPolicies can be applied within a namespace to control traffic between pods.
- ✓
Providing logical separation between different environments (e.g., dev, staging, prod) within the same cluster
Why this is correct
Namespaces allow you to partition cluster resources and isolate environments.
- ✗
Isolating node resources for different workloads
Why it's wrong here
Node resources are not isolated by namespaces; namespaces provide logical separation of resources like pods and services, not nodes.
- ✗
Enabling RBAC authentication for users in a namespace
Why it's wrong here
RBAC is cluster-wide; roles and role bindings can be scoped to a namespace, but authentication is not a function of namespaces.
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
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 →
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.