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
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)- A90% (45)
- B6% (3)
- C2% (1)
- D2% (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
Community Discussion
No community discussion yet for this question.