AWS Certified Big Data – Specialty — Question 45
A company generates a large number of files each month and needs to use AWS import/export to move these files into Amazon S3 storage. To satisfy the auditors, the company needs to keep a record of which files were imported into Amazon S3.
What is a low-cost way to create a unique log for each import job?
Answer options
- A. Use the same log file prefix in the import/export manifest files to create a versioned log file in Amazon S3 for all imports.
- B. Use the log file prefix in the import/export manifest files to create a unique log file in Amazon S3 for each import.
- C. Use the log file checksum in the import/export manifest files to create a unique log file in Amazon S3 for each import.
- D. Use a script to iterate over files in Amazon S3 to generate a log after each import/export job.
Correct answer: B
Explanation
Option B is correct because using a unique log file prefix for each import in the manifest files ensures that each import job's logs are kept separate and identifiable. Option A would lead to a single versioned log, making it difficult to distinguish between different imports. Option C could work, but checksums are not typically used for logging purposes, and Option D is not efficient as it requires post-processing rather than maintaining logs during the import process.