exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 357 discussion

A company plans to host a survey website on AWS. The company anticipates an unpredictable amount of traffic. This traffic results in asynchronous updates to the database. The company wants to ensure that writes to the database hosted on AWS do not get dropped.
How should the company write its application to handle these database requests?

  • A. Configure the application to publish to an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the database to the SNS topic.
  • B. Configure the application to subscribe to an Amazon Simple Notification Service (Amazon SNS) topic. Publish the database updates to the SNS topic.
  • C. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues to queue the database connection until the database has resources to write the data.
  • D. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues for capturing the writes and draining the queue as each write is made to the database.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dmscountera
Highly Voted 3 years, 8 months ago
D. Use Amazon Simple Queue Service (Amazon SQS) FIFO queues for capturing the writes and draining the queue as each write is made to the database.
upvoted 59 times
serdar55
3 years, 2 months ago
https://aws.amazon.com/blogs/compute/event-driven-computing-with-amazon-sns-compute-storage-database-and-networking-services/
upvoted 2 times
...
...
Kav_kk
Highly Voted 3 years, 7 months ago
D Question 5 https://jayendrapatil.com/tag/sqs-standard-queues-vs-sqs-fifo-queues/
upvoted 14 times
...
LouisSG
Most Recent 2 years, 9 months ago
Selected Answer: D
Add writes to a Queue in first in first out basis.
upvoted 1 times
...
Fdes
2 years, 10 months ago
Selected Answer: D
D, as a RDS cannot subscribe to a SNS Topic
upvoted 1 times
...
queen101
2 years, 10 months ago
DDDDDDDDDDDDDD
upvoted 1 times
...
marklovesaws143
2 years, 10 months ago
Selected Answer: D
DDDDDDDDDDDDDDDDD
upvoted 1 times
...
naveenagurjara
2 years, 11 months ago
Selected Answer: D
Only one consumer (DB), so SNS no need .. as it makes sense only for multiple consumers. So A and B Out... Between C and D, C asks for queuing DB Connections ..which can be done but thats not regular...so D which drains (empties via msg processing within Visibility time out and deleting msgs from SQS).
upvoted 3 times
...
naveenagurjara
2 years, 11 months ago
Selected Answer: D
C is not the use case...
upvoted 1 times
...
bighedgedog
3 years ago
Selected Answer: D
Amazon SQS is used for capturing data asynchronously.
upvoted 1 times
...
alimsyed
3 years, 2 months ago
Selected Answer: D
I would solve this problem with D, if I was the SArch.
upvoted 1 times
...
mgari
3 years, 2 months ago
Selected Answer: D
Simple Queue Service
upvoted 1 times
...
Kabraham75
3 years, 5 months ago
Why is it D and not C?
upvoted 8 times
derekurizar
3 years ago
Because if the consumer consumes connections that doesn't make sense
upvoted 1 times
...
Shane_theNetworkGuy
2 years, 10 months ago
I can confirm that you cannot store database connections in a queue. I heard it in Cloud Guru lecture
upvoted 1 times
...
...
Alejandroq3a
3 years, 5 months ago
Selected Answer: D
SQS for asynchronous DB writes. SNS cant support that kind of feature.
upvoted 2 times
...
Vijayaustin
3 years, 5 months ago
D is right . SNS is not correct because there is no resilient once SNS pushes messages out .
upvoted 1 times
...
monazir
3 years, 5 months ago
answer is D
upvoted 1 times
...
ruturajjena
3 years, 5 months ago
Selected Answer: D
https://jayendrapatil.com/tag/sqs-standard-queues-vs-sqs-fifo-queues/
upvoted 1 times
...
Milan_S
3 years, 6 months ago
C. I think you don't need to drain the queue manually with FIFO(Hence not D). Each request will be processed exactly once only.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...