nerdexam
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)
  • A
    3% (1)
  • B
    74% (23)
  • C
    16% (5)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 5V0-23.20 Practice