Sample SAA-C03 Design Resilient Architectures questions with explanations
Use these examples to check how the topics are tested. Read the explanation for every option you were unsure about, then start a scored practice set above.
Question 1
Design Resilient Architectures
Choose 2
A solutions architect is designing a fault-tolerant system for processing IoT device data. The system must ensure no data loss if a processing component fails and must be able to reprocess data from a specific point in time. Which TWO AWS services should be used as part of this design? (Select TWO)
-
✓ Amazon Kinesis Data Streams
-
✓ Amazon Simple Queue Service (SQS) Standard queue
-
○ AWS Lambda with on-demand concurrency
-
○ Amazon Simple Notification Service (SNS)
-
○ Amazon Kinesis Data Firehose
Answer:
A. Amazon Kinesis Data Streams | B. Amazon Simple Queue Service (SQS) Standard queue
Amazon Kinesis Data Streams (A) provides durable, ordered data streams with a retention period (24 hours by default, extendable to 365 days), allowing replay from a past point for reprocessing, which is key for fault tolerance. Amazon SQS (B) provides at-least-once delivery and message durability, preventing data loss if a processor fails. SNS (D) is a pub/sub service but lacks built-in retention for replay. Kinesis Data Firehose (E) is for loading to destinations, not for replayable processing. Lambda (C) is a compute option but doesn't provide the data durability layer.
Question 2
Domain 2: Design Resilient Architectures
A company's application runs on Amazon EC2 instances and uses an Amazon RDS database. The company wants to ensure that if the database fails, the application can continue to operate in a degraded mode by serving cached data. Which service can be used to cache database query results?
-
✓ Amazon ElastiCache
-
○ Amazon S3
-
○ Amazon EBS
-
○ AWS Storage Gateway
Answer:
A. Amazon ElastiCache
Amazon ElastiCache is an in-memory caching service (supporting Redis or Memcached) that can be used to cache database query results. This allows the application to serve data from the cache if the primary database is unavailable, enabling graceful degradation. S3 is object storage, not suitable for low-latency caching of database results. EBS is block storage for EC2 instances. Storage Gateway is for hybrid cloud storage integration.
Question 3
Domain 2: Design Resilient Architectures
An application uses an Amazon RDS for MySQL database with a Multi-AZ deployment. During a failover event, what is the expected behavior for existing database connections from the application?
-
○ Connections are seamlessly transferred to the new primary with no interruption.
-
✓ Connections are terminated and must be re-established by the application.
-
○ Connections are paused and automatically resumed after failover.
-
○ Read connections remain active; only write connections are terminated.
Answer:
B. Connections are terminated and must be re-established by the application.
In an RDS Multi-AZ failover, the DNS record of the database endpoint is updated to point to the standby instance, which becomes the new primary. Existing connections to the old primary are dropped. The application must implement retry logic and re-establish connections using the same endpoint name. This is a key consideration for designing resilient applications.
Question 4
Domain 2: Design Resilient Architectures
Choose 3
Which THREE design principles are key to building loosely coupled systems on AWS? (Select THREE)
-
○ Design components to perform periodic health checks on their dependencies.
-
✓ Implement service discovery to dynamically locate dependencies.
-
✓ Use asynchronous integration patterns where appropriate.
-
○ Configure all components to retry failed requests indefinitely.
-
✓ Design each component to expose and consume well-defined APIs.
-
○ Deploy all components within a single Auto Scaling group.
Answer:
B. Implement service discovery to dynamically locate dependencies. | C. Use asynchronous integration patterns where appropriate. | E. Design each component to expose and consume well-defined APIs.
Options B, C, and E are correct. Loosely coupled systems use service discovery (B) to reduce static configuration, asynchronous patterns like queues (C) to prevent failures from cascading, and well-defined APIs (E) to hide implementation details. Option A (health checks) is a resilience practice but not specific to loose coupling. Option D (indefinite retries) can cause issues and should use exponential backoff. Option F (single ASG) creates tight coupling and a single point of failure.
Question 5
Domain 2: Design Resilient Architectures
An application uses Amazon API Gateway and AWS Lambda for its backend. To ensure the API remains highly available, what should the solutions architect consider regarding the Lambda function?
-
○ Deploy the Lambda function in multiple Availability Zones.
-
○ Configure API Gateway caching to reduce calls to Lambda.
-
✓ Ensure the Lambda function is stateless and has no dependencies on a single instance.
-
○ Place the Lambda function inside a VPC for security.
Answer:
C. Ensure the Lambda function is stateless and has no dependencies on a single instance.
AWS Lambda is a managed service that inherently provides high availability and fault tolerance by running functions across multiple AZs. The architect's responsibility is to ensure the function code is stateless (C) so that any invocation can be handled by any available Lambda execution environment, which aligns with resilient design principles. Lambda deployment across AZs (A) is managed by AWS. API Gateway caching (B) improves performance, not Lambda's HA. VPC placement (D) can impact performance and require additional networking for HA (e.g., subnets in multiple AZs) but is not the primary consideration for Lambda's inherent HA.
Open the full SAA-C03 Design Resilient Architectures question-and-answer guide