フリー問題

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

問題文

A rule must validate every container image in a Pod against a registry prefix, including init containers. Which construct does the documentation recommend, and what does the pattern inside it reference?

選択肢

  1. A preconditions block with an AllIn operator over the flattened list of images.
  2. A single pattern with a wildcard container name.
  3. A foreach declaration with one entry per list, whose pattern references the attributes of element directly rather than the full path.
  4. A verifyImages rule with an imageReferences pattern, because registry validation belongs to the image verification path.

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

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