Prev Question
Next Question

You are designing a web application that stores static assets in an Amazon Simple Storage Service (S3)
bucket. You expect this bucket to immediately receive over 150 PUT requests per second. What should you do
to ensure optimal performance?

A.
Use multi-part upload.

B.
Add a random prefix to the key names.

C.
Amazon S3 will automatically manage performance at this scale.

D.
Use a predictable naming scheme, such as sequential numbers or date time sequences, in the key names

Explanation:
One way to introduce randomness to key names is to add a hash string as prefix to the key name. For
example, you can compute an MD5 hash of the character sequence that you plan to assign as the key name.
From the hash, pick a specific number of characters, and add them as the prefix to the key name.

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *