AI-200 practice question · Develop Containerized Solutions on Azure
An AKS cluster is shared by several teams, each working in its own namespace.
An AKS cluster is shared by several teams, each working in its own namespace. The cluster administrator needs to stop any one team from claiming more than 10 CPUs and 20 GiB of memory in total across all pods in its namespace, even when each pod's own settings look reasonable. Which Kubernetes object should the administrator apply to each namespace?
- AA ResourceQuota object
- BA LimitRange object
- CResource limits in each pod spec
- DA PodDisruptionBudget object
Show the answer and explanation
Correct answer: A) A ResourceQuota object
A ResourceQuota caps the combined compute, storage and object counts across a namespace. A LimitRange and pod-spec limits apply to individual pods or containers, and a PodDisruptionBudget controls voluntary evictions.
Why each option is right or wrong
- A) Correct. A ResourceQuota is defined at the namespace level and limits total resource consumption, such as CPU, memory and pod count, across the whole namespace. If creating a resource would exceed a hard quota, the API server rejects the request.
- B) Incorrect. A LimitRange sets default (and minimum or maximum) requests and limits for individual pods or containers in a namespace. It doesn't cap the combined total of all workloads, which is what a ResourceQuota does.
- C) Incorrect. A resource limit only restricts how much CPU or memory a single container can use. Adding more pods still raises the namespace's total, so per-container limits can't enforce a namespace-wide ceiling.
- D) Incorrect. A PodDisruptionBudget limits how many pods can be evicted at the same time during voluntary disruptions, such as node drains. It doesn't limit resource consumption.
- Exam domain
- Develop Containerized Solutions on Azure · 22% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- A security-focused team is adding a Linux user node pool to an AKS Standard cluster.Develop Containerized Solutions on Azure
- A team runs a business-critical AI inference service on an AKS cluster created in the Free pricing tier.Develop Containerized Solutions on Azure
- A container app has two scale rules. An HTTP rule has concurrentRequests set to 50, and a custom azure-servicebus rule…Develop Containerized Solutions on Azure
- An AI service hosted in Azure Container Apps uses a Dapr secret store component of type secretstores.azure.keyvault.Develop Containerized Solutions on Azure
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.