Pass4itsure > HashiCorp > HashiCorp Certifications > TERRAFORM-ASSOCIATE-003 > TERRAFORM-ASSOCIATE-003 Online Practice Questions and Answers

TERRAFORM-ASSOCIATE-003 Online Practice Questions and Answers

Questions 4

Which of the following ate advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.

A. Lets you version, reuse, and share infrastructure configuration

B. Provisions the same resources at a lower cost

C. Secures your credentials

D. Reduces risk of operator error

E. Prevents manual modifications to your resources

Buy Now
Questions 5

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

A. True

B. False

Buy Now
Questions 6

What is one disadvantage of using dynamic blocks in Terraform?

A. Dynamic blocks can construct repeatable nested blocks

B. Terraform will run more slowly

C. They cannot be used to loop through a list of values

D. They make configuration harder to read and understand

Buy Now
Questions 7

How does Terraform determine dependencies between resources?

A. Terraform requires resource dependencies to be defined as modules and sourced in order

B. Terraform automatically builds a resource graph based on resources provisioners, special meta-parameters, and the stale file (if present}

C. Terraform requires resources in a configuration to be listed m the order they will be created to determine dependencies

D. Terraform requires all dependencies between resources to be specified using the depends_on parameter

Buy Now
Questions 8

Which is the best way to specify a tag of v1.0.0 when referencing a module stored in Git (for example.Git::https://example.com/vpc.git)?

A. Append pref=v1.0.0 argument to the source path

B. Add version = "1.0.0" parameter to module block

C. Nothing modules stored on GitHub always default to version 1.0.0

Buy Now
Questions 9

A Terraform provider is NOT responsible for:

A. Exposing resources and data sources based on an APUI

B. Managing actions to take based on resources differences

C. Understanding API interactions with some service

D. Provisioning infrastructure in multiple

Buy Now
Questions 10

A module can always refer to all variables declared in its parent module.

A. True

B. False

Buy Now
Questions 11

You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.

A. [ var.list [ * ] , id ]

B. [ for o in var.list : o.Id ]

C. var.list[*].id

D. { for o in var.llst : o => o.id }

Buy Now
Questions 12

Which of the following should you put into the required_providers block?

A. version >= 3.1

B. version = ">= 3.1"

C. version ~> 3.1

Buy Now
Questions 13

Which command add existing resources into Terraform state?

A. Terraform init

B. Terraform plan

C. Terraform refresh

D. Terraform import

E. All of these

Buy Now
Exam Name: HashiCorp Certified: Terraform Associate (003) (HCTA0-003)
Last Update: Feb 13, 2025
Questions: 195
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99