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?
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.
Venita
4 months agoLenna
4 months agoEttie
4 months agoOlive
4 months agoSolange
5 months agoAdelina
5 months agoMerrilee
5 months agoJamie
5 months agoAn
5 months agoArlette
5 months agoJosue
5 months agoPaola
5 months agoFrankie
6 months agoJunita
11 months agoAdaline
9 months agoChristiane
9 months agoMarvel
10 months agoElke
10 months agoAlpha
11 months agoBette
11 months agoIrving
11 months agoLeonora
11 months agoEmilio
11 months agoDominga
11 months agoTyra
11 months agoAlbina
11 months agoErick
10 months agoTammara
10 months agoJennie
11 months agoRonny
11 months agoWendell
12 months ago