PrepAway - Latest Free Exam Questions & Answers

Which of the below mentioned components are required as a part of the template?

A user is planning to use AWS Cloud formation for his automatic deployment requirements. Which of the
below mentioned components are required as a part of the template?

PrepAway - Latest Free Exam Questions & Answers

A.
Parameters

B.
Outputs

C.
Template version

D.
Resources

Explanation:
AWS Cloud formation is an application management tool which provides application modelling, deployment,
configuration, management and related activities. The template is a JSON-format, text-based file that
describes all the AWS resources required to deploy and run an application. It can have option fields, such as
Template Parameters, Output, Data tables, and Template file format version. The only mandatory value is
Resource. The user can define the AWS services which will be used/ created by this template inside the
Resource section

6 Comments on “Which of the below mentioned components are required as a part of the template?

  1. Leonardo Gialluisi says:

    Template Sections

    Templates include several major sections. The Resources section is the only required section. Some sections in a template can be in any order. However, as you build your template, it might be helpful to use the logical ordering of the following list, as values in one section might refer to values from a previous section. The list gives a brief overview of each section.

    Format Version (optional)
    Specifies the AWS CloudFormation template version that the template conforms to. The template format version is not the same as the API or WSDL version. The template format version can change independently of the API and WSDL versions.

    Description (optional)
    A text string that describes the template. This section must always follow the template format version section.

    Metadata (optional)
    Objects that provide additional information about the template.

    Parameters (optional)
    Specifies values that you can pass in to your template at runtime (when you create or update a stack). You can refer to parameters in the Resources and Outputs sections of the template.

    Mappings (optional)
    A mapping of keys and associated values that you can use to specify conditional parameter values, similar to a lookup table. You can match a key to a corresponding value by using the Fn::FindInMap intrinsic function in the Resources and Outputs section.

    Conditions (optional)
    Defines conditions that control whether certain resources are created or whether certain resource properties are assigned a value during stack creation or update. For example, you could conditionally create a resource that depends on whether the stack is for a production or test environment.

    Transform (optional)
    For serverless applications (also referred to as Lambda-based applications), specifies the version of the AWS Serverless Application Model (AWS SAM) to use. When you specify a transform, you can use AWS SAM syntax to declare resources in your template. The model defines the syntax that you can use and how it is processed.

    Resources (required)
    Specifies the stack resources and their properties, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket. You can refer to resources in the Resources and Outputs sections of the template.

    Outputs (optional)
    Describes the values that are returned whenever you view your stack’s properties. For example, you can declare an output for an Amazon S3 bucket name and then call the aws cloudformation describe-stacks AWS CLI command to view the name.




    2



    0
  2. BDA says:

    d

    The required Resources section declares the AWS resources that you want to include in the stack, such as an Amazon EC2 instance or an Amazon S3 bucket. You must declare each resource separately; however, if you have multiple resources of the same type, you can declare them together by separating them with commas




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *