Question: What is the relationship between SAM template and CloudFormation template files?

  1. SAM templates are a superset of CloudFormation templates. SAM templates include additional resource types.
  2. SAM templates have some overlap with CloudFormation templates. Both SAM and CloudFormation templates include resource types that are not in the other type of template.
  3. CloudFormation templates are a superset of SAM templates. CloudFormation templates include additional resource types.
  4. SAM templates are a different name for CloudFormation templates. Both template types include the same resource types.

Answer: The correct answer of the above question is Option A:SAM templates are a superset of CloudFormation templates. SAM templates include additional resource types.