Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 97


Which statement describes a goal of infrastructure as code?

Show Answer
Correct Answer: D

Infrastructure as code (IaC) is the practice of managing and provisioning computing infrastructure through machine-readable definition files, rather than through physical hardware configuration or interactive configuration tools. The goal of IaC is to automate the configuration of resources programmatically. Thus, 'The programmatic configuration of resources' accurately describes a goal of infrastructure as code.

Discussion

10 comments
Sign in to comment
amrith501Option: D
Jun 14, 2022

Looks like D

EltoothOption: D
Jun 29, 2022

D is correct answer.

agmesasOption: D
Feb 7, 2023

A, IaC is not for "specific APIs". B (WORE) an example is JVM or container, no matter where you run your code because there is an abstraction layer like docker, java virtual machine, etc.. where the code run fine. For Terraform you need to write a specific terraform configuration file based on which cloud you will deploy the infra (we can not deploy a tf file write for AWS in Azure changing only the provider, right?. C, IaC is a part of the pipeline but not the entire pipeline. The correct answer is D, "The programmatic configuration of resources" in a human-readable code.

Roro_BrotherOption: B
May 19, 2022

Sure, it's B

Zam88Option: D
Jun 21, 2022

The purpose of infrastructure as code is to enable developers or operations teams to automatically manage, monitor and provision resources, rather than manually configure discrete hardware devices and operating systems. Infrastructure as code is sometimes referred to as programmable or software-defined infrastructure. D

bigboi23Option: B
May 18, 2022

I think it is B. The purpose of infrastructure as code is to enable developers or operations teams to automatically manage, monitor and provision resources, rather than manually configure discrete hardware devices and operating systems.

tbhtp
Aug 16, 2022

So you're argument is supporting Answer D B states "run anywhere". Like any cloud provider. That is just not the case. Still, migrating to another cloud provider may be less of an headache with IAC.

stalk98Option: B
Jun 8, 2022

maybe is B?

mifuneOption: B
Jun 25, 2022

I think that is B because one of the main features of Terraform is being a "Cloud agnostic" solution which best matches with: "Write once, run anywhere".

mifune
Jun 25, 2022

Sorry, I misunderstood the question... it's D, true.

Power123Option: D
Mar 31, 2023

D is correct

modarovOption: D
Aug 5, 2023

D. The programmatic configuration of resources.