DBS-C01 · Question #131
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…
The correct answer is D. Deactivate any applications that are using the DB instance. To preserve your data, perform the following procedure: 1.Deactivate any applications that are using the DB instance so that there's no activity on the DB 2.Create a snapshot of the DB instance. For more information about creating DB snapshots 3.If you want to restore your…
Question
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?
Options
- ACreate a snapshot of the DB instance. Modify the template to add the DBSnapshotIdentifier
- BModify the stack policy using the aws cloudformation update-stack command and the set-stack-
- CCreate a snapshot of the DB instance.
- DDeactivate any applications that are using the DB instance.
How the community answered
(59 responses)- A12% (7)
- B3% (2)
- C7% (4)
- D78% (46)
Explanation
To preserve your data, perform the following procedure: 1.Deactivate any applications that are using the DB instance so that there's no activity on the DB 2.Create a snapshot of the DB instance. For more information about creating DB snapshots 3.If you want to restore your instance using a DB snapshot, modify the updated template with your DB instance changes and add the DBSnapshotIdentifier property with the ID of the DB snapshot that you want to use 4.Update the stack. rds-database-instance.html
Topics
Community Discussion
No community discussion yet for this question.