Summer Certification Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = getmirror

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

Practice at least 50% of the questions to maximize your chances of passing.
Exam Terraform-Associate-004 Premium Access

View all detail and faqs for the Terraform-Associate-004 exam


568 Students Passed

89% Average Score

94% Same Questions
Viewing page 9 out of 11 pages
Viewing questions 81-90 out of questions
Questions # 81:

How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?

Question # 81

Options:

A.

aws_instance.example.ebs_block_device[sda2,sda3).volume_id

B.

aws_lnstance.example.ebs_block_device.[*].volume_id

C.

aws_lnstance.example.ebs_block_device.volume_ids

D.

aws_instance.example-ebs_block_device.*.volume_id

Questions # 82:

You are creating a reusable Terraform configuration and want to include an optional billing_dept tag so your Finance team can track team-specific spending on resources. Which of the following billing_dept variable declarations will achieve this?

Options:

A.

variable "billing_dept" { type = default}

B.

variable "billing_dept" { default =}

C.

variable "billing_dept" { type = optional(string)}

D.

variable "billing_dept" { optional = true}

Questions # 83:

How could you reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?

Options:

A.

Data.vsphere_datacenter.DC.id

B.

Vsphere_datacenter.dc.id

C.

Data,dc,id

D.

Data.vsphere_datacenter,dc

Questions # 84:

Exhibit:

data "aws_ami" "web" {

most_recent = true

owners = ["self"]

tags = {

Name = "web-server"

}

}

A data source is shown in the exhibit. How do you reference the id attribute of this data source?

Options:

A.

aws_ami.web.id

B.

web.id

C.

data.aws_ami.web.id

D.

data.web.id

Questions # 85:

The HCP Terraform private registry keeps the module configurations confidential within your organization.

Options:

A.

True

B.

False

Questions # 86:

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

Options:

A.

True

B.

False

Questions # 87:

Which of these are benefits of using Sentinel with HCP Terraform/Terraform Cloud? (Pick the 3 correct responses)

Options:

A.

You can enforce a list of approved AWS AMIs.

B.

Sentinel Policies can be written in HashiCorp Configuration Language (HCL).

C.

You can check out and check in cloud access keys.

D.

Policy-as-code can enforce security best practices.

Questions # 88:

Which of the following arguments are required when declaring a Terraform output?

Options:

A.

value

B.

description

C.

default

D.

sensitive

Questions # 89:

Which command lets you experiment with terraform expressions?

Options:

A.

Terraform console

B.

Terraform validate

C.

Terraform env

D.

Terraform test

Questions # 90:

What functionality do providers offer in Terraform?(Pick 3 correct responses)

Options:

A.

Interact with cloud provider APIs.

B.

Provision resources for on-premises infrastructure services.

C.

Group a collection of Terraform configuration files that map to a single state file.

D.

Provision resources for public cloud infrastructure services.

E.

Enforce security and compliance policies.

Viewing page 9 out of 11 pages
Viewing questions 81-90 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.