PrepAway - Latest Free Exam Questions & Answers

which naming scheme would give optimal performance on S3?

If an application is storing hourly log files from thousands of instances from a high traffic web site, which
naming scheme would give optimal performance on S3?

PrepAway - Latest Free Exam Questions & Answers

A.
Sequential

B.
instanceID_log-HH-DD-MM-YYYY

C.
instanceID_log-YYYY-MM-DD-HH

D.
HH-DD-MM-YYYY-log_instanceID

E.
YYYY-MM-DD-HH-log_instanceID

10 Comments on “which naming scheme would give optimal performance on S3?

  1. AWS Enthusiast says:

    D

    If an application is storing hourly log files from thousands of instances from a high traffic web site, which naming scheme would give optimal performance on S3?
    Sequential
    instanceID_log-HH-DD-MM-YYYY
    instanceID_log-YYYY-MM-DD-HH
    HH-DD-MM-YYYY-log_instanceID (HH will give some randomness to start with instead of instaneId where the first characters would be i-)
    YYYY-MM-DD-HH-log_instanceID

    http://jayendrapatil.com/aws-s3-best-practices/




    2



    0
  2. Vergnac Cyril says:

    The good answer is the most random prefix

    Each hour, all parameters are equals except instanceID because there are thousands of instances
    So, it’s B or C
    Not D because HH is the same for all instances at a given moment.

    The mentionned URL is good:
    http://docs.aws.amazon.com/AmazonS3/latest/dev/request-rate-perf-considerations.html
    You can read:
    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.

    After that, i choose B because the next hour, the only change is the hour HH
    So it’s more random than YYYY




    0



    1

Leave a Reply

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