# A GeneratingPolicy defines a NetworkPolicy inline and has evaluation.synchronize.enabled set to true. What happens when someone deletes the generated NetworkPolicy?

Kyverno, Easy (Beginner), Generation. https://k8wiz.com/uquiz/a-generatingpolicy-defines-a-networkpolicy-inline-and-has-evaluationsynchronizeenabled-set-to-true-what-happens-when-someone-del

- A. It stays deleted until the namespace is recreated
- B. Kyverno recreates it from the policy
- C. Kyverno deletes the trigger namespace as well
- D. Kyverno disables the policy and reports an error

**Answer:** Kyverno recreates it from the policy

**Explanation:** With synchronization on, the downstream resource is tied to the policy and its trigger, so Kyverno recreates a deleted downstream object and reverts manual edits to it. Without synchronization, a deleted downstream object simply stays deleted.
