Study. uk . com
  1. Home
  2. All questions
  3. Question 935

CKA study material · question 935 of 1000

An audit policy's first rule sets level None for a resource, and a later rule sets RequestResponse for the same resource. What is recorded?

  1. Nothing, because the first matching rule wins
  2. The request and response bodies, because the stricter rule wins
  3. Metadata only, as a compromise
  4. The policy is rejected as contradictory
Show the answer

Answer: A. Nothing, because the first matching rule wins

Events are compared against the rules in order and the first match sets the audit level, so rule ordering decides the outcome entirely.

Source: Auditing (Kubernetes) — Audit policy

Challenge yourself on this topic → Study as cards