SDLC Automation

An EC2 application uses immutable releases with the previous fleet retained for immediate rollback, and both fleets share an RDS database. A release must rename a database column without interrupting service or preventing rollback; which approach is BEST?

Show the answer

Correct answerD. Add a compatible column, migrate usage, and defer removing the original.

AWhy not this: The previous application version can fail if it still requires the original column.

BWhy not this: Updating both fleets removes the unchanged rollback target and does not preserve schema compatibility.

CWhy not this: Restoring a snapshot is not an immediate application rollback and can discard subsequent writes.

DWhy this is right: Keeping the original column preserves compatibility while application usage transitions.

An expand-and-contract migration preserves compatibility with both application versions during deployment and rollback. Retaining the previous fleet alone does not make a destructive shared-database change reversible.