AWS Certified Solutions Architect – Professional — Question 97
You are playing around with setting up stacks using JSON templates in CloudFormation to try and understand them a little better. You have set up about 5 or 6 but now start to wonder if you are being charged for these stacks.
What is AWS's billing policy regarding stack resources?
Answer options
- A. You are not charged for the stack resources if they are not taking any traffic.
- B. You are charged for the stack resources for the time they were operating (but not if you deleted the stack within 30 minutes)
- C. You are charged for the stack resources for the time they were operating (but not if you deleted the stack within 60 minutes)
- D. You are charged for the stack resources for the time they were operating (even if you deleted the stack right away)
Correct answer: D
Explanation
The correct answer is D because AWS charges for stack resources based on their operational time, regardless of any immediate deletions. Options A, B, and C incorrectly imply that there are conditions under which charges can be avoided after deletion, which is not the case.