DBS-C01 · Question #282
An online bookstore recently migrated its database from on-premises Oracle to Amazon Aurora PostgreSQL 13. The bookstore uses scheduled jobs to run customized SQL scripts to administer the Oracle data
The correct answer is D. Turn on the pg_cron extension in the Aurora PostgreSOL database and schedule the database. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/PostgreSQL_pg_cron.html
Question
An online bookstore recently migrated its database from on-premises Oracle to Amazon Aurora PostgreSQL 13. The bookstore uses scheduled jobs to run customized SQL scripts to administer the Oracle database, running hours-long maintenance tasks, such as partition maintenance and statistics gathering. The bookstore's application team has reached out to a database specialist seeking an ideal replacement for scheduling jobs with Aurora PostgreSQL. What should the database specialist implement to meet these requirements with MINIMAL operational overhead?
Options
- AConfigure an Amazon EC2 instance to run on a schedule to initiate database maintenance jobs
- BConfigure AWS Batch with AWS Step Functions to schedule long-running database maintenance
- CCreate an Amazon EventBridae (Amazon CloudWatch Events) rule with AWS Lambda that runs
- DTurn on the pg_cron extension in the Aurora PostgreSOL database and schedule the database
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C4% (1)
- D84% (21)
Explanation
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/PostgreSQL_pg_cron.html
Topics
Community Discussion
No community discussion yet for this question.