exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 11 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 11
Topic #: 1
[All AWS Certified Developer Associate Questions]

A developer creates a customer managed key for multiple AWS users to encrypt data in Amazon S3. The developer configures Amazon Simple Notification
Service (Amazon SNS) to publish a message if key deletion is scheduled. The developer needs to preserve any SNS messages that cannot be delivered so that those messages can be reprocessed.
Which AWS service or feature should the developer use to meet this requirement?

  • A. Amazon Simple Email Service (Amazon SES)
  • B. AWS Lambda
  • C. Amazon Simple Queue Service (Amazon SQS)
  • D. Amazon CloudWatch alarm
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
sumanshu
4 months, 1 week ago
Selected Answer: C
C) - Correct - Messages that fail delivery will be stored in the SQS dead-letter queue, ensuring they are retained for later processing. This mechanism allows reprocessing of undelivered messages.
upvoted 1 times
sumanshu
4 months, 1 week ago
A) - Eliminated : SES is an email service used to send or receive email. It is not designed to store undelivered SNS messages.
upvoted 1 times
sumanshu
4 months, 1 week ago
D) Eliminated - CloudWatch alarms monitor metrics and send alerts when thresholds are breached. It is not a mechanism for preserving undelivered SNS messages.
upvoted 1 times
sumanshu
4 months, 1 week ago
B) Eliminated - Lambda can be a target for SNS notifications, but it does not inherently store or preserve undelivered messages. Messages failing delivery to Lambda would still require a DLQ (e.g., SQS).
upvoted 1 times
...
...
...
...
thucta96dn
5 months, 4 weeks ago
Selected Answer: C
the answer should be C
upvoted 1 times
...
seezie
1 year ago
Absolutely C because SQS has a dead-letter-queue service that stores messages failed.
upvoted 1 times
...
AsmaZoheb
1 year, 3 months ago
C for SQS any message can be stored in DLQ , for this set up SQS with SNS , like To set up SNS with SQS, create an SNS topic, subscribe an SQS queue to it, and publish messages to the topic, which will be automatically delivered to the subscribed queue for processing.
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: C
When an SNS topic sends messages to a subscriber there can be many issues on the way. For example, the subscriber is down, the subscriber doesn't accept a message, the network is down, the topic does not have sufficient permission to send messages, etc.. It is a good practice to set a Dead Letter Queue (DLQ) to send in this queue the messages that can't be processed. A DLQ for SNS should be SQS (I tried but there is no way to set a SNS as DLQ). So the C is the correct one!
upvoted 2 times
...
IbrahimBarry
2 years, 2 months ago
SQS is the right answer
upvoted 1 times
...
Krt5894
2 years, 2 months ago
Selected Answer: C
should be C
upvoted 1 times
...
Dirisme
2 years, 3 months ago
Selected Answer: C
SQS Dead letter queue
upvoted 2 times
...
dark_cherrymon
2 years, 5 months ago
Selected Answer: C
C "Amazon SNS stops retrying the delivery and discards the message—unless a dead-letter queue is attached to the subscription. " "A dead-letter queue is an Amazon SQS queue "
upvoted 1 times
...
nothankyouspankyou
2 years, 6 months ago
I'd use an SNS Dead Letter Queue...but okay - SQS it is...
upvoted 2 times
...
haazybanj
2 years, 7 months ago
Selected Answer: C
SQS is correct
upvoted 1 times
...
sidvic
2 years, 7 months ago
Selected Answer: C
We needs a SQS
upvoted 1 times
...
Sirikou_0922
2 years, 7 months ago
SQS is right using fan-out and also SQS has the storage
upvoted 2 times
adsdadasdad
2 years, 6 months ago
More so that if the request times out, the que will still process that the request has not suceeded and will keep it until it has processed. It garantees consistancy
upvoted 1 times
...
...
sindra
2 years, 7 months ago
Selected Answer: C
agreed with C.. Amazon SQS is async messaging bus that suitable with this case
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago