Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 190

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

    Correct Answer: C, D

    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
ZeppoonstreamOptions: CD

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

To me it is more like CD.

depal_dhirOptions: CD

Version Config File - Git Docker is also IaC

G4ExamsOptions: CD

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

RVivekOptions: CD

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

ChinensisOptions: CD

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

campsOptions: CD

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.