Medium1 markMultiple Choice
AWS SAP-C02 · Question 37 · Domain 2.4: Reliability
An order processing system receives bursts of traffic. Currently, the web tier writes directly to an RDS database, which becomes overwhelmed during peaks, resulting in lost orders. How can the architect decouple the system to ensure no orders are lost?
An order processing system receives bursts of traffic. Currently, the web tier writes directly to an RDS database, which becomes overwhelmed during peaks, resulting in lost orders. How can the architect decouple the system to ensure no orders are lost?
Answer options:
A.
Upgrade the RDS instance to a larger size.
B.
Introduce Amazon SQS between the web tier and a worker tier that writes to the database.
C.
Use Amazon ElastiCache to cache the incoming orders.
D.
Implement Amazon SNS to notify the database of new orders.
How to approach this question
Look for the service that provides durable buffering.
Full Answer
B.Introduce Amazon SQS between the web tier and a worker tier that writes to the database.✓ Correct
Introduce Amazon SQS between the web tier and a worker tier that writes to the database.
Amazon SQS provides a highly available, durable buffer that decouples producers from consumers, smoothing out traffic spikes.
Common mistakes
Choosing SNS, which pushes messages and doesn't buffer them for slow consumers.
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 3
75 questions · hints · full answers · grading
More questions from this exam
Q01An enterprise has 100 VPCs across 5 AWS Regions. They need to establish a highly available, trans...HardQ02A company uses AWS Organizations. The CISO requires that no EC2 instances can be launched outside...MediumQ03An application uses Amazon Aurora PostgreSQL. To meet disaster recovery requirements, the databas...HardQ04A company is setting up a new multi-account AWS environment. They want to automate the creation o...MediumQ05An organization wants to allocate AWS costs to specific departments. They use multiple AWS accoun...Medium
Expert