If an application writes 600 items of 5 KB each every minute, what should the write throughput be set to?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Study for the AWS Certified Developer Associate Exam with flashcards and multiple choice questions. Each question offers hints and explanations. Get ready to enhance your cloud development skills and pass your certification exam!

To determine the required write throughput, first calculate the total amount of data being written in a minute. If an application writes 600 items of 5 KB each, the total write size per minute can be calculated by multiplying the number of items by the size of each item.

600 items multiplied by 5 KB per item equals 3000 KB per minute, which can also be expressed as 3 MB per minute. In Amazon DynamoDB, throughput is measured in write capacity units (WCUs), where one WCU allows for writing one item up to 1 KB in size per second.

To convert the total write size into WCUs:

  1. Determine how many KB are being written per second. Since there are 60 seconds in a minute, divide the total KB for the minute by 60 seconds.

    • 3000 KB per minute / 60 seconds = 50 KB per second.
  2. Now, to find how many write capacity units are needed, divide the total KB per second by the size of an item (1 KB):

    • 50 KB per second / 1 KB per WCU = 50 WCUs.

Therefore, the appropriate setting for write throughput is 50 provisioned write capacity units

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy