exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 38 discussion

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 SQS) 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 SQS 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 SQS 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 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.
  • D. Configure API Gateway to send messages to different SQS 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
4555894
8 months, 1 week ago
Selected Answer: C
Create an SQS dead-letter queue. Modify the existing queue by including a re-drive 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 2 times
...
zijo
8 months, 1 week ago
Answer is A. Lambda function is required for automated fixing of the invalid message data and hence A is the right choice here.
upvoted 1 times
dzn
8 months, 1 week ago
This is not a good approach because it requires unifying the validation logic of the custom application and Lambda function, requires updating both the custom application and Lambda when data specifications change, and requires that the timing of those updates be the same from the SQS perspective, making the deployment process more complex and devops cost expensive. BTW, failed messages are reviewed by scientists, and there is no requirement that they be automatically fix by the program.
upvoted 1 times
...
...
dzn
8 months, 3 weeks ago
Selected Answer: C
A Dead Letter Queue (DLQ) can be the destination queue for messages that cannot be successfully processed by other queues. DLQs are used to analyze why a message failed or to isolate problem messages.
upvoted 2 times
...
thanhnv142
9 months, 2 weeks ago
C is correct: Use dead letter queue and config maximum receives is the right way
upvoted 1 times
...
Bans
10 months, 1 week ago
definitely C
upvoted 1 times
...
harithzainudin
11 months, 1 week ago
Selected Answer: C
This is DLQ use case. So, its 100% C
upvoted 3 times
...
SafranboluLokumu
11 months, 2 weeks ago
Selected Answer: C
everyone votes C but answer seems as A. which one correct? should we trust to voters or examtopic? :D
upvoted 4 times
...
xhi158
1 year ago
The correct answer is C . This is a use case for Dead Letter Queue
upvoted 2 times
...
bugincloud
1 year, 1 month ago
Selected Answer: C
classic DLQ usecase
upvoted 1 times
...
Skshitiz
1 year, 2 months ago
Selected Answer: C
C - DLQ
upvoted 1 times
...
FEEREWMWKA
1 year, 2 months ago
C - DLQ
upvoted 1 times
...
andriit
1 year, 3 months ago
DevOps is about automation! Variant C says: "Instruct scientists... " :D So variant A is the best among other
upvoted 1 times
...
Just_Ninja
1 year, 4 months ago
Selected Answer: C
DLQ is the right solution. SQS is one to one! So Lambda make no sense.
upvoted 4 times
...
habros
1 year, 4 months ago
Selected Answer: C
Always do with DLQ for failed deliveries. C all the way
upvoted 1 times
...
madperro
1 year, 5 months ago
Selected Answer: C
C answer with DLQ is a right solution.
upvoted 1 times
...
bcx
1 year, 5 months ago
Selected Answer: C
The perfect case for a dead-letter queue
upvoted 1 times
...
Akaza
1 year, 5 months ago
Selected Answer: C
SQS DLQ needed
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