Courseiva
Application Deployment and SecurityhardMultiple ChoiceObjective-mapped

200-901 Application Deployment and Security Practice Question

A Kubernetes Deployment has replicas: 3. The team updates the container image to a new version. The rollout gets stuck because the new pod fails readiness probes. Which kubectl command will display the rollout status and help diagnose the issue?

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 rollout status deployment/my-deployment

kubectl rollout status deployment/my-deployment shows the progress. If stuck, it indicates failure. kubectl describe pod can show probe details.

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 get pods -l app=my-deployment

    Why it's wrong here

    Lists pods but not rollout status.

  • kubectl logs deployment/my-deployment

    Why it's wrong here

    Logs from pods, not rollout status.

  • kubectl describe deployment my-deployment

    Why it's wrong here

    Shows deployment details but not real-time rollout status.

  • kubectl rollout status deployment/my-deployment

    Why this is correct

    Shows rollout progress and can indicate failure.

About these practice questions

Courseiva writes every 200-901 question from scratch — 989 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.