nerdexam
HashiCorp

TA-002-P · Question #126

Which of the following best describes a Terraform provider?

The correct answer is A. A plugin that Terraform uses to translate the API interactions with the service or provider.. A Terraform provider is a plugin that acts as a translation layer between Terraform and an external API (e.g., AWS, Azure, Google Cloud, GitHub). Providers define resource types and data sources, and handle all API calls to create, read, update, and delete infrastructure. Option

Understand Terraform basics

Question

Which of the following best describes a Terraform provider?

Options

  • AA plugin that Terraform uses to translate the API interactions with the service or provider.
  • BServes as a parameter for a Terraform module that allows a module to be customized.
  • CDescribes an infrastructure object, such as a virtual network, compute instance, or other
  • DA container for multiple resources that are used together.

How the community answered

(50 responses)
  • A
    90% (45)
  • B
    6% (3)
  • C
    2% (1)
  • D
    2% (1)

Explanation

A Terraform provider is a plugin that acts as a translation layer between Terraform and an external API (e.g., AWS, Azure, Google Cloud, GitHub). Providers define resource types and data sources, and handle all API calls to create, read, update, and delete infrastructure. Option B describes an input variable. Option C describes a resource block. Option D describes a module. Providers are declared in Terraform configuration and downloaded by terraform init.

Topics

#Terraform provider#Core concepts#API integration

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice