Exam Terraform-Associate-004 Topic 1 Question 115 Discussion

Actual exam question for HashiCorp's Terraform-Associate-004 exam
Question #: 115
Topic #: 1

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

Suggested Answer: C Vote an answer

* Rationale for Correct answer:A Terraform resource block has the following structure:
resource "<RESOURCE TYPE>" "<RESOURCE NAME>" {
}
In the exhibit:
* 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).
* Analysis of Incorrect Options (Distractors):
* A. azurerm: This is the provider name, not the resource name.
* B. azurerm_resource_group: This is the resource type, not the name.
* D. test: This is the value of the name argument inside the resource, not the Terraform resource name.
* Key Concept:Understanding the distinction between resource type, resource name, and resource arguments in Terraform configurations.
Reference:Terraform Exam Objective - Read, Generate, and Modify Configurations

by Philipppa at Jun 25, 2026, 09:09 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10