KCNA Kubernetes Fundamentals Practice Question
Which Kubernetes object is used to logically isolate resources within a cluster, such as for separating environments like dev and prod?
⚠ Common exam trap
Candidates often confuse Namespaces with other cluster-scoped or resource-limiting objects, mistakenly thinking a ClusterRole or ResourceQuota can provide logical isolation, when in fact Namespaces are the fundamental building block for environment separation.
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
✓
Namespace
D is correct because a Namespace is the Kubernetes object designed to logically isolate resources within a single cluster. By creating separate Namespaces for environments like dev and prod, you can apply distinct policies, quotas, and access controls without needing multiple physical clusters.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
ClusterRole
Why it's wrong here
ClusterRole grants permissions on cluster-scoped resources and is not a boundary; it cannot partition workloads. It is tempting because RBAC objects control who may access what, but isolation of dev and prod resources is achieved with Namespaces, which ClusterRoles merely reference in RoleBindings.
- ✗
ResourceQuota
Why it's wrong here
ResourceQuota caps aggregate CPU, memory and object counts inside a namespace; it enforces consumption limits, not logical separation. It is tempting because quotas are applied per namespace, so teams assume they create the boundary, but the Namespace itself provides the isolation and must exist first.
- ✗
Node
Why it's wrong here
A Node is a physical or virtual machine running workloads, not a logical boundary; it cannot separate dev from prod. Nodes are tempting because scheduling constraints such as taints and labels can influence placement, but logical isolation of resources is provided by Namespaces instead.
- ✓
Namespace
Why this is correct
Namespaces provide a logical partition within a single cluster, scoping names, resource quotas and RBAC so teams or environments like dev and prod stay isolated. They satisfy the requirement for logical resource isolation without provisioning separate clusters.
Go deeper
Related to this question
Learn chapter
Cluster Architecture and Lifecycle Management
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
This KCNA question is part of Courseiva's 930-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.