Bird
0
0

Which of the following is the correct syntax to view the rollout history of a deployment named 'webapp'?

easy📝 Syntax Q12 of 15
Kubernetes - ReplicaSets and Deployments
Which of the following is the correct syntax to view the rollout history of a deployment named 'webapp'?
Akubectl get rollout history webapp
Bkubectl describe rollout webapp
Ckubectl rollout status deployment/webapp
Dkubectl rollout history deployment/webapp
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct command for rollout history

    The command to view rollout history is kubectl rollout history.
  2. Step 2: Use correct resource type and name

    Appending deployment/webapp specifies the deployment named 'webapp'.
  3. Final Answer:

    kubectl rollout history deployment/webapp -> Option D
  4. Quick Check:

    Rollout history syntax = kubectl rollout history deployment/name [OK]
Quick Trick: Remember: rollout history shows past changes, rollout status shows current state [OK]
Common Mistakes:
  • Using 'get' or 'describe' instead of 'rollout history'
  • Omitting 'deployment/' prefix
  • Confusing rollout status with rollout history

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes