nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #255

TERRAFORM-ASSOCIATE-004 Question #255: Real Exam Question with Answer & Explanation

The correct answer is C: ev. Rationale for Correct Answer: A Terraform resource block has the following structure: resource "<RESOURCE TYPE>" "<RESOURCE NAME>" { Resource type: azurerm_resource_group Resource name: dev The resource name is the second label in the resource block and is used internally by Terr

Submitted by salim_om· Apr 18, 2026Work with Terraform Configurations

Question

A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of that resource block?

Options

  • Aazurerm
  • Bazurerm_resource_group
  • Cev
  • Dtest

Explanation

Rationale for Correct Answer: A Terraform resource block has the following structure: resource "<RESOURCE TYPE>" "<RESOURCE NAME>" { Resource type: azurerm_resource_group Resource name: dev The resource name is the second label in the resource block and is used internally by Terraform to reference the resource (e.g., azurerm_resource_group.dev).

Topics

#resource block#resource name#HCL syntax

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions