Kubernetes and Cloud Native Associate (KCNA) — Question 6
What is the default value for authorization-mode in Kubernetes API server?
Answer options
- A. --authorization-mode=RBAC
- B. --authorization-mode=AlwaysAllow
- C. --authorization-mode=AlwaysDeny
- D. --authorization-mode=ABAC
Correct answer: B
Explanation
The correct answer, B, indicates that the default behavior for the Kubernetes API server is to allow all requests. Option A (RBAC) is a common method for managing access but is not the default. Options C and D specify denial or attribute-based access control, which are not default settings either.