AWS Certified Database – Specialty — Question 122

A company is developing a new web application. An AWS CloudFormation template was created as a part of the build process.
Recently, a change was made to an AWS::RDS::DBInstance resource in the template. The CharacterSetName property was changed to allow the application to process international text. A change set was generated using the new template, which indicated that the existing DB instance should be replaced during an upgrade.
What should a database specialist do to prevent data loss during the stack upgrade?

Answer options

Correct answer: D

Explanation

Option D is correct because it ensures that the applications are not using the DB instance while a snapshot is taken, which prevents data loss. The other options either do not involve stopping the applications (A and C) or do not adequately protect the DB resource during the upgrade (B). Taking a snapshot before making changes is crucial for data recovery.