A permit handler runs five separate DynamoDB queries when one keyed access pattern with a wider item (or single query) would suffice. What should the developer change?
Select an answer to reveal the explanation.
Short Explanation
Five trips to the same desk for one permit folder is classic chattiness. Shape the item or the query so one keyed read brings what you need. Fewer round trips, snappier permits.
Full Explanation
Chatty data-store patterns increase latency and cost. Consolidating multiple DynamoDB queries into a single keyed Query/Get with an access-pattern-friendly item design improves performance. Adding more queries, scanning, or using Streams to multiply reads worsens the problem. Reducing unnecessary fan-out is a Domain 4 optimization skill.