21.) What does a DaemonSet do?
A) Ensures one pod runs on every node
B) Creates a single backup pod
C) Launches jobs at intervals
D) Builds container images
22.) When should you use node affinity rules?
A) When nodes are behind a proxy
B) To prioritize autoscaling
C) To delete stale pods
D) To control scheduling based on node labels
23.) What command do you use to view the rollout status of a deployment?
A) kubectl rollout view
B) kubectl rollout status
C) kubectl status get
D) kubectl deployment info
24.) What is the function of kubectl taint?
A) Create a new pod
B) Label a deployment
C) Add a taint to a node
D) Restart a job
25.) How do you list all resources in a namespace?
A) kubectl all -n <namespace>
B) kubectl get all -n <namespace>
C) kubectl describe namespace <name>
D) kubectl list pods
Related