DynamoDB Read Request Units for 8 KB Item | AWS Certified Developer - Associate

How many read request units of the DynamoDB table are required for an item up to 8 KB using one strongly consistent read request?

Prev Question Next Question

Question

How many read request units of the DynamoDB table are required for an item up to 8 KB using one strongly consistent read request?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - B.

One read request unit represents one strongly consistent read request, or two eventually consistent read requests for an item up to 4 KB in size.

As in the question, the item is up to 8KB, the DynamoDB table needs two read request units.

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html

In Amazon DynamoDB, read operations are measured in terms of "Read Capacity Units" (RCUs). Each RCU represents the capacity to read one item up to 4 KB in size per second. DynamoDB provides two types of read operations: strongly consistent read and eventually consistent read.

A strongly consistent read returns the most recent version of the data, reflecting all writes that received a successful response prior to the read. A strongly consistent read requires more resources than an eventually consistent read.

For an item up to 8 KB using one strongly consistent read request, we need to calculate the number of RCUs required.

Since the item is up to 8 KB in size, it will require 2 RCUs for each read operation. This is because each RCU can read up to 4 KB, and the item is 8 KB.

Therefore, the number of read request units required for one strongly consistent read request of an item up to 8 KB is 2.

Hence, the correct answer is (A) 1.