nerdexam
AmazonAmazon

SOA-C03 · Question #76

SOA-C03 Question #76: Real Exam Question with Answer & Explanation

The correct answer is C: The PrivateDnsName cannot be sot from a CloudFormation template.. In AWS CloudFormation, the PrivateDnsName property of an AWS::EC2::Instance resource is a read-only attribute automatically assigned by AWS when the instance is launched. It cannot be manually specified in the template. Attempting to define it causes stack creation to fail with a

Submitted by rohit_dlh· Mar 5, 2026

Question

A CloudOps engineer is examining the following AWS CloudFormation template: Why will the stack creation fail?

Options

  • AThe Outputs section of the CloudFormation template was omitted.
  • BThe Parameters section of the CloudFormation template was omitted.
  • CThe PrivateDnsName cannot be sot from a CloudFormation template.
  • DThe VPC was not specified in the CloudFormation template.

Explanation

In AWS CloudFormation, the PrivateDnsName property of an AWS::EC2::Instance resource is a read-only attribute automatically assigned by AWS when the instance is launched. It cannot be manually specified in the template. Attempting to define it causes stack creation to fail with a validation error. CloudFormation manages this value based on the subnet and VPC DNS configuration, so it must be omitted from the template.

Community Discussion

No community discussion yet for this question.

Full SOA-C03 PracticeBrowse All SOA-C03 Questions