AWS Certified Big Data – Specialty — Question 55
A company is centralizing a large number of unencrypted small files from multiple Amazon S3 buckets. The company needs to verify that the files contain the same data after centralization.
Which method meets the requirements?
Answer options
- A. Compare the S3 Etags from the source and destination objects.
- B. Call the S3 CompareObjects API for the source and destination objects.
- C. Place a HEAD request against the source and destination objects comparing SIG v4.
- D. Compare the size of the source and destination objects.
Correct answer: A
Explanation
The correct answer is A because S3 Etags are unique identifiers that are generated based on the content of the objects, allowing for a direct comparison to verify data integrity. Options B and C are not applicable as there is no S3 CompareObjects API, and comparing SIG v4 is not a reliable method for ensuring identical content. Option D only checks file size, which does not guarantee that the actual content is the same.