Compliance has asked a one-off question about a year of web server logs that are already sitting in Amazon S3 as compressed files. The answer is needed this week, the question is unlikely to be asked again, and nobody wants to stand up a cluster or load the data anywhere first. Which service answers it?

AWS Certified Cloud Practitioner (CLF-C02), objective 3. Cloud technology and services medium

Machine-checked — no person has signed for it. This question was read against the source cited below by an automated pass, which found no contradiction. That is a weaker claim than it sounds: the same kind of process wrote the question, so it can confirm its own mistake.

Treat it as a good draft rather than as settled fact, and read the source below before you rely on it. It is not used in mock exams here — only questions a person has signed for are.

The options

Correct Amazon Athena

Correct. Athena runs SQL directly against files in S3 with no infrastructure to create, and it is billed by the amount of data each query scans — which is the right economics for a question asked once.

Not correct Amazon Redshift

Wrong for a one-off. Redshift is a data warehouse: excellent when the same analytical questions are asked every day over data you have loaded, but here you would build a cluster and load a year of logs into it to answer a single query.

Not correct Amazon EMR

Wrong. EMR runs managed big-data frameworks such as Spark and Hadoop. It is far more capable than this needs and comes with cluster sizing and job authoring that a single SQL question does not justify.

Not correct Amazon QuickSight

Wrong layer. QuickSight is the business intelligence and dashboard tool. It visualises results from a source such as Athena or Redshift; it is not itself the engine that reads raw files in a bucket.

Why

The analytics services divide by job. Athena asks S3 a question in SQL, serverless and per query. AWS Glue is the catalog and the ETL that tells Athena what those files contain. Redshift is the warehouse where data you query repeatedly lives. EMR is for the big-data frameworks when SQL is not enough. QuickSight is the dashboard on top. A useful shorthand: Athena is for the question you ask once, Redshift is for the questions you ask every morning.

Where this comes from

Cited
AWS exam guide task statement 3.7

Practise this

Reading one question is not practice. The trainer will draw a set from objective 3 and space the ones you get wrong.

Practise AWS Certified Cloud Practitioner (CLF-C02)

More questions on this objective

All questions on Cloud technology and services