-
A
Because autogen is on by default, the rule is also evaluated against the `Deployment` via synthesized rules targeting `Deployment` and `DaemonSet`.
Correct. Autogen is enabled by default for pod controllers (`Deployment`, `StatefulSet`, `DaemonSet`, `Job`, `CronJob`, etc.); Kyverno synthesizes additional rules so the check runs on the controller too.
-
B
The rule is only evaluated against the `Pod` itself at Pod creation time, since autogen is off unless explicitly enabled with `pod-policies.kyverno.io/autogen-controllers`.
Incorrect. Autogen is on by default; the annotation is used to narrow or disable it.
-
C
Only `Deployment` is evaluated; Kyverno does not re-check the underlying `Pod`.
Incorrect. Both the controller (via autogen) and the resulting Pod are evaluated.
-
D
Autogen only synthesizes `mutate` rules, not `validate`, so `Deployment` is ignored.
Incorrect. Autogen applies to `validate`, `mutate`, and `verifyImages` rules on pod controllers.