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?
- ACreate an AWS Lambda function to schedule a cron job to run the stored procedure.
- BSchedule and run the stored procedure by using the Amazon Redshift Data API in an Amazon EC2 Spot Instance.
- CUse query editor v2 to run the stored procedure on a schedule. (correct answer)
- DSchedule an AWS Glue Python shell job to run the stored procedure.
Reveal answer & explanationHide answer
The correct answer is C. Option C: Use query editor v2 to run the stored procedure on a schedule. This option delivers the requirement at the lowest cost.