AWS Cloud Practitioner · Cloud Technology and Services · medium

A data analyst needs to run standard SQL queries directly against Parquet log files stored in Amazon S3 without loading the data into a provisioned database cluster. Which serverless service should they use?

Published · Last updated · checked before publication — how we verify questions

Options

  • AAmazon Neptune managed graph database for social-network traversal queries
  • BAmazon Athena serverless interactive SQL query service over Amazon S3Correct answer
  • CAWS Database Migration Service for replicating Oracle tables to Aurora
  • DAmazon MQ managed message broker for Apache ActiveMQ and RabbitMQ

Answer: B. Amazon Athena serverless interactive SQL query service over Amazon S3

Amazon Athena is a serverless, interactive query service that lets you run standard SQL directly against data stored in Amazon S3. There is no cluster to provision or manage, and you pay for the queries you run. Athena reads common formats such as Parquet, ORC, JSON, and CSV in place, and it uses a table schema defined in the AWS Glue Data Catalog. That fits an analyst who wants ad hoc SQL over log files without loading them into a database. The underlying concept is separating storage from compute: data stays in S3 and Athena supplies on-demand query capacity. A common trap is choosing a database or data warehouse service because the question mentions SQL. Those services typically require loading data into a provisioned cluster or instance first. Keywords such as serverless, SQL, and data in S3 without loading should point you to Athena.

Why the other options are wrong

  • A. Amazon Neptune managed graph database for social-network traversal queries — Amazon Neptune is a managed graph database for highly connected data, queried with languages such as Gremlin, openCypher, or SPARQL. It stores its own data and does not run standard SQL over Parquet files in S3, so it does not fit this need.
  • C. AWS Database Migration Service for replicating Oracle tables to Aurora — AWS Database Migration Service moves and replicates data between databases, for example from Oracle to Aurora. It is a migration tool, not an analytics engine, and it does not provide ad hoc SQL querying of files in S3.
  • D. Amazon MQ managed message broker for Apache ActiveMQ and RabbitMQ — Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ, used for messaging between applications. It has no role in querying stored data and cannot run SQL against S3 objects.

All Cloud Technology and Services questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.