AWS Certified Solutions Architect – Professional — Question 352
In an AWS CloudFormation template, each resource declaration includes:
Answer options
- A. a logical ID, a resource type, and resource properties
- B. a variable resource name and resource attributes
- C. an IP address and resource entities
- D. a physical ID, a resource file, and resource data
Correct answer: A
Explanation
In an AWS CloudFormation template, each resource block must be declared with a unique logical ID and a specific resource type, followed by its configuration properties. Physical IDs are only assigned by AWS after the resource is actually provisioned, making option A the correct structure.