Data Operations and Support

Analysts have an Athena SQL workgroup but need notebook-based PySpark exploration of S3 data without managing a cluster. They must reuse transformed data after the notebook's Spark session ends; which actions meet these requirements? (Choose two.)

Choose 2 answers

Show the answer

Correct answersB. Create a Spark-enabled Athena workgroup for the notebooks.C. Write transformed DataFrames to S3 and reload them in later sessions.

AWhy not this: An Athena SQL workgroup cannot run Spark notebooks; they require a Spark-enabled workgroup.

BWhy this is right: A Spark-enabled workgroup provides the managed Spark environment required for Athena Spark notebooks.

CWhy this is right: S3 provides durable storage from which a later Spark session can reload the transformed data.

DWhy not this: Session caching accelerates reuse within a session but does not persist DataFrames after the session ends.

Athena Spark notebooks require a Spark-enabled workgroup, and writing results to S3 makes them reusable across sessions. Cached DataFrames belong to the current Spark session and do not survive its termination.