Security Architecture

What is the main purpose of infrastructure as code?

Show the answer

Correct answerD. Defining and deploying infrastructure through machine-readable configuration files

AWhy not this: Running functions without managing servers describes serverless computing.

BWhy not this: Cutting off all external connections describes an air gap, not IaC.

CWhy not this: Bundling an app with its dependencies describes containerization.

DWhy this is right: IaC uses code or templates to provision infrastructure consistently and repeatably.

Infrastructure as code provisions and configures infrastructure from version-controlled definition files, giving repeatable, consistent deployments. Packaging applications with dependencies describes containerization, a different concept.