Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

HashiCorp Terraform Associate Exam Actual Questions

The questions for Terraform Associate were last updated on May 23, 2023.
  • Viewing page 1 out of 51 pages.
  • Viewing questions 1-5 out of 256 questions

Topic 1 - Single Topic

Question #1 Topic 1

The terraform.tfstate file always matches your currently built infrastructure.

  • A. True
  • B. False
Reveal Solution Hide Solution   Discussion   28

Correct Answer: B 🗳️
Reference:
https://www.terraform.io/docs/language/state/index.html

Question #2 Topic 1

One remote backend configuration always maps to a single remote workspace.

  • A. True
  • B. False
Reveal Solution Hide Solution   Discussion   25

Correct Answer: A 🗳️
Reference:
https://www.terraform.io/docs/language/settings/backends/remote.html

Question #3 Topic 1

How is the Terraform remote backend different than other state backends such as S3, Consul, etc.?

  • A. It can execute Terraform runs on dedicated infrastructure on premises or in Terraform Cloud
  • B. It doesn't show the output of a terraform apply locally
  • C. It is only available to paying customers
  • D. All of the above
Reveal Solution Hide Solution   Discussion   12

Correct Answer: A 🗳️
If you and your team are using Terraform to manage meaningful infrastructure, we recommend using the remote backend with Terraform Cloud or Terraform
Enterprise.
Reference:
https://www.terraform.io/docs/language/settings/backends/index.html

Question #4 Topic 1

What is the workflow for deploying new infrastructure with Terraform?

  • A. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure.
  • B. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure.
  • C. terraform import to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure.
  • D. Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure changes, and terraform apply to create new infrastructure.
Reveal Solution Hide Solution   Discussion   14

Correct Answer: D 🗳️

Question #5 Topic 1

A provider configuration block is required in every Terraform configuration.
Example:

  • A. True
  • B. False
Reveal Solution Hide Solution   Discussion   79

Correct Answer: A 🗳️
Reference:
https://github.com/hashicorp/terraform/issues/17928

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...