CKA Practice Question: Cluster Architecture, Installation & Configuration
This CKA practice question tests your understanding of cluster architecture, installation & configuration. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
Exhibit
Refer to the exhibit.
Error from server: error when creating "pod.yaml": pods "my-pod" is forbidden: exceeded quota: compute-quota, requested: limits.cpu=2, used: limits.cpu=1, limited: limits.cpu=2
A user tries to create a pod with the YAML file that requests 2 CPUs as a limit. The cluster has a ResourceQuota named 'compute-quota' with limits.cpu: 2. The user sees the above error. What is the likely issue?
Refer to the exhibit.
Error from server: error when creating "pod.yaml": pods "my-pod" is forbidden: exceeded quota: compute-quota, requested: limits.cpu=2, used: limits.cpu=1, limited: limits.cpu=2
A
The pod is requesting 2 CPUs as a request, but the quota limits requests.
Why wrong: The error says limits.cpu.
B
The pod is being created in the wrong namespace.
Why wrong: The error does not indicate a namespace mismatch.
C
The pod is trying to use more CPU than the node capacity.
Why wrong: The error is about ResourceQuota, not node capacity.
D
The current total CPU limit usage in the namespace is 1, and adding a pod with limit 2 would exceed the quota of 2.
The quota allows a total of 2, and 1 is already used, leaving only 1 available.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The current total CPU limit usage in the namespace is 1, and adding a pod with limit 2 would exceed the quota of 2.
Option D is correct because the ResourceQuota 'compute-quota' sets a hard limit of 2 CPUs for all pods in the namespace. If the current total CPU limit usage is already 1, adding a new pod with a limit of 2 would bring the total to 3, exceeding the quota. Kubernetes enforces ResourceQuota at admission time, rejecting the pod creation to prevent the namespace from exceeding its configured limits.
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.
✗
The pod is requesting 2 CPUs as a request, but the quota limits requests.
Why it's wrong here
The error says limits.cpu.
✗
The pod is being created in the wrong namespace.
Why it's wrong here
The error does not indicate a namespace mismatch.
✗
The pod is trying to use more CPU than the node capacity.
Why it's wrong here
The error is about ResourceQuota, not node capacity.
✓
The current total CPU limit usage in the namespace is 1, and adding a pod with limit 2 would exceed the quota of 2.
Why this is correct
The quota allows a total of 2, and 1 is already used, leaving only 1 available.
Related concept
Read the scenario before looking for a memorised answer.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates confuse ResourceQuota enforcement with node capacity or scheduling constraints, but the error is specifically an admission-level quota violation, not a resource shortage on any node.
Detailed technical explanation
How to think about this question
ResourceQuota in Kubernetes is an admission controller that evaluates resource requests and limits against the namespace's aggregated usage before the pod is persisted in etcd. The quota's limits.cpu field tracks the sum of all pod CPU limits in the namespace; if the new pod would cause the total to exceed the quota, the API server returns a 403 Forbidden error. This is distinct from node-level resource constraints, which are evaluated later by the scheduler based on node allocatable capacity.
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 practitioner preparing for the CKA exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this CKA question in full detail.
Cluster Architecture, Installation & Configuration — This question tests Cluster Architecture, Installation & Configuration — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The current total CPU limit usage in the namespace is 1, and adding a pod with limit 2 would exceed the quota of 2. — Option D is correct because the ResourceQuota 'compute-quota' sets a hard limit of 2 CPUs for all pods in the namespace. If the current total CPU limit usage is already 1, adding a new pod with a limit of 2 would bring the total to 3, exceeding the quota. Kubernetes enforces ResourceQuota at admission time, rejecting the pod creation to prevent the namespace from exceeding its configured limits.
What should I do if I get this CKA 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 →
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.
This CKA 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 CKA exam.
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.
Sign in to join the discussion.