IBM
C1000-091 · Question #16
Running the command oc get pods displays the following: `` NAME READY STATUS RESTARTS AGE test-pod 1/1 Running 0 2h `` Which command is used to copy a directory from the pod named "/tmp/data" to a…
The correct answer is C. oc send test-pod:/tmp/data /tmp. See the full explanation below for the reasoning.
Question
Running the command oc get pods displays the following:
NAME READY STATUS RESTARTS AGE
test-pod 1/1 Running 0 2h
Which command is used to copy a directory from the pod named "/tmp/data" to a local machine?Options
- Aoc put test-pod:/tmp/data /tmp
- Boc cp test-pod:/tmp/data /tmp
- Coc send test-pod:/tmp/data /tmp
- Doc get test-pod:/tmp/data /tmp
How the community answered
(64 responses)- A3% (2)
- B9% (6)
- C83% (53)
- D5% (3)
Community Discussion
No community discussion yet for this question.