Which of the following is an example of infrastructure as code (IaC)?
Answer
Using Terraform or AWS CloudFormation templates
Explanation
IaC defines infrastructure using code/templates so it can be versioned, reviewed, and deployed consistently.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
What does the “least privilege” principle aim to do when configuring access?
View question →
In AWS terminology, what does the word “region” refer to?
View question →
In the context of secure and reliable cloud design, what is the main idea behind separating environments like dev and prod?
View question →
Which routing option in a route table sends traffic to an Internet Gateway for public internet access?
View question →
What is the best description of an AWS Security Group?
View question →
Which AWS service is commonly used to host and run code in containers?
View question →