CompTIACompTIA
XK0-005 · Question #454
XK0-005 Question #454: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #454. The question stem and answer options stay visible for context.
Scripting, Containers, and Automation
Question
A cloud engineer is asked to copy the file deployment.yaml from a container to the host where the container is running. Which of the following commands can accomplish this task?
Options
- Adocker cp container_id/deployment.yaml deployment.yaml
- Bdocker cp container_id:/deployment.yaml deployment.yaml
- Cdocker cp deployment.yaml local://deployment.yaml
- Ddocker cp container_id/deployment.yaml local://deployment.yaml
Unlock XK0-005 to see the answer
You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Docker#Container Management#File Transfer#CLI Commands