A development team runs monthly resource-intensive tests on a general purpose Amazon RDS for MySQL DB instance with Performance Insights enabled. The tests run for 48 hours once a month and are the only process using the database. The team wants to reduce the cost of running the tests without reducing the DB instance's compute and memory attributes. Which solution is MOST cost-effective?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a snapshot when tests are completed, terminate the DB instance, and restore the snapshot when required..
Why this is the answer
The most cost-effective solution is to create a snapshot, terminate the DB instance, and restore it when needed. This is because Amazon RDS charges for running instances, even if they are stopped. Terminating the instance ensures you only pay for storage (the snapshot) when not in use, which is significantly cheaper than paying for a stopped instance. Stopping and restarting an RDS instance still incurs charges for the underlying storage and I/O operations, making it less cost-effective than termination. Auto Scaling policies are not applicable to a single RDS instance for scaling down to zero, and modifying the instance to a low-capacity instance still incurs compute costs, albeit lower ones, when the database is not actively being used for the tests.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed