Testing and Deployment

How does AWS CodeDeploy restore a previously deployed application revision during a rollback?

Show the answer

Correct answerA. It creates a new deployment of a previous revision.

AWhy this is right: A rollback is a new deployment that uses a previously deployed application revision.

BWhy not this: CodeDeploy rollback does not restore instance snapshots.

CWhy not this: Changing source control history does not redeploy an application revision to target resources.

DWhy not this: CodeDeploy redeploys a revision rather than calculating inverse operations for installation commands.

CodeDeploy performs a rollback by creating a new deployment of a previously deployed revision. It does not reverse installation commands or automatically undo application-side changes such as database migrations.