BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Terraform-Associate-004 Exam - Topic 1 Question 17 Discussion

Posted by Hoa on Oct 14, 2026 at 10:57 PM

Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?

Suggested Answer: C

The concept of infrastructure as code (IaC) is to define and manage infrastructure using code, rather than manual processes or GUI tools. A script that contains a series of public cloud CLI commands is an example of IaC, because it uses code to provision resources into a public cloud. The other options are not examples of IaC, because they involve manual or interactive actions, such as running curl commands, sending REST requests, or entering commands into a console.Reference= [Introduction to Infrastructure as Code with Terraform] and [Infrastructure as Code]


Get Premium Terraform-Associate-004 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
9 comments · newest first
LI
Lilli 5 days ago
I thought all of these were valid, but C makes the most sense!
FL
Florinda 10 days ago
D is just manual work, not code at all.
PA
Pamella 15 days ago
Wait, are we really considering A as infrastructure as code? Seems off.
JE
Jeannetta 20 days ago
I think B could also qualify, but C is more straightforward.
MI
Mitsue 25 days ago
C is definitely the right answer!
NI
Nina 1 month ago
I recall a practice question that emphasized automation, so I’m thinking C is the best choice here, but I’m still a bit unsure about B.
CA
Casey 1 month ago
I’m leaning towards C because scripts are often used in infrastructure as code, but I’m not entirely sure if B is also valid.
EL
Elvera 1 month ago
I feel like B could be right, but I also think C sounds like it fits the definition too. I wish I had practiced more on this topic.
KA
Kassandra 2 months ago
I think I remember that infrastructure as code is about automating resource provisioning, so maybe it's not A or D since those seem manual.
0/2000 characters

Save Cancel