Questions
- True or false – ABAC is the preferred method of authorizing access to Kubernetes clusters.
A. True
B. False
- What are the three components of a Role?
A. Subject, noun, and verb
B. Resource, action, and group
C.
apiGroups
, resources, and verbsD. Group, resource, and sub-resource
- Where can you go to look up resource information?
A. Kubernetes API reference
B. The library
C. Tutorials and blog posts
- How can you reuse Roles across namespaces?
A. You can't; you need to re-create them.
B. Define a ClusterRole and reference it in each namespace as a RoleBinding.
C. Reference the Role in one namespace with the RoleBindings of other namespaces.
D. None of the above.
- How should bindings reference users?
A. Directly, listing every user.
B. RoleBindings should only reference service accounts.
C. Only ClusterRoleBindings should reference users.
D. Whenever possible, RoleBindings and ClusterRoleBindings should reference groups.
- True or false – RBAC can be used...