Courseiva
Application Deployment and SecuritymediumMultiple ChoiceObjective-mapped

200-901 Application Deployment and Security Practice Question

A developer needs to apply a Kubernetes deployment manifest from a file named 'deployment.yaml'. Which kubectl command should be used?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

kubectl apply -f deployment.yaml

kubectl apply -f creates or updates resources from a file. get, describe, and create are not used for applying manifests.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • kubectl apply -f deployment.yaml

    Why this is correct

    apply creates or updates resources from file.

  • kubectl create deployment.yaml

    Why it's wrong here

    create is used with resource types, not directly with file.

  • kubectl describe -f deployment.yaml

    Why it's wrong here

    describe shows details of existing resources.

  • kubectl get -f deployment.yaml

    Why it's wrong here

    get retrieves resources, does not apply.

About these practice questions

This 200-901 question is part of Courseiva's 989-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.