21.) What is a Kubernetes Namespace used for?
A) Isolating workloads
B) Assigning pod IPs
C) Mounting volumes
D) Controlling container logs
22.) What does a DaemonSet ensure in Kubernetes?
A) Multiple containers run per pod
B) One pod runs on each node
C) Volume is attached to each pod
D) Pods restart on failure
23.) What is Helm in Kubernetes?
A) A load balancer
B) A monitoring tool
C) A package manager
D) A node scheduler
24.) What does Ingress do in Kubernetes?
A) Monitor pod logs
B) Schedule containers
C) Manage internal networking
D) Control external access to services
25.) Which is the correct command to apply a configuration file?
A) kubectl create -f config.yaml
B) kubectl add config.yaml
C) kubectl apply -f config.yaml
D) kubectl install config.yaml
26.) What is a Secret in Kubernetes?
A) A hidden pod
B) A log file
C) A secure object to store sensitive data
D) A container policy
27.) What file format is typically used for Kubernetes configurations?
A) JSON only
B) YAML only
C) YAML or JSON
D) XML
28.) What is the role of kube-proxy?
A) Handles pod security
B) Manages container runtime
C) Maintains network rules and traffic routing
D) Monitors cluster performance
29.) Which Kubernetes component handles health checks and liveness probes?
A) kube-scheduler
B) kubelet
C) etcd
D) controller-manager
30.) What does a Deployment manage in Kubernetes?
A) Only pod restarts
B) Persistent storage
C) ReplicaSets and update strategies
D) Network policies
Related