Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
AWS Certified Solutions Architect - Professional · AWS
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The correct answer is C, because the problem is caused by EC2 instances being terminated by Auto Scaling while processing a message, before the message can be deleted from the SQS queue. This causes the message to reappear and immediately go to the dead-letter queue due to maxReceiveCount = 1. Applying scale-in protection during processing ensures the instance is not terminated mid-task, preventing message loss.
Correct is C: B. 3-hour visibility timeout Too long for 30-minute processing Could delay reprocessing of failed messages Doesn't address root cause C. Scale-in protection during processing Prevents instance termination while processing Allows message processing to complete Prevents message return to queue Stops premature scale-in ✓ CORRECT
B is correct; updating the visibility timeout to 3 hours (option B) is the most appropriate solution as it gives enough time for the messages to be processed without being prematurely marked as failures.