An analyst wants to explore a large S3 dataset interactively with PySpark code, without provisioning a cluster. What fits?
- Exam domain
- Data Operations and Support22% of the exam
- Difficulty
- Medium
- In this mock
- 21 questions on this domainPractise this domain
Why the exam asks this
Task Statement 3.2: Analyze data by using AWS services.
Objective in the exam guide: Use Athena notebooks that use Apache Spark to explore data.
Exploration often needs more than SQL. Serverless Spark notebooks give that power without cluster management.
Why B is the answer
An Amazon Athena notebook that uses Apache Spark
Athena notebooks run Apache Spark interactively, with no cluster to manage.
Remember: Interactive Spark without a cluster: Athena notebooks.
How it works
Amazon Athena supports Apache Spark through notebooks.
You write PySpark interactively, and Athena provides the Spark compute on demand.
There is no cluster to provision, size or shut down.
Clues in the question
The words that point to the answer, and what each one tells you.
- Interactively with PySpark
- A Spark notebook.
- Without provisioning a cluster
- Serverless: Athena for Spark.
In detail
- Athena for Apache Spark starts compute when the notebook runs.
- SQL users can keep using regular Athena queries.
Side by side with look-alikes
| Option | Spark | Cluster to manage |
|---|---|---|
| Athena Spark notebook | Yes | No |
| EMR cluster | Yes | Yes |
| Quick Sight | No | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. AWS DMSWrong
DMS migrates databases.
B. An Amazon Athena notebook that uses Apache SparkRight
Interactive Spark without a cluster: Athena notebooks.
C. A provisioned EMR cluster left running for the analystWrongMost tempting
A provisioned cluster means managing and paying for it.
Why it tempts: EMR runs Spark well. But it is a cluster to manage and pay for, even when idle.
D. Amazon Quick SightWrong
Quick Sight builds dashboards, not Spark code.
In practice
- Move heavy recurring work to scheduled jobs once exploration is done.
Use case
An illustrative scenario, not a real incident.
An analyst explores 500 GB of events in a PySpark notebook in Athena and shuts nothing down afterwards.
See how it works
flowchart LR N["Athena notebook, PySpark"] --> C["Spark compute on demand"] C --> S["Data in S3"]
How to read this chart
- Read it in order: Athena notebook, PySpark, then Spark compute on demand, then Data in S3.