A manufacturing company has machine sensors that upload .csv files to an Amazon S3 bucket. These .csv files must be converted into images and must be made available as soon as possible for the automatic generation of graphical reports. The images become irrelevant after 1 month, but the .csv files must be kept to train machine learning (ML) models twice a year. The ML trainings and audits are planned weeks in advance. Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)
Select an option, then click Submit answer.
Reference / correct answer:
Design an AWS Lambda function that converts the .csv files into images and stores the images in the S3 bucket. Invoke the Lambda function when a .csv file is uploaded.
Most accepted answer: B. Design an AWS Lambda function that converts the .csv files into images and stores the images in the S3 bucket. Invoke the Lambda function when a .csv file is uploaded.
Community votes: B=12, C=11, E=1
Selected Answer: BC https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html upvoted 5 times
Selected Answer: BC B for processing the images via Lambda as it's more cost efficient than EC2 spot instances C for expiring images after 30 days and because the ML trainings are planned weeks in advance so S3 glacier is ideal for slow retrieval and cheap storage. D and E uses S3 infrequent access which is more expensive than glacier upvoted 3 times
Selected Answer: BC Not A, we need the images "as soon as possible", A runs every hour "ML trainings and audits are planned weeks in advance" thus Glacier (C) is ok. upvoted 3 times
Selected Answer: BC Answer is B&C. For D, you must store data for 30 days in s3 standard before move to IA tiers, glacier is fine https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#:~:text=Before%20you%20transition%20objects%20to%20S3%20Standard%2DIA%20or%20S3%20One%20Zone%2DIA%2C%20you%20must%20store%20them%20for%20at%20least%2030%20days%20in%20Amazon%20S3 upvoted 4 times
Selected Answer: BC Definitely B & C upvoted 3 times