Correct Answer: Use a RoleBinding within the specific Namespace
Binding a ClusterRole with a RoleBinding restricts its permissions to the namespace of the RoleBinding, preventing cluster-wide access....
Correct Answer
Use a RoleBinding within the specific Namespace
Why This Answer Is Correct
Binding a ClusterRole with a RoleBinding restricts its permissions to the namespace of the RoleBinding, preventing cluster-wide access.
This question evaluates your knowledge of Kubernetes Security — a core concept tested in cloud certification exams. Understanding Kubernetes Security is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.
To securely store and inject passwords, API keys, or certificates into a Pod, which Kubernetes resource should you use?
Which Kubernetes concept acts as an identity for processes that run in a Pod, giving them access to the Kubernetes API?
How can you restrict Pod communication so that 'frontend' pods can only talk to 'backend' pods on port 8080?
A pod needs to run with root privileges to perform system-level diagnostics. To prevent this pod from running on other nodes with unrestricted capabilities, you want to enforce that all pods in a namespace do not run as root. Which resource should you implement?