nerdexam
HashiCorp

TA-002-P · Question #13

What is the provider for this fictitious resource?

The correct answer is C. aws. In Terraform, resource types follow the naming convention provider_resourcetype. For example, aws_vpc identifies the aws provider and the vpc resource type. The provider is always the prefix before the first underscore in the resource type string. Given the answer choices (vpc, m

Understand Terraform basics

Question

What is the provider for this fictitious resource?

Options

  • Avpc
  • Bmain
  • Caws
  • Dtest

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    7% (2)
  • C
    89% (25)

Explanation

In Terraform, resource types follow the naming convention provider_resourcetype. For example, aws_vpc identifies the aws provider and the vpc resource type. The provider is always the prefix before the first underscore in the resource type string. Given the answer choices (vpc, main, aws, test), the provider is aws - vpc is the resource type, main is typically a resource label, and test is not a provider name in this context.

Topics

#Terraform provider#Configuration basics#AWS#Resource management

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice