Exam DEA-C01 All QuestionsBrowse all questions from this exam
Question 101

A data engineer finished testing an Amazon Redshift stored procedure that processes and inserts data into a table that is not mission critical. The engineer wants to automatically run the stored procedure on a daily basis.

Which solution will meet this requirement in the MOST cost-effective way?

    Correct Answer: C

    The most cost-effective solution to automatically run a stored procedure on a daily basis would be using the query editor v2 within Amazon Redshift to schedule the procedure. This method does not incur additional costs as it leverages the existing capabilities of Amazon Redshift without needing additional AWS services like EC2 Spot Instances, AWS Glue, or AWS Lambda which would potentially add extra charges.

Discussion
artworkadOption: C

This can be achieved with query editor v2 (https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2-schedule-query.html)

GHill1982Option: C

I think all options other than using the query editor will incur additional costs.

androloginOption: C

I go with C because it runs the query within the Redshift instance, B may not be appropriate because it involves other services on top of the Redshift instance and there is movement of data across the services.

4d716d6Option: B

given that the table is not mission-critical and requires the "MOST cost-effective way."

salayea28Option: B

I am going with option B, given that the table is not mission-critical and requires the "MOST cost-effective way." AWS Spot Instances are Amazon EC2 instances that allow you to utilize spare EC2 capacity at a significantly lower cost than On-Demand instances. These instances are ideal for flexible workloads that can tolerate interruptions, such as batch processing, data analysis, and background processing jobs.

tgvOption: A

AWS Lambda, combined with Amazon CloudWatch Events for scheduling, provides a low-cost, serverless, and reliable way to automatically run the stored procedure daily.

lalitjhawar

A. Create an AWS Lambda function to schedule a cron job to run the stored procedure.