Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 190


Which are examples of infrastructure as code? (Choose two.)

Show Answer
Correct Answer: CD

Infrastructure as code refers to the practice of managing and provisioning computing infrastructure through machine-readable configuration files, rather than through physical hardware configuration or interactive configuration tools. Versioned configuration files are a prime example as they allow for the infrastructure to be defined, managed, and versioned through code. Docker files are also an example of infrastructure as code because they describe the blueprint for creating and running containerized applications, enabling infrastructure to be defined and controlled programmatically. Cloned virtual machine images and change management database records do not fall under infrastructure as code as they do not involve using code to provision and manage infrastructure.

Discussion

8 comments
Sign in to comment
ZeppoonstreamOptions: CD
Jan 20, 2023

C. Versioned configuration files D. Docker files Examples of infrastructure as code are: C. Versioned configuration files: Infrastructure as code is when infrastructure is defined and managed using code, and configuration files that are written in a programming language, such as JSON or YAML, and stored in a version control system like Git, allowing for versioning and collaboration. D. Docker files: Docker files are a type of infrastructure as code that describe how to build a container image. They are written in a simple programming language and can be versioned and stored in a version control system.

BurakkoOptions: CD
Sep 3, 2022

To me it is more like CD.

depal_dhirOptions: CD
Sep 7, 2022

Version Config File - Git Docker is also IaC

RVivekOptions: CD
Sep 28, 2022

How a cloned image or DB record can be considered as IaC. It does not make sense to me. C& D are the answer

G4ExamsOptions: CD
Nov 1, 2022

I go for C and D but A and D also possible...not 100% sure

campsOptions: CD
Apr 1, 2023

C. Versioned configuration files D. Docker files Infrastructure as code (IAC) refers to the practice of managing and provisioning infrastructure through code, rather than manual processes. IAC enables version control, collaboration, and automation for infrastructure management.

Chinensis
Apr 3, 2023

IAC also means working with a change management tool. So I hesitate between (B or D) and C.

090200fOptions: CD
Jul 27, 2024

CD options are correct, without these we can't do option B, option B is not correct here