A web application has a multi-AZ ALB, EC2 instances in one Availability Zone, a Single-AZ RDS database, and sessions stored in instance memory. Which changes support continued service after an Availability Zone failure without losing committed database writes or active sessions? (Choose three.)
Choose 3 answers
Show the answer
Correct answersA. Place application instances in an Auto Scaling group spanning multiple Availability Zones.C. Store session state in a DynamoDB table instead of instance memory.E. Convert the database to an RDS Multi-AZ DB instance deployment.
AWhy this is right: Instances in multiple zones provide serving capacity when one Availability Zone fails.
BWhy not this: EC2 automatic recovery does not provide replacement capacity in another Availability Zone during a zonal outage.
CWhy this is right: DynamoDB stores session state independently of application instances and replicates data across Availability Zones.
DWhy not this: A cross-Region RDS read replica uses asynchronous replication and can lose recent committed writes during promotion.
EWhy this is right: RDS Multi-AZ synchronously replicates to a standby in another zone and supports automatic failover.
FWhy not this: Stickiness cannot recover in-memory session state from an unavailable instance.
Multi-AZ application capacity, synchronous RDS standby replication, and external session storage remove the workload's zonal compute and state dependencies. ALB stickiness cannot preserve sessions when the instance holding them becomes unavailable.