Broadcom-VMware
5V0-23.20 · Question #117
Which kubectl command is used to deploy the application when using a Kubernetes deployment specification file, my-app.yaml?
The correct answer is B. kubectl apply -f my-app.yaml. See the full explanation below for the reasoning.
Question
Which kubectl command is used to deploy the application when using a Kubernetes deployment specification file, my-app.yaml?
Options
- Akubectl run my-app.yaml
- Bkubectl apply -f my-app.yaml
- Ckubectl create my-app.yaml
- Dkubectl apply spеc my-app.yaml
How the community answered
(31 responses)- A3% (1)
- B74% (23)
- C16% (5)
- D6% (2)
Community Discussion
No community discussion yet for this question.