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

CKA study material · question 24 of 1000

A Role must let a subject read Pods and their logs. Which two entries belong in the rule's resources list? Choose two.

  1. pods/exec
  2. pods
  3. pods/log
  4. logs
Show the answer

Answer: B. pods
C. pods/log

Logs are a subresource written with a slash, so both pods and pods/log are needed.

Source: Using RBAC Authorization (Kubernetes) — Referring to resources

Challenge yourself on this topic → Study as cards