フリー問題

Kyverno Certified Associate のフリー問題 12 / 20 問目

問題文

Auto-generation was suppressed and the team needs Pods created by a Job controller to pass. Which expression does the documentation give?

選択肢

  1. An annotation on the policy setting autogen-controllers to the Job kind, because naming the controller in the autogen annotation is what tells Kyverno to hand the enforcement of that shape over to the generated rule instead of to the Pod rule.
  2. A PolicyException with a name wildcard covering the generated Pod names, because the hash suffix of a controller-managed Pod cannot be predicted and an exception with a wildcard is the documented mechanism for that shape of exemption.
  3. An exclude block naming the Job kind.
  4. A precondition with an AnyNotIn operator against the kinds listed in the object's owner references.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。