exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 279 discussion

An AWS CloudFormation template creates an Amazon RDS instance. This template is used to build up development environments as needed and then delete the stack when the environment is no longer required. The RDS-persisted data must be retained for further use, even after the CloudFormation stack is deleted.

How can this be achieved in a reliable and efficient way?

  • A. Write a script to continue backing up the RDS instance every five minutes.
  • B. Create an AWS Lambda function to take a snapshot of the RDS instance, and manually invoke the function before deleting the stack.
  • C. Use the Snapshot Deletion Policy in the CloudFormation template definition of the RDS instance.
  • D. Create a new CloudFormation template to perform backups of the RDS instance, and run this template before deleting the stack.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Hanny
Highly Voted 1 year, 6 months ago
Selected Answer: C
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
upvoted 11 times
...
AndyMartinez
Highly Voted 1 year, 6 months ago
Selected Answer: C
Option C
upvoted 7 times
...
ansible902
Most Recent 1 year, 1 month ago
DeletionPolicy is an option to retain rather than delete.
upvoted 3 times
...
Abdullxh
1 year, 5 months ago
Answer is C
upvoted 4 times
...
Gomer
1 year, 6 months ago
Selected Answer: C
{ "AWSTemplateFormatVersion" : "2010-09-09", "Resources" : { "myDB" : { "Type" : "AWS::RDS::DBInstance", "DeletionPolicy" : "Retain" } } }
upvoted 6 times
null0xAF
9 months ago
It would be "DeletionPolicy": "Snapshot Since you are trying to delete resource but keep a backup. Retain will keep the Instance itself.
upvoted 4 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago