AWS Certified Data Engineer – Associate (DEA-C01) — Question 13

A data engineer must orchestrate a series of Amazon Athena queries that will run every day. Each query can run for more than 15 minutes.
Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Option A is correct because using AWS Lambda with the Athena Boto3 client allows for efficient programmatic invocation of Athena queries without the need for continuous polling. Option B complements this by utilizing AWS Step Functions to manage the workflow, including waiting for the query to finish before starting the next, ensuring cost-effectiveness and structured execution. The other options either introduce unnecessary complexity or do not leverage the most efficient AWS services for this task.