0
0
AWScloud~5 mins

CloudFormation vs Terraform awareness in AWS - Quick Revision & Key Differences

Choose your learning style9 modes available
Recall & Review
beginner
What is AWS CloudFormation?
AWS CloudFormation is a service that helps you create and manage AWS resources using templates written in JSON or YAML. It automates resource setup in a safe and repeatable way.
Click to reveal answer
beginner
What is Terraform?
Terraform is an open-source tool that lets you define and manage infrastructure across many cloud providers using a simple configuration language called HCL (HashiCorp Configuration Language).
Click to reveal answer
intermediate
Name one key difference between CloudFormation and Terraform.
CloudFormation works only with AWS services, while Terraform supports many cloud providers like AWS, Azure, Google Cloud, and others.
Click to reveal answer
intermediate
How do CloudFormation and Terraform handle state management differently?
CloudFormation manages state automatically within AWS. Terraform keeps state in a separate file that you can store locally or remotely, which helps track resource changes.
Click to reveal answer
intermediate
Why might someone choose Terraform over CloudFormation?
Because Terraform supports multiple cloud providers and has a simpler, more flexible language, it is often chosen for managing infrastructure across different clouds or for more complex setups.
Click to reveal answer
Which tool is limited to managing only AWS resources?
ACloudFormation
BTerraform
CBoth
DNeither
What language does Terraform use for its configuration files?
AJSON
BHCL
CXML
DYAML
How does CloudFormation store its state information?
AIn a remote database you must configure
BIn a local file
CAutomatically managed within AWS
DIt does not store state
Which tool is better suited for managing infrastructure across multiple cloud providers?
ATerraform
BBoth are equally suited
CCloudFormation
DNeither supports multi-cloud
Which of the following is a benefit of using Infrastructure as Code tools like CloudFormation or Terraform?
ARequires no learning
BManual setup of resources
COnly works with virtual machines
DAutomated, repeatable resource management
Explain the main differences between AWS CloudFormation and Terraform.
Think about provider support, state management, and configuration language.
You got /5 concepts.
    Describe why someone might choose Terraform instead of CloudFormation for their infrastructure projects.
    Consider project scope and tool flexibility.
    You got /4 concepts.