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:
If you anticipate that your workload will consistently exceed 100 requests per second, you should avoid
sequential key names. If you must use sequential numbers or date and time patterns in key names, add a
random prefix to the key name. The randomness of the prefix more evenly distributes key names across
multiple index partitions. Examples of introducing randomness are provided later in this topic.
C. Amazon S3 will automatically manage performance at this scale.
http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html
Wrong! It is over 100 PUT requests.
Answer is B.
Answer is B
http://www.aiotestking.com/amazon/what-should-you-do-to-ensure-optimal-performance-2/
Answer:-B
If you anticipate that your workload will consistently exceed 100 requests per second, you should avoid sequential key names. If you must use sequential numbers or date and time patterns in key names, add a random prefix to the key name. The randomness of the prefix more evenly distributes key names across multiple index partitions. Examples of introducing randomness are provided later in this topic.
Note
The guidelines provided for the key name prefixes in the following section also apply to the bucket name. When Amazon S3 stores a key name in the index, it stores the bucket names as part of the key name (for example, examplebucket/object.jpg).