Study. uk . com
  1. Home
  2. All questions
  3. Question 486

CKA study material · question 486 of 1000

kubectl cp fails against a container. What is the most likely missing dependency?

  1. The tar binary inside the container image
  2. An ephemeral container
  3. A readiness probe on the container
  4. A ServiceAccount token
Show the answer

Answer: A. The tar binary inside the container image

kubectl cp requires tar in the image; without it the copy fails, and piping through kubectl exec is the fallback.

Source: kubectl Quick Reference (Kubernetes) — Copying files and directories to and from containers

Challenge yourself on this topic → Study as cards