exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 537 discussion

Exam question from Amazon's AWS-SysOps
Question #: 537
Topic #: 1
[All AWS-SysOps Questions]

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 execute 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: D 🗳️
Reference -
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html

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
YashBindlish
Highly Voted 2 years, 7 months ago
Correct Answer is C With the Snapshot DeletionPolicy set, AWS CloudFormation will take a snapshot of this DB Instance before deleting it during stack deletion.
upvoted 7 times
...
albert_kuo
Most Recent 10 months ago
Selected Answer: C
Using a Snapshot Deletion Policy is a reliable and efficient way to retain the data because it automates the process within the CloudFormation stack itself. It ensures that the final snapshot is created and preserved, eliminating the need for manual intervention or separate scripts.
upvoted 1 times
...
TroyMcLure
2 years, 5 months ago
Correct Answer: C https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
upvoted 1 times
...
hnmurugan
2 years, 5 months ago
C: Ref - https://aws.amazon.com/premiumsupport/knowledge-center/delete-cf-stack-retain-resources/
upvoted 2 times
...
a_w_s
2 years, 6 months ago
C is the good answer!
upvoted 1 times
...
sen12
2 years, 6 months ago
C : With the DeletionPolicy attribute you can preserve or (in some cases) backup a resource when its stack is deleted. You specify a DeletionPolicy attribute for each resource that you want to control. If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.
upvoted 3 times
...
karmaah
2 years, 6 months ago
C : If a resource has no DeletionPolicy attribute, AWS CloudFormation deletes the resource by default.
upvoted 3 times
...
jxhyxxclyp
2 years, 6 months ago
ans is C
upvoted 3 times
...
saumenP
2 years, 6 months ago
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
upvoted 2 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