Question 1 · choose 1
An operations team builds every new environment by following a wiki page of console steps. A new lead wants the team to adopt infrastructure as code. Which change actually meets that goal?
- ADescribe the infrastructure in configuration files that a tool applies through APIs
- BRecord a screen video of each console session so the steps can be repeated exactly
- CTake a snapshot image of each finished server and restore that image in every new environment
- DMove the wiki page into version control so that every edit to the console steps gets a review
Show the answer and why
ADescribe the infrastructure in configuration files that a tool applies through APIs
Correct
IaC means managing infrastructure with configuration files rather than through a graphical console, so the files, not people, drive the changes.
BRecord a screen video of each console session so the steps can be repeated exactly
Incorrect
A recording still documents a manual process; a person has to repeat every click, which is what IaC replaces.
CTake a snapshot image of each finished server and restore that image in every new environment
Incorrect
Images capture one machine's disk. They do not describe or manage the networks, DNS and other infrastructure around it.
DMove the wiki page into version control so that every edit to the console steps gets a review
Incorrect
Versioning a manual procedure helps review, but the infrastructure is still built by hand. IaC versions files that a tool executes.
Infrastructure as code replaces manual, console-driven provisioning with configuration files that a tool such as Terraform applies through each platform's API, safely and repeatably.
HashiCorp documentation