Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the HashiCorp Terraform Associate Terraform-Associate-004 Questions and answers with CertsForce

Viewing page 1 out of 11 pages
Viewing questions 1-10 out of questions
Questions # 1:

What kind of configuration block will create an infrastructure object with settings specified within the block?

Options:

A.

provider


B.

state


C.

data


D.

resource


Expert Solution
Questions # 2:

When you initialize Terraform, where does it cache modules from the public Terraform Registry?

Options:

A.

In the /tmp directory.


B.

In the .terraform sub-directory.


C.

In memory.


D.

They are not cached.


Expert Solution
Questions # 3:

Terraform configuration can only call modules from the public registry.

Options:

A.

True


B.

False


Expert Solution
Questions # 4:

A provider configuration block is required in every Terraform configuration.

Example:

Question # 4

Options:

A.

True


B.

False


Expert Solution
Questions # 5:

Only the user that generated a terraform plan may apply it.

Options:

A.

True


B.

False


Expert Solution
Questions # 6:

Which of these workflows is only enabled by the use of Infrastructure as Code?

Options:

A.

Automatic scaling of resources based on application load.


B.

Role-based access control of cloud resources.


C.

Cost optimization of infrastructure deployment.


D.

Reviewing the proposed changes for potential security issues.


Expert Solution
Questions # 7:

Exhibit:

resource " aws_instance " " example " {

ami = " ami-0a123456789abcdef "

instance_type = " t3.micro "

}

You are updating a child module with the resource block shown in the exhibit. The public_ip attribute of the resource needs to be accessible to the parent module. How do you meet this requirement?

Options:

A.

Create an output in the child module.


B.

Add a data source to the parent module.


C.

Add an import block to the parent module.


D.

Create a local value in the child module.


Expert Solution
Questions # 8:

Terraform encrypts sensitive values stored in your state file.

Options:

A.

True


B.

False


Expert Solution
Questions # 9:

When using multiple configurations of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?

Options:

A.

depends_on


B.

alias


C.

name


D.

id


Expert Solution
Questions # 10:

Which of the following is not a valid source path for specifying a module?

Options:

A.

source - " github.com/hashicorp/examplePref-ul.0.8M


B.

source = " ./module?version=vl.6.0 "


C.

source - " hashicorp/consul/aws "


D.

source - " ./module "


Expert Solution
Viewing page 1 out of 11 pages
Viewing questions 1-10 out of questions