Kubectl — Certified Kubernetes Administrator (CKA) Practice Questions

kubectl is the primary command-line tool for interacting with a Kubernetes cluster, used to create, inspect, modify, and delete resources as well as to run diagnostic commands. The CKA is a performance-based exam conducted entirely in a terminal, so fluency with kubectl imperative commands, the use of declarative YAML with apply, and output flags like jsonpath and wide is critical. Candidates should be comfortable using kubectl explain to look up field schemas, since it is available during the exam alongside the official documentation.

Free questions on kubectl

How would you scale a Deployment from 3 to 5 replicas using kubectl?
Free question · easy · full answer + explanation
You need to restart all pods in a namespace without deleting the Deployment. What is the best approach?
Free question · medium · full answer + explanation

More kubectl questions in the full bank

Practice Certified Kubernetes Administrator (CKA) Questions Free