Q24 — AWS SAA-C03 Ch.14
Question 24 of 100 | ← Chapter 14
Q1024. A company has multiple Amazon RDS DB instances that run in a development AWS account. All the instances have tags to identify them as development resources. The company needs the development DB instances to run on a schedule only during business hours.Which solution will meet these requirements with the LEAST operational overhead?
- A. Create an Amazon CloudWatch alarm to identify RDS instances that need to be stopped. Create an AWS Lambda function to start and stop the RDS instances.
- B. Create an AWS Trusted Advisor report to identify RDS instances to be started and stopped. Create an AWS Lambda function to start and stop the RDS instances.
- C. Create AWS Systems Manager State Manager associations to start and stop the RDS instances.
- D. Create an Amazon EventBridge rule that invokes AWS Lambda functions to start and stop the RDS instances. ✓
Correct Answer: D. Create an Amazon EventBridge rule that invokes AWS Lambda functions to start and stop the RDS instances.
Explanation
C OR D.To manage multiple Amazon RDS DB instances in a development AWS account, allowing them to run only during business hours with the least operational overhead, the best solution is:D. Create an Amazon EventBridge rule that invokes AWS Lambda functions to start and stop the RDS instances.Explanation:\1. Amazon EventBridge: - EventBridge can be configured to create rules based on a schedule. You can set up rules to trigger at specific times to start and stop the RDS instances automatically, aligning perfectly with business hours.\2. AWS Lambda Functions: - Lambda functions can be easily created to handle the logic for starting and stopping the RDS instances. This setup requires minimal management and operational overhead, as the Lambda function can use the AWS SDK to interact with the RDS instances based on tags.\3. Automation: - This solution automates the process completely, ensuring that the DB instances are only running when needed without manual intervention.Evaluation of Other Options:A. Create an Amazon CloudWatch alarm: - While this option could work, it would require more setup and monitoring than using EventBridge. CloudWatch is typically used for metric-based alerts rather than scheduled tasks.B. Create an AWS Trusted Advisor report: - Trusted Advisor does not automate actions. It merely provides recommendations, and creating a Lambda function based on its reports would still involve additional development effort.C. Create AWS Systems Manager State Manager associations: - While State Manager can manage resources, it is typically more suited for managing configurations and compliance rather than simple start/stop schedules. Setting this up may also involve more complexity than necessary for this use case.Conclusion:Option D provides the simplest and most effective way to automate the start and stop of RDS instances based on a schedule, ensuring minimal operational overhead while effectively managing resource usage during business hours.