Troubleshooting and Optimization A free question from our original DVA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
On Monday, the orders-prod DynamoDB table began throttling after its provisioned capacity was changed.
No one on the team remembers making the change, and no trail has been created. The change was made 12 days ago. The developer wants to find the user or role that made the change and the time it was made.
Where should the developer look?
Choose one answer.
AA. The table's CloudWatch metrics, which show consumed capacity by hour.
BB. CloudTrail event history, filtered to the UpdateTable event for the table's ARN.
CC. The table's DynamoDB Streams records, which show each change made to the table's settings.
DD. The application's X-Ray traces, which show each DynamoDB call the application made.
Show the answer and explanation
Answer: B
A. Wrong: Metrics show how much capacity was used and when, but not who changed the table's settings or which API call made the change.
B. Right: Correct. Event history keeps the past 90 days of management events in the Region, and a table update is a management event. Filtering by UpdateTable shows the caller's identity and the time of the call, without a trail. Learn more: Working with CloudTrail event history (opens in a new tab)
C. Wrong: DynamoDB Streams records changes to items in a table, not changes to its capacity or other settings. It cannot show who changed the settings.
D. Wrong: X-Ray traces show the application's DynamoDB calls and their timing. They do not record who changed the table's configuration.
Explanation
CloudTrail event history is on by default and shows management events from the past 90 days in each Region, without any trail. A table update is recorded with the caller, the time and the API name, so it answers who and when. Metrics, streams and traces do not record configuration changes.
Want more on Root cause analysis? The 5 full-length practice sets have 14 more Root cause analysis questions, 390 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →