exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 71 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 71
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A development team is building an ecommerce application and is using Amazon Simple Notification Service (Amazon SNS) to send order messages to multiple endpoints. One of the endpoints is an external HTTP endpoint that is not always available. The development team needs to receive a notification if an order message is not delivered to the HTTP endpoint.
What should a DevOps engineer do to meet these requirements?

  • A. Create an Amazon Simple Queue Service (Amazon SQS) queue. On the SNS topic, configure a redrive policy that sends undelivered messages to the SQS queue. Create an Amazon CloudWatch alarm for the new SQS queue to notify the development team when messages are delivered to the queue.
  • B. Create an Amazon Simple Queue Service (Amazon SQS) queue. On the HTTP endpoint subscription of the SNS topic, configure a redrive policy that sends undelivered messages to the SQS queue. Create an Amazon CloudWatch alarm for the new SQS queue to notify the development team when messages are delivered to the queue.
  • C. On the SNS topic, configure an HTTPS delivery policy that will retry delivery until the order message is delivered successfully. Configure the backoffFunction parameter in the policy to notify the development team when a message cannot be delivered within the set constraints.
  • D. On the HTTP endpoint subscription of the SNS topic, configure an HTTPS delivery policy that will retry delivery until the order message is delivered successfully. Configure the backoffFunction parameter in the policy to notify the development team when a message cannot be delivered within the set constraints.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Piccaso
2 years, 2 months ago
Selected Answer: B
The link and material offered by Paresh_Jadhav helps.
upvoted 3 times
...
Bulti
2 years, 3 months ago
B us the correct answer. You don't want to lose messages and therefore SQS queue and the retrieve configuration is at the subscription level and not at the topic level.
upvoted 1 times
...
Chinta
2 years, 4 months ago
B is correct
upvoted 1 times
...
Paresh_Jadhav
2 years, 5 months ago
B make sense https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html "To keep the message after the retries specified in the delivery policy are exhausted, configure your subscription to move undeliverables messages to a dead-letter queue (DLQ)." https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-available-cloudwatch-metrics.html
upvoted 4 times
...
kyozanuro
2 years, 5 months ago
Selected Answer: B
Voted B, because backoffFunction is just a definition algorithm of backoff retry, cannot use it to notify the team.
upvoted 3 times
...
hankun
2 years, 7 months ago
B is true. C, D is Https endpoint not http
upvoted 1 times
...
MikeyJ
2 years, 7 months ago
Selected Answer: B
You can use Amazon CloudWatch metrics to monitor dead-letter queues associated with your Amazon SNS subscriptions. All Amazon SQS queues emit CloudWatch metrics at one-minute intervals.
upvoted 1 times
...
syaldram
2 years, 7 months ago
The answer is B: https://docs.aws.amazon.com/sns/latest/dg/sns-dead-letter-queues.html The dead letter queue for SNS are SQS.
upvoted 3 times
...
ohcn
2 years, 7 months ago
C makes sense.
upvoted 1 times
ohcn
2 years, 7 months ago
In fact might be D because one of the HTTP endpoints is not always available. "You should customize your delivery policy according to your HTTP/S server's capacity. You can set the policy as a topic attribute or a subscription attribute. If all HTTP/S subscriptions in your topic target the same HTTP/S server, we recommend that you set the delivery policy as a topic attribute, so that it remains valid for all HTTP/S subscriptions in the topic. Otherwise, you must compose a delivery policy for each HTTP/S subscription in your topic, according the capacity of the HTTP/S server that the policy targets."" https://docs.aws.amazon.com/sns/latest/dg/sns-message-delivery-retries.html
upvoted 1 times
network_zeal
2 years, 7 months ago
D is incorrect. the same link clearly mentions, When the delivery policy is exhausted, Amazon SNS stops retrying the delivery and discards the message—unless a dead-letter queue is attached to the subscription. So B is correct.
upvoted 1 times
...
...
...
costin
2 years, 7 months ago
I vote for B
upvoted 1 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