Question

Difficulty: EasyMethods of Deploying and Operating in AWS

A cloud administrator wants to deploy and manage a collection of related AWS resources in an orderly and predictable fashion. They decide to write a template file in JSON or YAML format that defines all the resources they need. Which AWS service should the administrator use to deploy these resources based on this template file?

  1. AWS CloudFormationAnswer
  2. B
    AWS Elastic Beanstalk
  3. C
    Amazon EC2
  4. D
    AWS CloudTrail

Answer

AWS CloudFormation
AWS CloudFormation is the service designed to provision and manage AWS resources using templates. By writing a JSON or YAML file, administrators can define their infrastructure as code (IaC) and deploy the resources consistently and repeatedly.

Step-by-Step Solution

1
Analyze the requirement for deploying a collection of resources using a JSON or YAML template file.
The requirement specifies Infrastructure as Code (IaC) where a declarative template file is used to model resources.
Identifying the core method (IaC template-based deployment) helps match it to the correct AWS deployment service.
2
Evaluate the choices to identify the AWS service dedicated to template-based infrastructure provisioning.
AWS CloudFormation is the service designed specifically to read templates and provision the described resources as a single stack.
Confirming the primary function of each option guarantees selecting the correct service.

Key Concept

Infrastructure as Code (IaC) deployment using AWS CloudFormation templates
Estimated Time:45s
Rate this question