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?
A) Create a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier property with the ID of the DB snapshot. Update the stack.
B) Modify the stack policy using the aws cloudformation update-stack command and the set-stack-policy command, then make the DB resource protected.
C) Create a snapshot of the DB instance. Update the stack. Restore the database to a new instance.
D) Deactivate any applications that are using the DB instance. Create a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier property with the ID of the DB snapshot. Update the stack and reactivate the applications.
Correct Answer:
Verified
Q80: A company just migrated to Amazon Aurora
Q81: A company has a 20 TB production
Q82: A company has an application that uses
Q83: A company uses Amazon Aurora for secure
Q84: A company is running a website on
Q86: A company has a production environment running
Q87: A company's ecommerce website uses Amazon DynamoDB
Q88: A company is migrating its on-premises database
Q89: A large company has a variety of
Q90: A banking company recently launched an Amazon
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents