Medium1 markMultiple Choice
Domain 2.4: ReliabilityReliabilityDecouplingSQS

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?

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