Question 13
Domain 2: Application Deployment and WorkloadsWhich kubectl command checks the details of the fourth rollout revision?
Correct answer: A
Explanation
`kubectl rollout history deployment/<name>` shows the rollout history for a Deployment, and `--revision=4` selects the specific revision number to inspect. This matches the command syntax for viewing the details of the fourth rollout revision.
Why each option is right or wrong
A. kubectl rollout history deployment/<name> --revision=4
`kubectl rollout history` is the Kubernetes subcommand used to inspect a Deployment’s recorded revisions, and the `--revision` flag accepts the exact revision number to display. In this case, specifying `--revision=4` targets the fourth stored rollout entry for the named Deployment, which is the only way among the listed command forms to retrieve that specific revision’s details.
B. kubectl rollout status deployment/<name> --revision=4
C. kubectl describe deployment/<name> --revision=4
D. kubectl get deployment/<name> --revision=4