AWS Certified Solutions Architect – Professional — Question 556

You have written a CloudFormation template that creates 1 Elastic Load Balancer fronting 2 EC2 Instances.
Which section of the template should you edit so that the DNS of the load balancer is returned upon creation of the stack?

Answer options

Correct answer: B

Explanation

The Outputs section of a CloudFormation template is specifically designed to output values, such as resource IDs or DNS names, once the stack creation is complete. Parameters are used to input custom values at runtime, Mappings act as lookup tables, and Resources define the actual AWS resources to be provisioned.