AWS Certified Solutions Architect – Professional — Question 447
In the context of AWS CloudFormation, which of the following statements is correct?
Answer options
- A. Actual resource names are a combination of the resource ID, stack, and logical resource name.
- B. Actual resource name is the stack resource name.
- C. Actual resource name is the logical resource name.
- D. Actual resource names are a combination of the stack and logical resource name.
Correct answer: D
Explanation
When AWS CloudFormation provisions resources without an explicitly defined physical name, it automatically generates one. This generated name is a combination of the CloudFormation stack name, the logical name specified in the template, and a unique suffix to prevent naming conflicts. Therefore, option D is the correct description of this naming behavior.