AWS Certified Solutions Architect – Professional — Question 211

A fleet of Amazon ECS instances is used to poll an Amazon SQS queue and update items in an Amazon DynamoDB database. Items in the table are not being updated, and the SQS queue is filling up. Amazon CloudWatch Logs are showing consistent 400 errors when attempting to update the table. The provisioned write capacity units are appropriately configured, and no throttling is occurring.
What is the LIKELY cause of the failure?

Answer options

Correct answer: D

Explanation

The correct answer is D because if the ECS task role was modified, it might not have the necessary permissions to update the DynamoDB table, leading to the 400 errors. Options A and B do not directly relate to the ability to update the database, while option C pertains to the instance task execution role, which is not responsible for updating database items.