Terraform Associate 004 Practice Test

Review 167 TERRAFORM-ASSOCIATE-004 practice questions with answer explanations and community insights.

Question 1

IaC (Infrastructure as Code) can be stored in a version control system along with application code.

  1. True
  2. False

Question 2

It is best practice to store secret data in the same version control repository as your Terraform configuration.

  1. True
  2. False

Question 3

Which is an advantage of using IaC (Infrastructure as Code) that is not possible when provisioning with a GUI (Graphical User Interface)?

  1. Let’s you version, reuse, and share infrastructure configuration.
  2. Secures your credentials.
  3. Provisions the same resources at a lower cost.
  4. Prevents manual modifications to your resources.

Question 4

What is an advantage of immutable infrastructure?

  1. Automatic infrastructure upgrades
  2. In-place infrastructure upgrades
  3. Quicker infrastructure upgrades
  4. Less complex infrastructure upgrades

Question 5

What is the primary purpose of IaC (Infrastructure as Code)?

  1. To define a pipeline to test and deliver software.
  2. To provision infrastructure cheaply.
  3. To programmatically create and configure resources.
  4. To define a vendor-agnostic API.