Container Spec — Certified Kubernetes App Developer (CKAD) Practice Questions
The container spec is the section within a pod manifest that defines everything about a single running container, including its image, command, arguments, environment, ports, volume mounts, resource requests and limits, and probes. The CKAD exam requires candidates to work with container specs constantly, since virtually every task involves reading or modifying one. Critical details include the distinction between command (overrides the image ENTRYPOINT) and args (overrides CMD), and how resource requests affect scheduling while limits enforce runtime constraints. A solid command of container spec fields prevents the most common manifest errors and is the foundation for nearly all other CKAD topics.
Free questions on container spec
How do you specify environment variables in a Pod manifest?
Free question · medium · full answer + explanation
More container spec questions in the full bank
- Which field specifies memory limit for a container? Unlock answer & explanation →
- How do you limit the memory usage of a container? Unlock answer & explanation →