Question 507 of 997
Kubernetes FundamentalshardMultiple SelectObjective-mapped

Kubernetes Namespaces

This KCNA practice question tests your understanding of kubernetes fundamentals. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which THREE of the following are true about Kubernetes Namespaces?

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

NetworkPolicy can be used to control traffic between pods in different namespaces

B is correct because NetworkPolicy resources can define ingress and egress rules that allow or deny traffic between pods based on labels, and these rules can explicitly target pods in other namespaces using the namespaceSelector field. This enables fine-grained network segmentation across namespace boundaries, which is a common requirement for multi-tenant clusters.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • PersistentVolumes are namespaced

    Why it's wrong here

    PersistentVolumes are cluster-scoped; PersistentVolumeClaims are namespaced.

  • NetworkPolicy can be used to control traffic between pods in different namespaces

    Why this is correct

    NetworkPolicy can allow or deny traffic between namespaces when properly configured.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Nodes are namespaced resources

    Why it's wrong here

    Nodes are cluster-scoped, not namespaced.

  • You can apply ResourceQuota to limit resource consumption in a namespace

    Why this is correct

    ResourceQuota enforces aggregate resource limits per namespace.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Namespaces are used to isolate resources like Pods and Services

    Why this is correct

    Namespaces provide logical isolation for names and objects.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The exam often tests the distinction between cluster-scoped and namespaced resources, and the trap here is that candidates mistakenly think all Kubernetes resources are namespaced, when in fact Nodes, PersistentVolumes, and ClusterRoles are cluster-scoped.

Detailed technical explanation

How to think about this question

Under the hood, Kubernetes uses etcd to store all resources, and namespaced resources have a key prefix like /registry/namespaces/<namespace>/<resource>, while cluster-scoped resources like Nodes and PersistentVolumes are stored under /registry/<resource>. NetworkPolicy rules are enforced by a CNI plugin (e.g., Calico, Cilium) that programs iptables or eBPF rules on each node, and the namespaceSelector field in a NetworkPolicy spec translates to a label-based match on the namespace object itself, allowing cross-namespace traffic control without exposing pod IPs directly.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A security administrator must allow nursing staff to reach a patient records server while blocking access from the guest Wi-Fi VLAN. After applying an extended ACL, traffic is still blocked from nursing workstations. The ACL was applied outbound instead of inbound on the wrong interface. Questions like this test ACL direction and placement rules.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related KCNA practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free KCNA practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this KCNA question test?

Kubernetes Fundamentals — This question tests Kubernetes Fundamentals — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: NetworkPolicy can be used to control traffic between pods in different namespaces — B is correct because NetworkPolicy resources can define ingress and egress rules that allow or deny traffic between pods based on labels, and these rules can explicitly target pods in other namespaces using the namespaceSelector field. This enables fine-grained network segmentation across namespace boundaries, which is a common requirement for multi-tenant clusters.

What should I do if I get this KCNA question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

4 more ways this is tested on KCNA

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which THREE statements about Kubernetes Namespaces are correct?

easy
  • A.Namespaces provide a way to divide cluster resources between multiple users or teams.
  • B.All Kubernetes resources must be created within a namespace.
  • C.Namespaces provide network isolation by default.
  • D.Deleting a namespace will delete all resources in it.
  • E.Resource quotas can be applied to a namespace to limit total resource consumption.

Why A: Option A is correct because namespaces partition cluster resources into virtual sub-clusters, enabling multi-tenancy and resource isolation for different teams or users. Option D is correct because when a namespace is deleted, Kubernetes automatically removes all resources (e.g., Pods, Services) that belong to that namespace. Option E is incorrect: while resource quotas can be applied to namespaces, they are an optional feature and not an inherent property; the statement is misleading because quotas must be explicitly configured and do not limit all resource types (e.g., node resources).

Variation 2. Which TWO statements about Namespaces are correct?

medium
  • A.Namespaces provide a way to divide cluster resources among multiple users
  • B.Namespaces act as a strong security boundary by default
  • C.Namespaces help organize objects in a cluster
  • D.Every resource must be created in a namespace
  • E.Resources in different namespaces cannot communicate with each other

Why A: Option A is correct because Namespaces in Kubernetes provide a mechanism for partitioning a single cluster into multiple virtual clusters, enabling resource quota management and access control for different users or teams. This allows administrators to divide cluster resources (like CPU, memory, and storage) among multiple users via ResourceQuotas and LimitRanges, without requiring separate physical clusters.

Variation 3. Which TWO statements about Namespaces are correct?

hard
  • A.Resource names must be unique within a namespace
  • B.Namespaces provide network isolation by default
  • C.All Kubernetes resources are namespaced
  • D.Namespaces provide a way to divide cluster resources between multiple users
  • E.You can delete a namespace without affecting the resources inside it

Why A: Option A is correct because Kubernetes enforces that resource names must be unique within a namespace. This is a fundamental constraint: within a given namespace, you cannot have two resources of the same type (e.g., two Pods) with the same name. This uniqueness allows the API server to resolve resource references unambiguously when using namespaced resources.

Variation 4. Which THREE of the following statements about Kubernetes namespaces are true?

hard
  • A.Services in different namespaces cannot communicate with each other
  • B.Every Kubernetes object must be created in a namespace
  • C.Deleting a namespace will delete all objects in it
  • D.Namespaces can be used to implement resource quotas
  • E.Namespaces provide a way to divide cluster resources between multiple users

Why C: Option C is correct because deleting a namespace triggers cascading deletion of all objects within it. Option D is correct because resource quotas can be applied per namespace to limit aggregate resource consumption. Option E is not entirely accurate: namespaces provide logical isolation, but dividing cluster resources among multiple users requires additional mechanisms like RBAC and resource quotas. Without those, namespaces alone do not enforce resource division.

Keep practising

More KCNA practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.