フリー問題

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

問題文

A team has one ClusterPolicy containing two validate rules. A colleague proposes splitting it into two ClusterPolicies with one rule each, arguing that this changes the enforcement behavior. Is the colleague correct, and why?

選択肢

  1. Yes. Only the first rule in a policy is evaluated unless applyRules is set, so the second rule is dead code today.
  2. Yes. Namespaced policies can override cluster-wide policies, so the split creates an override opportunity.
  3. Yes. Rules inside one policy are evaluated as a logical OR, so splitting them turns the check into a logical AND.
  4. No. A single policy with two validate rules produces the same ultimate effect as two policies each having one rule, so the split is organizational.

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

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