Amazon
SOA-C02 · Question #260
A SysOps administrator is examining the following AWS CloudFormation template: Why will the stack creation fail?
The correct answer is C. The PrivateDnsName cannot be set from a CloudFormation template. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2- Only available is PrivateDnsNameOptions.
Submitted by tyler.j· Mar 30, 2026Deployment, Provisioning, and Automation
Question
A SysOps administrator is examining the following AWS CloudFormation template:
Why will the stack creation fail?
Exhibit
Options
- AThe Outputs section of the CloudFormation template was omitted.
- BThe Parameters section of the CloudFormation template was omitted.
- CThe PrivateDnsName cannot be set from a CloudFormation template.
- DThe VPC was not specified in the CloudFormation template.
How the community answered
(24 responses)- A13% (3)
- B4% (1)
- C79% (19)
- D4% (1)
Explanation
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2- Only available is PrivateDnsNameOptions.
Topics
#CloudFormation#PrivateDnsName#template validation#EC2 attributes
Community Discussion
No community discussion yet for this question.
