# What is the purpose of a Kubernetes ValidatingWebhookConfiguration?

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

- A. To validate user credentials before allowing access to the cluster
- B. To validate webhook endpoints are functioning correctly
- C. To intercept and potentially reject API requests based on custom logic
- D. To validate that web services are properly configured

**Answer:** To intercept and potentially reject API requests based on custom logic

**Explanation:** ValidatingWebhookConfiguration is an admission controller that intercepts API requests and can reject them based on custom logic implemented in an external webhook. This allows for custom validation rules beyond what Kubernetes provides natively, such as enforcing organization-specific policies.
