Question 61
Choose 1
Blue-green code rollback is fast but both versions share a database. What is critical?
Correct answer:
B. Backward-compatible schema changes
Answer Option (Which option is correct) B. Backward-compatible schema changes
Explanation:
Both deployment environments depend on the same database, so switching traffic does not undo a schema change. Keep the schema usable by the versions that may run during deployment or rollback. Validate that compatibility before relying on a quick blue-green traffic fallback.
Why the other options are incorrect:
A. A mutable latest tag:
A mutable tag can point to changing code. It does not preserve compatibility with the shared schema. Known versions still need backward-compatible database changes.
C. No database tests:
Skipping database tests removes evidence about schema compatibility. The old application may fail after rollback. Test both application versions against the staged schema.
D. Identical dashboard colors:
Dashboard colors are visual presentation. They do not affect database compatibility. The recovery constraint concerns code and schema behavior.
References:
AWS: deployment strategies
Explanation:
Both deployment environments depend on the same database, so switching traffic does not undo a schema change. Keep the schema usable by the versions that may run during deployment or rollback. Validate that compatibility before relying on a quick blue-green traffic fallback.
Why the other options are incorrect:
A. A mutable latest tag:
A mutable tag can point to changing code. It does not preserve compatibility with the shared schema. Known versions still need backward-compatible database changes.
C. No database tests:
Skipping database tests removes evidence about schema compatibility. The old application may fail after rollback. Test both application versions against the staged schema.
D. Identical dashboard colors:
Dashboard colors are visual presentation. They do not affect database compatibility. The recovery constraint concerns code and schema behavior.
References:
AWS: deployment strategies