How many provisioned write capacity units are needed for a motion sensor that writes 600 items of 5 KB every minute?

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 number of provisioned write capacity units needed, it's important to understand how write capacity units work in Amazon DynamoDB. A write capacity unit allows you to write one item up to 1 KB in size per second.

In this scenario, the motion sensor writes 600 items of 5 KB each minute. First, we need to calculate the total size of data being written in one minute:

  • Each item is 5 KB.
  • There are 600 items being written.

So, the total data written per minute is: 600 items * 5 KB/item = 3000 KB.

Since DynamoDB measures write capacity in terms of KB per second, we will convert this into the number of write capacity units needed for one second. There are 60 seconds in a minute, so we divide the total KB written in a minute by 60:

3000 KB/minute ÷ 60 seconds/minute = 50 KB/second.

Now, since each write capacity unit can handle 1 KB per second, you would need 50 write capacity units to handle the writing of 50 KB per second.

Therefore, the calculation shows that 50 provisioned write capacity units are necessary to accommodate the writing load of the motion

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy