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 141 discussion

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

A space exploration company receives telemetry data from multiple satellites. Small packets of data are received through Amazon API Gateway and are placed directly into an Amazon Simple Queue Service (Amazon SOS) standard queue. A custom application is subscribed to the queue and transforms the data into a standard format.

Because of inconsistencies in the data that the satellites produce, the application is occasionally unable to transform the data. In these cases, the messages remain in the SQS queue. A DevOps engineer must develop a solution that retains the failed messages and makes them available to scientists for review and future processing.

Which solution will meet these requirements?

  • A. Configure AWS Lambda to poll the SOS queue and invoke a Lambda function to check whether the queue messages are valid. If validation fails, send a copy of the data that is not valid to an Amazon S3 bucket so that the scientists can review and correct the data. When the data is corrected, amend the message in the SOS queue by using a replay Lambda function with the corrected data
  • B. Convert the SQS standard queue to an SQS FIFO queue. Configure AWS Lambda to poll the SQS queue every 10 minutes by using an Amazon EventBridge schedule. Invoke the Lambda function to identify any messages with a SentTimestamp value that is older than 5 minutes, push the data to the same location as the application's output location, and remove the messages from the queue.
  • C. Create an SOS dead-letter queue. Modify the existing queue by including a redrive policy that sets the Maximum Receives setting to 1 and sets the dead-letter queue ARN to the ARN of the newly created queue. Instruct the scientists to use the dead-letter queue to review the data that is not valid. Reprocess this data at a later time.
  • D. Configure API Gateway to send messages to different SOS virtual queues that are named for each of the satellites. Update the application to use a new virtual queue for any data that it cannot transform, and send the message to the new virtual queue. Instruct the scientists to use the virtual queue to review the data that is not valid. Reprocess this data at a later time.
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
BelloMio
2 years, 2 months ago
I don't understand C A redrive policy does not have a Maximum Receives setting. Only the Dead-letter queue option has it.
upvoted 1 times
BelloMio
2 years, 2 months ago
Go on test it on the console if you don't believe me
upvoted 1 times
...
...
Mark1000
2 years, 2 months ago
Umm...I have gone through the question again.....and I think A is not as that may generate a correct message, but there is no solution for the incorrect one already received in the SQS, obviate my argument to go with A; the most logical answer is C.
upvoted 1 times
...
Mark1000
2 years, 2 months ago
I will disagree with the majority of responses. The doubt is between A or C, C seems the most correct, but if you read at no time says that the messages will be corrected, only that they will be "reviewed" by scientists, if only reviewed there is no correction and reprocess them again send them back to the dead queue ... a loop.... I vote for the A, which also coincides with the answer offered by the platform
upvoted 1 times
...
Piccaso
2 years, 3 months ago
Selected Answer: A
B and D do not make sense, are eliminated. Between A and C, I prefer A, because it's not a problem of data transporting. The untransformed telemetry data will be processed by SOS as normal. That's not a scenario to use DLQ.
upvoted 2 times
...
Bulti
2 years, 3 months ago
Selected Answer: C
C is the right answer.
upvoted 1 times
...
Oleg_gol
2 years, 3 months ago
Selected Answer: C
https://www.examtopics.com/discussions/amazon/view/92779-exam-aws-devops-engineer-professional-topic-1-question-141/
upvoted 2 times
...
tartealacreme
2 years, 4 months ago
Selected Answer: C
C for sure
upvoted 3 times
...
HTTPS
2 years, 4 months ago
Selected Answer: C
The correct solution to meet these requirements is C. Create an SQS dead-letter queue. Modify the existing queue by including a redrive policy that sets the Maximum Receives setting to 1 and sets the dead-letter queue ARN to the ARN of the newly created queue. Instruct the scientists to use the dead-letter queue to review the data that is not valid. Reprocess this data at a later time.
upvoted 3 times
HTTPS
2 years, 4 months ago
A dead-letter queue is a queue that other Amazon SQS queues can target for messages that can't be processed. A message is sent to a dead-letter queue when the maximum number of receives of the message from the source queue has been reached without the message being deleted. By configuring the existing queue with a redrive policy and setting the Maximum Receives setting to 1, you can ensure that any messages that the application is unable to transform will be sent to the dead-letter queue after one failed attempt. The scientists can then review the data in the dead-letter queue and reprocess it at a later time.
upvoted 3 times
HTTPS
2 years, 4 months ago
Option A is incorrect because it doesn't involve creating a dead-letter queue. Option B is incorrect because it involves deleting messages from the queue after a certain time has passed, rather than retaining them for later review and reprocessing. Option D is incorrect because it involves sending messages to different virtual queues based on the satellite that produced the data, rather than retaining them in a dead-letter queue for later review and reprocessing.
upvoted 2 times
easytoo
2 years, 1 month ago
Thanks HTTPS - great answer.
upvoted 1 times
...
...
...
...
ericzaj
2 years, 4 months ago
Going with C on this. This seems like a good use case for a DLQ. The redrive policy with Maximum Receives of 1 will put a failed message into DLQ for investigation and retry after the Lambda code is updated to handle the new data.
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