nerdexam
GoogleGoogle

PROFESSIONAL-CLOUD-DEVELOPER · Question #130

PROFESSIONAL-CLOUD-DEVELOPER Question #130: Real Exam Question with Answer & Explanation

The correct answer is B: Create a namespace for each team, and attach resource quotas to each namespace.. https://kubernetes.io/docs/concepts/policy/resource-quotas/ A resource quota, defined by a ResourceQuota object, provides constraints that limit aggregate resource consumption per namespace. It can limit the quantity of objects that can be created in a namespace by type, as well

Managing cloud-native applications

Question

You are designing a resource-sharing policy for applications used by different teams in a Google Kubernetes Engine cluster. You need to ensure that all applications can access the resources needed to run. What should you do? (Choose two.)

Options

  • ASpecify the resource limits and requests in the object specifications.
  • BCreate a namespace for each team, and attach resource quotas to each namespace.
  • CCreate a LimitRange to specify the default compute resource requirements for each namespace.
  • DCreate a Kubernetes service account (KSA) for each application, and assign each KSA to the
  • EUse the Anthos Policy Controller to enforce label annotations on all namespaces. Use taints and

Explanation

https://kubernetes.io/docs/concepts/policy/resource-quotas/ A resource quota, defined by a ResourceQuota object, provides constraints that limit aggregate resource consumption per namespace. It can limit the quantity of objects that can be created in a namespace by type, as well as the total amount of compute resources that may be consumed by resources in that namespace. https://kubernetes.io/docs/concepts/policy/limit-range/ A LimitRange is a policy to constrain the resource allocations (limits and requests) that you can specify for each applicable object kind (such as Pod or PersistentVolumeClaim) in a namespace.

Topics

#Kubernetes Resource Management#GKE Multi-tenancy#Resource Quotas#LimitRanges

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER PracticeBrowse All PROFESSIONAL-CLOUD-DEVELOPER Questions