A company’s data analyst needs to ensure that queries executed in Amazon Athena cannot scan more than a prescribed amount of data for cost control purposes. Queries that exceed the prescribed threshold must be canceled immediately.
What should the data analyst do to achieve this?
A . Configure Athena to invoke an AWS Lambda function that terminates queries when the prescribed threshold is crossed.
B . For each workgroup, set the control limit for each query to the prescribed threshold.
C . Enforce the prescribed threshold on all Amazon S3 bucket policies
D . For each workgroup, set the workgroup-wide data usage control limit to the prescribed threshold.
Answer: D
Explanation:
Reference: https://docs.aws.amazon.com/athena/latest/ug/workgroups-setting-control-limitscloudwatch.html
Leave a Reply