KCNA Kubernetes Fundamentals Practice Question
Which TWO of the following are characteristics of a Namespace in Kubernetes?
⚠ Common exam trap
CNCF often tests the misconception that Namespaces provide built-in network isolation, but in reality, they only offer logical grouping; network segmentation requires explicit NetworkPolicy resources.
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
✓
Resource names must be unique within a namespace, but can be reused across namespaces
Option D is correct because a Kubernetes Namespace partitions a single physical cluster into multiple virtual clusters, letting teams or projects share the same underlying nodes and control plane while keeping their objects logically separated. Option C is correct because object names (for namespaced resources such as Pods, Services, and Deployments) must be unique within a given namespace, yet the same name can be reused in a different namespace since the namespace scopes the name. Option A is wrong because many Kubernetes objects are cluster-scoped and do not live in a namespace, such as Nodes, PersistentVolumes, StorageClasses, and ClusterRoles. Option B is wrong because namespaces do not provide network isolation by default; Pods in different namespaces can communicate freely unless a NetworkPolicy is applied. Option E is wrong because although deleting a namespace typically garbage-collects its contents, that is a consequence of deletion rather than a defining characteristic of a namespace, and it is not one of the two marked correct answers.
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 are required for all Kubernetes objects
Why it's wrong here
Namespaces are optional; cluster-scoped objects such as Nodes, PersistentVolumes and ClusterRoles sit outside any namespace. They are tempting because most workloads do reside in one, typically default, so the scoping feels universal. The stem asks for genuine characteristics, and mandatory placement is not one.
- ✗
Namespaces provide network isolation by default
Why it's wrong here
Namespaces scope names and provide a boundary for RBAC and resource quotas, but they do not isolate network traffic; pods in different namespaces communicate freely unless a NetworkPolicy restricts them. It is tempting because namespaces feel like separate environments, yet network isolation requires an explicit NetworkPolicy or CNI plugin.
- ✓
Resource names must be unique within a namespace, but can be reused across namespaces
Why this is correct
Namespaced object names are scoped to their namespace, so two namespaces may each contain a pod named web. Cluster-scoped resources such as nodes and PersistentVolumes are exempt, which is why the uniqueness boundary is the namespace.
- ✓
Namespaces allow multiple virtual clusters within a physical cluster
Why this is correct
Namespaces partition a single physical cluster into multiple virtual clusters, satisfying the isolation requirement in the stem. Each namespace scopes names, so identically named resources coexist without collision, and RBAC plus ResourceQuota can be applied per namespace to separate teams and limit consumption.
- ✗
Deleting a namespace deletes all objects inside it
Why it's wrong here
While it is true that deleting a namespace deletes all objects inside it, this is a behavior of namespace deletion rather than a fundamental characteristic of namespaces. Since the question asks for two characteristics, options C and D are the primary ones expected.
Go deeper
Related to this question
Learn chapter
Services and Network Connectivity
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.
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.
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.