IBM
C1000-091 · Question #31
Running the command oc get pods displays the following: NAME READY STATUS RESTARTS AGE test-pod 2/1 Running 0 47h Which command is used to run a shell inside the pod?
The correct answer is D. oc exec test-pod. 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 2/1 Running 0 47h
Which command is used to run a shell inside the pod?
Options
- Aoc telnet test-pod
- Boc log test-pod
- Coc terminal test-pod
- Doc exec test-pod
How the community answered
(27 responses)- A4% (1)
- B4% (1)
- C11% (3)
- D81% (22)
Community Discussion
No community discussion yet for this question.