KCNA Kubernetes Fundamentals Practice Question
Which of the following is true about Kubernetes Namespaces?
⚠ Common exam trap
Many exam-takers confuse logical isolation with network isolation, assuming Namespaces automatically restrict traffic between them, when in fact they only provide a scope for naming and resource management without any built-in network segmentation.
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
✓
Namespaces are used to logically isolate resources like pods and services
Kubernetes Namespaces provide a mechanism to logically isolate resources such as Pods, Services, and Deployments within a single cluster. They enable multi-tenancy by partitioning cluster resources among multiple users or teams, each operating within their own virtual cluster. This logical isolation does not include network segmentation by default, but it allows for resource quota enforcement and access control via RBAC.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Namespaces can be nested
Why it's wrong here
Namespaces are flat, single-level constructs; Kubernetes does not support nesting one namespace inside another, and resources belong to exactly one namespace. It is tempting because hierarchical groupings exist elsewhere, such as directory trees or resource hierarchies, but Kubernetes deliberately keeps namespaces non-nested to avoid scope ambiguity.
- ✗
Namespaces are required for all resources
Why it's wrong here
Many resources, including nodes and persistent volumes, are cluster-scoped and exist outside any namespace, so namespaces are not universally required. It is tempting because most workloads are namespaced, and default namespaces are created automatically, but cluster-scoped objects demonstrate that namespace membership is optional.
- ✗
Namespaces provide network isolation by default
Why it's wrong here
Namespaces only partition API objects and names; pod-to-pod traffic flows freely across them unless a NetworkPolicy is applied. They are tempting because they organise multi-tenant workloads and support RBAC and resource quotas, which is why teams adopt them for team separation — but that separation is logical, not network-level.
- ✓
Namespaces are used to logically isolate resources like pods and services
Why this is correct
Namespaces partition cluster resources, giving pods, services and other objects a logical scope so names need only be unique within each namespace. This satisfies the stem's requirement for logical isolation, though it is not network security: traffic between namespaces still flows unless NetworkPolicies restrict it.
Quick reference
Access Control Model Comparison
| Model | Acronym | Who Controls Access? | Best For |
|---|---|---|---|
| Discretionary Access Control | DAC | Resource owner | Small teams, file shares |
| Mandatory Access Control | MAC | System / security labels | Classified govt / military |
| Role-Based Access Control | RBAC | Administrator (via roles) | Enterprise environments |
| Attribute-Based Access Control | ABAC | Policy engine (user + resource attributes) | Fine-grained, dynamic policies |
| Rule-Based Access Control | RuBAC | System rules / ACLs | Firewall rules, network ACLs |
Go deeper
Related to this question
Learn chapter
Pods and Workload 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
Courseiva writes every KCNA question from scratch — 930 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.