# What is the purpose of a Kubernetes MutatingWebhookConfiguration?

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

- A. To modify Kubernetes resources before they are stored
- B. To mutate the state of the cluster automatically
- C. To change the behavior of the Kubernetes API server
- D. To transform log data before it's stored

**Answer:** To modify Kubernetes resources before they are stored

**Explanation:** MutatingWebhookConfiguration is an admission controller that intercepts API requests and can modify them before they are persisted. This allows for automatic modifications like adding sidecar containers, setting default values, or injecting configuration based on custom logic implemented in an external webhook.
