nerdexam
Amazon

MLS-C01 · Question #57

A Machine Learning Specialist must build out a process to query a dataset on Amazon S3 using Amazon Athena. The dataset contains more than 800,000 records stored as plaintext CSV files. Each record…

The correct answer is A. Convert the records to Apache Parquet format. Using compressions will reduce the amount of data scanned by Amazon Athena, and also reduce your S3 bucket storage. It's a Win-Win for your AWS bill. Supported formats: GZIP, LZO, SNAPPY (Parquet) and ZLIB.

Data Engineering

Question

A Machine Learning Specialist must build out a process to query a dataset on Amazon S3 using Amazon Athena. The dataset contains more than 800,000 records stored as plaintext CSV files. Each record contains 200 columns and is approximately 1.5 MB in size. Most queries will span 5 to 10 columns only. How should the Machine Learning Specialist transform the dataset to minimize query runtime?

Options

  • AConvert the records to Apache Parquet format.
  • BConvert the records to JSON format.
  • CConvert the records to GZIP CSV format.
  • DConvert the records to XML format.

How the community answered

(70 responses)
  • A
    87% (61)
  • B
    1% (1)
  • C
    9% (6)
  • D
    3% (2)

Explanation

Using compressions will reduce the amount of data scanned by Amazon Athena, and also reduce your S3 bucket storage. It's a Win-Win for your AWS bill. Supported formats: GZIP, LZO, SNAPPY (Parquet) and ZLIB.

Topics

#Amazon Athena#Apache Parquet#Query Optimization#Data Storage Formats

Community Discussion

No community discussion yet for this question.

Full MLS-C01 Practice