VMware Aria Automation 8.x Professional (2023) — Question 65
What Kubernetes object is used to set permissions on namespaces?
Answer options
- A. NetworkPolicy
- B. Role
- C. User
- D. ClusterRole
Correct answer: B
Explanation
The correct answer is B, Role, as it is specifically designed to define permissions within a namespace. NetworkPolicy (A) is used for controlling network traffic, User (C) is not a Kubernetes object, and ClusterRole (D) is for permissions across all namespaces, not specifically for one.