Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DOP-C02 Topic 5 Question 44 Discussion

Actual exam question for Amazon's DOP-C02 exam
Question #: 44
Topic #: 5
[All DOP-C02 Questions]

A company is using an Amazon Aurora cluster as the data store for its application. The Aurora cluster is configured with a single DB instance. The application performs read and write operations on the database by using the cluster's instance endpoint.

The company has scheduled an update to be applied to the cluster during an upcoming maintenance window. The cluster must remain available with the least possible interruption during the maintenance window.

What should a DevOps engineer do to meet these requirements?

Show Suggested Answer Hide Answer
Suggested Answer: D

Step 2: Using an SQS Dead-Letter Queue (DLQ) Configuring a dead-letter queue (DLQ) for SQS will ensure that messages with invalid data, or those that cannot be processed successfully, are moved to the DLQ. This prevents such messages from clogging the queue and allows the system to focus on processing valid messages.

Action: Configure an SQS dead-letter queue for the main queue.

Why: A DLQ helps isolate problematic messages, preventing them from continuously reappearing in the queue and causing processing delays for valid messages.

Step 3: Maintaining the Lambda Function's Batch Size Keeping the current batch size allows the Lambda function to continue processing multiple messages at once. By addressing the failed items separately, there's no need to increase or reduce the batch size.

Action: Maintain the Lambda function's current batch size.

Why: Changing the batch size is unnecessary if the invalid messages are properly handled by reporting failed items and using a DLQ.

This corresponds to Option D: Keep the Lambda function's batch size the same. Configure the Lambda function to report failed batch items. Configure an SQS dead-letter queue.

Contribute your Thoughts:

Junita
1 months ago
I heard the maintenance window is scheduled during rush hour traffic. Good luck to the DevOps engineer trying to keep that cluster up and running!
upvoted 0 times
Marvel
24 days ago
B: Yeah, that sounds like a good idea. They could also update the Aurora cluster's reader endpoint for reads.
upvoted 0 times
...
Elke
29 days ago
A: I think the DevOps engineer should add a reader instance to the Aurora cluster and update the application to use the Aurora cluster endpoint for write operations.
upvoted 0 times
...
...
Alpha
2 months ago
Hold up, are we sure this isn't just a trick question to see if we're paying attention? I'm going with Option B, just to be safe.
upvoted 0 times
...
Bette
2 months ago
I'm not sure, but I think turning on the Multi-AZ option could also help with availability during maintenance.
upvoted 0 times
...
Irving
2 months ago
I agree with Wendell. Adding a reader instance and updating the application seems like the best approach.
upvoted 0 times
...
Leonora
2 months ago
Option D is like the Swiss Army Knife of solutions - it has everything! Custom endpoints and Multi-AZ? Sign me up!
upvoted 0 times
Emilio
1 months ago
User 2: Yeah, I agree. Having custom endpoints and Multi-AZ is a solid plan.
upvoted 0 times
...
Dominga
1 months ago
User 1: Option D sounds like the best choice. It covers all the bases.
upvoted 0 times
...
...
Tyra
2 months ago
I'm not sure about this 'custom ANY endpoint' thing. Sounds a bit sketchy to me. I'll stick with Option C and the tried-and-true Multi-AZ approach.
upvoted 0 times
...
Albina
2 months ago
Option A is the way to go! Adding a reader instance ensures high availability during the maintenance window.
upvoted 0 times
Erick
26 days ago
D: Multi-AZ option might be useful, but I think Option A covers the requirements efficiently.
upvoted 0 times
...
Tammara
1 months ago
C: The reader endpoint for reads is also important to consider for minimal interruption.
upvoted 0 times
...
Jennie
1 months ago
B: I agree, updating the application to use the cluster endpoint for write operations is key.
upvoted 0 times
...
Ronny
1 months ago
A: Option A is definitely the best choice. Adding a reader instance will help maintain availability.
upvoted 0 times
...
...
Wendell
2 months ago
I think the answer is A.
upvoted 0 times
...

Save Cancel
a