# What is the purpose of the 'kyverno.io/last-applied-policy' annotation?

Kyverno, Hard (Expert), Mutation. https://k8wiz.com/uquiz/what-is-the-purpose-of-the-kyvernoiolast-applied-policy-annotation

- A. To track which policy was last applied to a resource
- B. To store the last version of a policy that was applied
- C. To store the last state of a resource before a policy was applied
- D. To indicate when a policy was last applied to a resource

**Answer:** To store the last state of a resource before a policy was applied

**Explanation:** The 'kyverno.io/last-applied-policy' annotation is used to store the last state of a resource before a policy was applied. This is used for tracking changes made by policies and for potential rollback.
