フリー問題

Kubernetes and Cloud Native Security Associate のフリー問題 9 / 20 問目

問題文

A developer needs read access to Pods in one namespace only. Which pair of RBAC objects grants exactly that?

選択肢

  1. A Role in that namespace listing the read verbs on pods, plus a RoleBinding in the same namespace that names the developer.
  2. A Role in that namespace, plus a ClusterRoleBinding that names the developer, so the grant reaches every namespace.
  3. A ClusterRole listing the read verbs on pods, plus a ClusterRoleBinding that names the developer, and the cluster-scoped binding is what makes the permission take effect.
  4. A ClusterRole carrying a deny rule for the other namespaces, so only the intended one is left open.

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

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