フリー問題

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

問題文

A pattern must forbid a field from being present at all. Which anchor does this, and what value does the documentation recommend?

選択肢

  1. The negation anchor, with the value set to the quoted word null.
  2. The equality anchor, with the value set to an empty string in the pattern.
  3. A plain field with the value null, because a pattern field whose value is null requires that the field not be defined and no anchor is therefore involved.
  4. The existence anchor with an inverted value, because forbidding presence is the logical complement of requiring at least one occurrence and the same anchor covers both directions.

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

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