
Answer-first summary for fast verification
Answer: Apply a 'Retain' deletion policy to Parameter Store parameters within the CloudFormation stack.
The correct answer is A: Apply a 'Retain' deletion policy to Parameter Store parameters within the CloudFormation stack. By setting the deletion policy to 'Retain', the parameters are preserved during stack updates and deletions, preventing the reset of values changed by the application. This method ensures that the parameter values remain intact without additional complexity or major changes to the deployment process. Options B and C suggest moving the configuration to different services which involve more effort and potential redesign of the application. Option D would prevent any updates to the parameters, which is not advisable as it could cause stack update failures.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In AWS CloudFormation, a developer encounters parameter value resets during stack updates, which undo application-modified settings. What is the least effort solution to maintain parameter integrity across updates?
A
Apply a 'Retain' deletion policy to Parameter Store parameters within the CloudFormation stack.
B
Integrate an Amazon DynamoDB table for configuration, transferring parameters from Parameter Store.
C
Utilize an Amazon RDS instance for configuration management, migrating parameters to a database table.
D
Enforce a stack policy to restrict updates on Parameter Store parameters.
No comments yet.