0
0
DynamoDBquery~20 mins

Contributor Insights in DynamoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Contributor Insights Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
2:00remaining
Identify the top contributor by write operations
Given a DynamoDB table with Contributor Insights enabled, which query result shows the contributor with the highest number of write operations in the last hour?
DynamoDB
SELECT contributor_id, SUM(write_ops) AS total_writes FROM contributor_insights WHERE timestamp > CURRENT_TIMESTAMP - INTERVAL '1' HOUR GROUP BY contributor_id ORDER BY total_writes DESC LIMIT 1;
A{"contributor_id": "user321", "total_writes": 800}
B{"contributor_id": "user456", "total_writes": 1200}
C{"contributor_id": "user789", "total_writes": 900}
D{"contributor_id": "user123", "total_writes": 1500}
Attempts:
2 left
💡 Hint
Look for the highest sum of write_ops grouped by contributor_id.
🧠 Conceptual
intermediate
1:30remaining
Understanding Contributor Insights metrics
Which metric does Contributor Insights NOT provide by default?
ALatency of individual requests per contributor
BNumber of write operations per contributor
CNumber of read operations per contributor
DNumber of throttled requests per contributor
Attempts:
2 left
💡 Hint
Think about what Contributor Insights tracks about contributors' activity.
📝 Syntax
advanced
1:30remaining
Correct syntax to enable Contributor Insights on a table
Which of the following AWS CLI commands correctly enables Contributor Insights on a DynamoDB table named 'Orders'?
Aaws dynamodb update-table --table-name Orders --contributor-insights-status ENABLED
Baws dynamodb update-table --table-name Orders --contributor-insights-enabled true
Caws dynamodb update-table --table-name Orders --enable-contributor-insights
Daws dynamodb update-table --table-name Orders --contributor-insights ENABLE
Attempts:
2 left
💡 Hint
Check the exact parameter name for enabling Contributor Insights in AWS CLI.
optimization
advanced
2:00remaining
Optimizing Contributor Insights for high-cardinality contributors
You have a DynamoDB table with thousands of unique contributors causing Contributor Insights to generate too many metrics. What is the best approach to reduce metric cardinality?
AIncrease the table's read capacity units to handle more metrics
BDisable Contributor Insights entirely to stop metric collection
CUse Contributor Insights filters to include only top contributors
DAggregate contributors into groups before enabling Contributor Insights
Attempts:
2 left
💡 Hint
Think about filtering metrics to reduce the number of contributors tracked.
🔧 Debug
expert
2:30remaining
Diagnosing missing Contributor Insights data
You enabled Contributor Insights on your DynamoDB table, but no contributor metrics appear after 24 hours. Which is the most likely cause?
AThe table has no activity matching the contributor dimension
BThe IAM role lacks permissions to publish Contributor Insights metrics
CContributor Insights only works on global secondary indexes, not tables
DContributor Insights requires at least 48 hours to start reporting metrics
Attempts:
2 left
💡 Hint
Check permissions related to Contributor Insights metric publishing.