Troubleshooting and Optimization II
Explore techniques to troubleshoot and optimize AWS developer workloads using real exam scenarios. Understand how to reduce DynamoDB capacity impact, identify latency sources with AWS X-Ray, analyze ALB health check failures, and use CloudWatch metrics to isolate API performance bottlenecks. Gain insights that help build resilient and scalable cloud applications.
We'll cover the following...
Question 60
A developer runs a nightly batch process that performs a full scan of a very large Amazon DynamoDB table to generate an internal report. The operation causes a severe spike in consumed read capacity, negatively affecting the performance of the main application that relies on the same table.
How can the developer modify the batch process to minimize the impact on the table’s provisioned throughput for the main application during the scan?
A. Operate a query instead of a scan by fetching data based on a Global Secondary Index (GSI).
B. Implement a parallel scan operation and set the Segment and TotalSegments parameters to a high number to speed up the data retrieval.
C. Implement a sequential scan, but configure the operation to retrieve a small Page Size to reduce the instantaneous throughput consumption.
D. Use a scan operation and apply a FilterExpression to the data to minimize the amount of data transferred over the network.