Amazon

MLA-C01 practice question 10

AWS Certified Machine Learning Engineer - Associate (MLA-C01) · free question 10 of 20

Question

An ML engineer needs to process thousands of existing CSV objects and new CSV objects that are uploaded. The CSV objects are stored in a central Amazon S3 bucket and have the same number of columns. One of the columns is a transaction date. The ML engineer must query the data based on the transaction date. Which solution will meet these requirements with the LEAST operational overhead?
  • A. Use an Amazon Athena CREATE TABLE AS SELECT (CTAS) statement to create a table based on the transaction date from data in the central S3 bucket. Query the objects from the table. Correct
  • B. Create a new S3 bucket for processed data. Set up S3 replication from the central S3 bucket to the new S3 bucket. Use S3 Object Lambda to query the objects based on transaction date.
  • C. Create a new S3 bucket for processed data. Use AWS Glue for Apache Spark to create a job to query the CSV objects based on transaction date. Configure the job to store the results in the new S3 bucket. Query the objects from the new S3 bucket.
  • D. Create a new S3 bucket for processed data. Use Amazon Data Firehose to transfer the data from the central S3 bucket to the new S3 bucket. Configure Firehose to run an AWS Lambda function to query the data based on transaction date.

Explanation

Option A is correct because using Amazon Athena with a CREATE TABLE AS SELECT (CTAS) statement allows for direct querying of CSV objects stored in an S3 bucket without requiring additional processing or setup. This approach minimizes operational overhead as it leverages the existing data and infrastructure, enabling efficient querying based on the transaction date.

Need the theory? Learn it free in the MLA-C01 course on Godlike Academy

Practice the whole free set

Answer all 20 free MLA-C01 questions with instant feedback, or unlock all 240 questions with Learn and Exam modes.