
Answer-first summary for fast verification
Answer: Presence of Transform section indicates it is a Serverless Application Model (SAM) template
AWS CloudFormation template is a JSON- or YAML-formatted text file that describes your AWS infrastructure. Templates include several major sections. The "Resources" section is the only required section. The optional "Transform" section specifies one or more macros that AWS CloudFormation uses to process your template. The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications. It provides shorthand syntax to express functions, APIs, databases, and event source mappings. With just a few lines per resource, you can define the application you want and model it using YAML.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As an AWS Certified Developer Associate, you are working with a YAML document that outlines the architecture of a serverless application within AWS. The very first line of this document reads: Transform: 'AWS::Serverless-2016-10-31'.
Could you explain the purpose of the Transform section in this document?
A
It represents an intrinsic function
B
t represents a Lambda function definition
C
Presence of Transform section indicates it is a CloudFormation Parameter
D
Presence of Transform section indicates it is a Serverless Application Model (SAM) template
No comments yet.