What is the primary purpose of IaC (Infrastructure as Code)?
A.
To provision infrastructure cheaply.
B.
To programmatically create and configure resources.
C.
To define a vendor-agnostic API.
D.
To define a pipeline to test and deliver software.
The Answer Is:
B
This question includes an explanation.
Explanation:
Detailed Explanation:
Rationale for Correct Answer: The core purpose of IaC is to define, provision, and configure infrastructure using code so it becomes repeatable, versionable, and automatable. Terraform is an IaC tool that uses declarative configuration to manage infrastructure resources consistently across environments.
Analysis of Incorrect Options (Distractors):
A: Incorrect. IaC may reduce costs indirectly (less manual work, fewer mistakes), but “cheaply” is not its primary purpose.
C: Incorrect. Terraform can manage many vendors, but IaC is not primarily about defining a vendor-agnostic API.
D: Incorrect. CI/CD pipelines are for software delivery; IaC can be used within pipelines, but it is not the pipeline itself.
Key Concept: IaC enables automated, repeatable infrastructure provisioning and configuration using code.
[Reference:Understand Infrastructure as Code (IaC) Concepts — benefits and purpose of defining infrastructure with code., ====================]
Terraform-Associate-004 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"