AWS Certified Developer – Associate — Question 116
A company is developing a microservice that will manage customer account data in an Amazon DynamoDB table. Insert, update, and delete requests will be rare. Read traffic will be heavy. The company must have the ability to access customer data quickly by using a customer ID. The microservice can tolerate stale data.
Which solution will meet these requirements with the FEWEST possible read capacity units (RCUs)?
Answer options
- A. Read the table by using eventually consistent reads.
- B. Read the table by using strongly consistent reads.
- C. Read the table by using transactional reads.
- D. Read the table by using strongly consistent PartiQL queries.
Correct answer: A
Explanation
Using eventually consistent reads (Option A) will consume fewer read capacity units (RCUs) because it allows for some delay in data consistency, making it more efficient for high read workloads. Strongly consistent reads (Option B) and transactional reads (Option C) require more RCUs due to their nature of providing immediate consistency. Strongly consistent PartiQL queries (Option D) also incur higher costs, as they are similar to strongly consistent reads in terms of resource utilization.