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

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 92 Topic 10 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 92 Topic 10 Discussion

Terraform-Associate-004 Exam Topic 10 Question 92 Discussion:
Question #: 92
Topic #: 10

The exhibit shows part of a configuration that you have been asked to update.

The name of the Azure Virtual Network must be set to the name of the resource group, followed by a dash and the word vnet.

Exhibit

data " azurerm_resource_group " " example " {

name = var.resource_group_name

}

resource " azurerm_virtual_network " " example " {

name = ________________________

}

Which expression fulfills this requirement?


A.

" ${azurerm_resource_group.example.name}-vnet "


B.

concat(data.azurerm_resource_group.example.name, " vnet " )


C.

join( " - " , [var.resource_group_name, " vnet " ])


D.

" ${data.azurerm_resource_group.example.name}-vnet "


Get Premium Terraform-Associate-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.