Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: merry71

Free HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Practice Questions

Exams4sure Dumps

Exam style questions across every Terraform-Associate-004 domain

Last Update 1 day ago
Total Questions : 385

Start with our free Terraform-Associate-004 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Terraform Associate exam. Each Terraform-Associate-004 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your HashiCorp weak domains, see where you're losing marks, and build a focused study plan in minutes.

Terraform-Associate-004 PDF

Terraform-Associate-004 PDF (Printable)
$46.5
$154.99

Terraform-Associate-004 Testing Engine

Terraform-Associate-004 PDF (Printable)
$51
$169.99

Terraform-Associate-004 PDF + Testing Engine

Terraform-Associate-004 PDF (Printable)
$63.9
$212.99
Question # 101

Your configuration contains a module block that references a module from the Terraform Registry and sets the version argument to 1.0. You just published a new version of the module and updated your configuration to point to version 1.1.

Which command must be run to install the new version?

Options:

A.  

terraform init

B.  

terraform modules

C.  

terraform plan

D.  

terraform apply

Discussion 0
Question # 102

Which of the following isnotan advantage of using Infrastructure as Code (IaC) operations?

Options:

A.  

Self-service infrastructure deployment.

B.  

Modify a count parameter to scale resources.

C.  

API-driven workflows.

D.  

Troubleshoot via a Linux diff command.

E.  

Public cloud console configuration workflows.

Discussion 0
Question # 103

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

Options:

A.  

Prevents manual modifications to your resources

B.  

Lets you version, reuse, and share infrastructure configuration

C.  

Secures your credentials

D.  

Provisions the same resources at a lower cost

E.  

Reduces risk of operator error

Discussion 0
Question # 104

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)?

Options:

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

Discussion 0
Question # 105

You can develop a custom provider to manage its resources using Terraform.

Options:

A.  

True

B.  

False

Discussion 0
Question # 106

A variable block is shown in the exhibit.

You will use this variable as the value of the tags argument in several resources. The data format must be a set of key-value pairs.

Exhibit

variable " tags " {

description = " Metadata tags for resources "

type = __________________

}

Which type argument would you use?

Options:

A.  

type = object({ tags = string })

B.  

type = list(string)

C.  

type = map(string)

D.  

type = any

Discussion 0
Question # 107

Which situation will return an error when you run terraform validate?

Options:

A.  

The state file does not match the current infrastructure.

B.  

The code contains tabs for indentation instead of spaces.

C.  

There is a missing variable block.

D.  

None of these will return an error.

Discussion 0
Question # 108

What does Terraform use to deploy infrastructure for different cloud providers?

Options:

A.  

Vendors ' CLI tools

B.  

Vendors ' user interfaces

C.  

Vendor-specific providers

D.  

Custom APIs developed by HashiCorp

Discussion 0
Question # 109

When you run terraform apply -refresh-only, which of the following is not consulted by Terraform to update the state file?

Options:

A.  

Terraform configuration files defining the resources.

B.  

Authentication credentials for the provider.

C.  

The most recent state file.

D.  

The actual infrastructure as reported by the provider API.

Discussion 0
Question # 110

You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a new state backend, what open source Terraform feature would allow you create multiple states but still be associated with your current code?

Options:

A.  

Terraform data sources

B.  

Terraform local values

C.  

Terraform modules

D.  

Terraform workspaces

E.  

None of the above

Discussion 0

Free Exams Sample Questions