ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 272 - SOA-C02 discussion

Report
Export

A SysOps administrator is examining the following AWS CloudFormation template:

Why will the stack creation fail?

A.
The Outputs section of the Cloud Formation template was omitted.
Answers
A.
The Outputs section of the Cloud Formation template was omitted.
B.
The Parameters section of the CtoudFormation template was omitted.
Answers
B.
The Parameters section of the CtoudFormation template was omitted.
C.
The PnvateDnsName cannot be set from a CloudFormation template.
Answers
C.
The PnvateDnsName cannot be set from a CloudFormation template.
D.
The VPC was not specified in the CloudFormation template.
Answers
D.
The VPC was not specified in the CloudFormation template.
Suggested answer: C

Explanation:

In AWS CloudFormation, the PrivateDnsName property of an EC2 instance cannot be directly set within the template. This property is automatically assigned by AWS when the instance is launched within a VPC and is associated with the private IP address of the instance. The attempt to explicitly set PrivateDnsName in a CloudFormation template will result in an error, causing the stack creation to fail. Therefore, option C is correct. For reference, the AWS documentation on EC2 instances in CloudFormation does not list PrivateDnsName as a configurable property AWS CloudFormation User Guide.

asked 16/09/2024
Ramon Lim
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first