Correct Answer: Secret
A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key so it doesn't need to be embedded in pod specifications or container imag...
Correct Answer
Secret
Why This Answer Is Correct
A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key so it doesn't need to be embedded in pod specifications or container images.
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.
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?
You are defining a ClusterRole in Kubernetes to grant read access to secrets. However, you want to ensure this role only applies to a specific Namespace rather than the entire cluster. How should you bind this role to a ServiceAccount?
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?