# What is the purpose of a Kubernetes PriorityClass?

Kubernetes, Hard (Expert), Concepts. https://k8wiz.com/uquiz/what-is-the-purpose-of-a-kubernetes-priorityclass

- A. To set the priority of API requests
- B. To determine the order in which pods are scheduled and evicted
- C. To prioritize certain nodes for workloads
- D. To set the priority of log messages

**Answer:** To determine the order in which pods are scheduled and evicted

**Explanation:** PriorityClass defines the priority of a pod relative to other pods. When pods are created, they can be assigned a priority, and the scheduler uses this priority to determine the order of scheduling. Higher-priority pods are scheduled before lower-priority pods and can preempt lower-priority pods when resources are constrained.
