Advanced Kubernetes Security Essentials: Mastery Quiz
A deep dive into advanced security practices for Kubernetes environments.
Questions in this quiz
10 questions on Advanced Kubernetes Security Essentials: Mastery Quiz. Work through them here, then start the quiz to answer them and see your score.
1.What is the primary purpose of Kubernetes Network Policies?
- ATo control traffic flow between pods
- BTo provide persistent storage
- CTo enforce resource quotas
- DTo manage pod scheduling
2.Which Kubernetes feature can be used to prevent containers from running as root?
- APod Security Policies
- BNetwork Policies
- CIngress Controllers
- DResource Quotas
3.In Kubernetes, what is the role of RBAC (Role-Based Access Control)?
- ATo control access to the API server
- BTo define network policies
- CTo manage pod replicas
- DTo schedule pods on nodes
4.Which of the following is a best practice for securing Kubernetes secrets?
- AStoring them in environment variables
- BUsing ConfigMaps
- CEncrypting them at rest
- DHardcoding them in application code
5.What is the function of the Kubernetes Admission Controller?
- ATo manage service discovery
- BTo schedule pods on nodes
- CTo validate and modify requests to the API server
- DTo authenticate users
6.Which component is responsible for ensuring that containers are running in a Kubernetes cluster?
- AKubectl
- BEtcd
- CKube-proxy
- DKubelet
7.How does Kubernetes ensure that a container is running with the least privileges?
- ABy using Pod Security Policies
- BBy enabling horizontal pod autoscaling
- CBy setting resource limits
- DBy using ConfigMaps
8.What is the purpose of Kubernetes Secrets?
- ATo manage pod replicas
- BTo define network policies
- CTo store configuration data
- DTo store sensitive information securely
9.Which Kubernetes component is responsible for maintaining the desired state of the cluster?
- AKube-scheduler
- BKube-controller-manager
- CKube-proxy
- DKube-apiserver
10.What is the role of the Kubernetes API Server in cluster security?
- ATo act as the central management point for the cluster
- BTo provide a user interface
- CTo manage storage volumes
- DTo schedule pods on nodes