AWS Solutions Architect Associate Domain 2: Design Resilient Architectures
52 free practice questions for Design Resilient Architectures in the AWS Certified Solutions Architect – Associate (SAA-C03) exam. Try each question first, then open "Show answer" for the correct option and explanation.
Design Resilient Architectures practice questions
-
Question 1. A web tier must survive the failure of an Availability Zone. What is the BEST design?
Show answer
Answer: C. An Auto Scaling group across multiple AZs behind an Application Load Balancer
Spreading instances across AZs behind a load balancer removes the single AZ as a point of failure.
-
Question 2. An RDS MySQL database must fail over automatically if its primary instance fails. What should be enabled?
Show answer
Answer: B. Multi-AZ deployment
Multi-AZ keeps a synchronous standby and fails over automatically.
-
Question 3. What is the primary purpose of an RDS read replica?
Show answer
Answer: B. Scale read traffic, and optionally serve as a manual DR copy
Read replicas replicate asynchronously and can be promoted, but they aren't automatic failover targets like Multi-AZ.
-
Question 4. A global application needs a relational database with low-latency reads in multiple Regions and fast cross-Region disaster recovery. What fits BEST?
Show answer
Answer: A. Amazon Aurora Global Database
Aurora Global Database replicates to secondary Regions with typically sub-second lag and supports fast promotion.
-
Question 5. A NoSQL application needs multi-Region, active-active writes with automatic replication. What should be used?
Show answer
Answer: B. DynamoDB global tables
Global tables replicate data across Regions and allow writes in each.
-
Question 6. An order-processing system loses requests when the backend is overwhelmed during traffic spikes. What improves resilience?
Show answer
Answer: D. Place an SQS queue between the frontend and backend
Queues decouple components and buffer spikes so workers process messages at their own pace.
-
Question 7. Messages that repeatedly fail processing should be isolated for later analysis. What SQS feature should be used?
Show answer
Answer: C. A dead-letter queue
DLQs receive messages after a maximum number of receive attempts.
-
Question 8. Orders must be processed exactly once and in the order they were sent. Which queue type should be used?
Show answer
Answer: A. SQS FIFO queue
FIFO queues preserve order and provide exactly-once processing within message groups.
-
Question 9. One event must trigger several independent downstream services, each with its own queue. What pattern fits?
Show answer
Answer: D. SNS topic fanning out to multiple SQS queues
SNS-to-SQS fan-out lets each consumer process independently and reliably.
-
Question 10. Which DR strategy has the LOWEST cost but the LONGEST recovery time?
Show answer
Answer: C. Backup and restore
Backup and restore keeps only data backups, so infrastructure must be rebuilt during recovery.
-
Question 11. Which DR strategy runs a scaled-down but fully functional copy of production in another Region?
Show answer
Answer: C. Warm standby
Warm standby can handle traffic immediately at reduced capacity and scale up on failover.
-
Question 12. Which DR strategy keeps core components such as databases replicating in another Region, with other resources off until needed?
Show answer
Answer: A. Pilot light
Pilot light keeps critical data live and provisions the rest during recovery.
-
Question 13. Which DR strategy offers near-zero RTO and RPO but at the HIGHEST cost?
Show answer
Answer: C. Multi-site active-active
Running full production in multiple Regions minimizes downtime and data loss.
-
Question 14. Route 53 should send traffic to a secondary site only when the primary fails health checks. Which routing policy should be used?
Show answer
Answer: D. Failover routing
Failover routing uses health checks to switch between primary and secondary records.
-
Question 15. A company wants to replicate S3 objects to another Region for disaster recovery. What should it enable?
Show answer
Answer: B. S3 Cross-Region Replication (versioning on both buckets)
CRR requires versioning and asynchronously copies new objects to the destination bucket.
-
Question 16. Which service provides continuous block-level replication of servers to AWS for fast, low-cost recovery?
Show answer
Answer: C. AWS Elastic Disaster Recovery
Elastic Disaster Recovery replicates servers continuously and launches recovery instances when needed.
-
Question 17. A company needs centralized backup policies with cross-Region and cross-account copies for EBS, RDS, and EFS. What should it use?
Show answer
Answer: C. AWS Backup
AWS Backup manages backup plans, vaults, and copies across services and accounts.
-
Question 18. Session data stored on individual web servers is lost when instances are replaced. What makes the tier stateless?
Show answer
Answer: B. Store sessions in ElastiCache or DynamoDB
Externalizing state lets any instance serve any request and allows safe scaling and replacement.
-
Question 19. An Auto Scaling group should replace instances that fail application-level health checks from the load balancer. What should be configured?
Show answer
Answer: A. Turn on ELB health checks for the Auto Scaling group
ELB health checks detect application failures that EC2 status checks miss.
-
Question 20. An application needs a shared file system accessible from instances in multiple AZs that survives an AZ failure. Which service fits?
Show answer
Answer: A. Amazon EFS (Regional)
Regional EFS stores data redundantly across multiple AZs.
-
Question 21. A database must be restorable to any second within the last 7 days. Which RDS feature supports this?
Show answer
Answer: C. Automated backups with point-in-time recovery
Automated backups plus transaction logs enable point-in-time restore within the retention period.
-
Question 22. A serverless workflow must retry failed steps and handle errors across multiple Lambda functions. What should be used?
Show answer
Answer: D. AWS Step Functions
Step Functions provides built-in retry, catch, and state management.
-
Question 23. Which EC2 placement group spreads instances across distinct hardware to reduce correlated failures?
Show answer
Answer: D. Spread placement group
Spread groups place each instance on distinct racks, ideal for a small number of critical instances.
-
Question 24. A large distributed database like Cassandra needs groups of instances isolated on separate racks. Which placement group fits?
Show answer
Answer: D. Partition placement group
Partition groups isolate sets of instances by partition, useful for replicated distributed systems.
-
Question 25. An API must protect its backend from traffic bursts. Which API Gateway feature helps?
Show answer
Answer: C. Throttling and usage plans
Throttling limits request rates to prevent backend overload.
-
Question 26. Why should Lambda consumers be idempotent when processing SQS messages?
Show answer
Answer: D. Messages may be delivered more than once
Standard queues provide at-least-once delivery, so duplicates must be handled safely.
-
Question 27. An application's database must remain available during an AZ outage with minimal changes. The app uses Aurora. What provides this?
Show answer
Answer: C. Aurora Replicas in other AZs with automatic failover
Aurora promotes a replica in another AZ automatically if the writer fails.
-
Question 28. A static website must remain available even if the primary Region fails. What is the SIMPLEST approach?
Show answer
Answer: A. S3 website behind CloudFront with failover to a replicated bucket
CloudFront origin groups fail over to a secondary origin, such as a CRR-replicated bucket.
-
Question 29. What is the benefit of loose coupling in an architecture?
Show answer
Answer: C. A component can fail or scale without directly affecting others
Loose coupling isolates failures and allows independent scaling.
-
Question 30. An application needs to keep streaming data for 7 days so consumers can replay it after a failure. Which service fits?
Show answer
Answer: A. Amazon Kinesis Data Streams with longer retention
Kinesis retains records for a configurable period and supports multiple replaying consumers.
-
Question 31. Which feature ensures an Auto Scaling group maintains a minimum number of healthy instances?
Show answer
Answer: C. Minimum capacity with health check replacement
The group continuously replaces unhealthy instances to maintain desired and minimum capacity.
-
Question 32. A company's RTO is 15 minutes and RPO is 1 minute for a critical app in another Region. Which DR strategy BEST fits?
Show answer
Answer: B. Warm standby
Warm standby with continuous replication can meet tight RTO and RPO targets at moderate cost.
-
Question 33. Why use multiple NAT gateways, one per AZ, in a VPC?
Show answer
Answer: A. To avoid a cross-AZ single point of failure for outbound traffic
A NAT gateway is zonal. One per AZ keeps outbound access working if an AZ fails.
-
Question 34. A containerized application must run across multiple AZs without managing servers. What should be used?
Show answer
Answer: A. Amazon ECS on AWS Fargate with tasks spread across AZs
Fargate runs tasks across the subnets you choose, so spreading across AZs improves resilience.
-
Question 35. Which Route 53 feature checks endpoint health and removes unhealthy endpoints from DNS responses?
Show answer
Answer: B. Health checks attached to DNS records
Health checks combined with routing policies like failover or multivalue answer improve availability.
-
Question 36. A legacy application can only run on one instance but must recover quickly if the instance fails. What helps?
Show answer
Answer: B. An Auto Scaling group with min, max, and desired set to 1
An ASG of one automatically replaces a failed instance.
-
Question 37. Which service provides static anycast IP addresses and routes users to healthy Regional endpoints, failing over within seconds?
Show answer
Answer: B. AWS Global Accelerator
Global Accelerator monitors endpoint health and reroutes traffic over the AWS backbone.
-
Question 38. An event-driven design needs to route events from many sources to different targets based on content rules. Which service fits?
Show answer
Answer: C. Amazon EventBridge
EventBridge rules match event patterns and route them to targets, decoupling producers and consumers.
-
Question 39. What does DynamoDB point-in-time recovery (PITR) protect against?
Show answer
Answer: A. Accidental writes or deletes, restorable to any second in 35 days
PITR provides continuous backups for recovering from mistakes.
-
Question 40. A company runs EC2 instances with data on instance store. What is the MAIN resilience risk?
Show answer
Answer: B. Data is lost when the instance stops or its host fails
Instance store is ephemeral, so critical data needs replication or durable storage.
-
Question 41. Which approach allows safe deployments with quick rollback for an application behind a load balancer?
Show answer
Answer: D. Blue/green deployment with traffic switching
Blue/green keeps the old environment ready so traffic can switch back quickly.
-
Question 42. An SQS consumer takes up to 5 minutes to process a message, and messages are sometimes processed twice. What should be adjusted?
Show answer
Answer: D. Increase the visibility timeout above the processing time
If processing exceeds the visibility timeout, the message becomes visible again and is received twice.
-
Question 43. What is the benefit of Amazon Aurora storage architecture for resilience?
Show answer
Answer: A. It keeps six copies of data across three AZs
Aurora tolerates the loss of up to two copies without affecting writes, and three without affecting reads.
-
Question 44. A company wants its Lambda-based application to handle failed asynchronous invocations. What should it configure?
Show answer
Answer: D. An on-failure destination or a dead-letter queue
Destinations and DLQs capture failed events for later processing.
-
Question 45. Which feature lets EC2 Auto Scaling launch instances across both On-Demand and Spot with multiple instance types for resilience?
Show answer
Answer: D. Mixed instances policy
Diversifying instance types and purchase options reduces the impact of capacity shortages.
-
Question 46. A critical application must remain available if a single Region fails, with automatic DNS failover. What is needed at minimum?
Show answer
Answer: C. Deploy to two Regions with Route 53 health-checked failover
Regional resilience requires infrastructure in another Region plus a failover mechanism.
-
Question 47. What is the purpose of Amazon RDS Proxy for resilience?
Show answer
Answer: D. It pools connections and shortens failover disruption
RDS Proxy reduces connection storms and can cut failover times by maintaining connections.
-
Question 48. A data pipeline must continue if one processing step fails temporarily. Which pattern improves resilience?
Show answer
Answer: C. Retries with exponential backoff and jitter
Backoff with jitter avoids overwhelming recovering services and synchronized retry storms.
-
Question 49. An application uses EBS volumes and must recover data if an AZ is lost. What should be done?
Show answer
Answer: B. Take regular EBS snapshots, which are stored regionally
EBS volumes are replicated within one AZ. Snapshots allow recreating volumes in another AZ.
-
Question 50. What does an Amazon SQS long polling setting help with?
Show answer
Answer: C. Fewer empty responses by waiting for messages to arrive
Long polling waits up to 20 seconds for messages, which reduces empty receives.
-
Question 51. A company wants to test its application's resilience by injecting faults such as instance terminations. Which service fits?
Show answer
Answer: D. AWS Fault Injection Service
Fault Injection Service runs controlled chaos engineering experiments.
-
Question 52. A hybrid architecture requires resilient connectivity to AWS. What is recommended?
Show answer
Answer: D. Redundant Direct Connect links, or Direct Connect with VPN backup
Redundant connections avoid a single point of failure in hybrid networking.
AWS, Amazon Web Services, and AWS Certified are trademarks of Amazon.com, Inc. or its affiliates. These questions are original study material, not questions from the real exam.