
Answer-first summary for fast verification
Answer: Create a cron event in CloudWatch, which triggers an AWS Lambda function that triggers the database snapshot
Create a cron event in CloudWatch, which triggers an AWS Lambda function that triggers the database snapshot - There are multiple ways to run periodic jobs in AWS. CloudWatch Events with Lambda is the simplest of all solutions. To do this, create a CloudWatch Rule and select “Schedule” as the Event Source. You can either use a cron expression or provide a fixed rate (such as every 5 minutes). Next, select “Lambda Function” as the Target. Your Lambda will have the necessary code for snapshot functionality. Incorrect options: Enable RDS automatic backups - You can enable automatic backups but as of 2020, the retention period is 0 to 35 days. Enable RDS Read replicas - Amazon RDS server's built-in replication functionality to create a special type of DB instance called a read replica from a source DB instance. Updates made to the source DB instance are asynchronously copied to the read replica. Read replicas are useful for heavy read-only data workloads. These are not suitable for the given use-case. Enable RDS Multi-AZ - Multi-AZ allows you to create a highly available application with RDS. It does not directly help in database backups or retention periods. Reference:
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has recently entered a three-year contract with a healthcare provider, which explicitly mandates that monthly database backups must be securely retained for the entire duration of the contract to ensure compliance. Given that the current limit on backup retention for automated backups in Amazon Relational Database Service (RDS) is insufficient to meet these stipulations, you need to identify the appropriate solution to fulfill this contractual obligation.
Which of the following solutions can help you meet your requirements?
A
Enable RDS Read replicas
B
Enable RDS automatic backups
C
Create a cron event in CloudWatch, which triggers an AWS Lambda function that triggers the database snapshot
D
Enable RDS Multi-AZ
No comments yet.