HashiCorpHashiCorp
TA-002-P · Question #58
TA-002-P Question #58: Real Exam Question with Answer & Explanation
The correct answer is D: Managing actions to take based on resource differences. Terraform providers are responsible for interacting with service APIs and exposing resources, while Terraform Core handles the logical planning and management of resource differences.
Understand Terraform basics
Question
A Terraform provider is not responsible for:
Options
- AUnderstanding API interactions with some service
- BProvisioning infrastructure in multiple clouds
- CExposing resources and data sources based on an API
- DManaging actions to take based on resource differences
Explanation
Terraform providers are responsible for interacting with service APIs and exposing resources, while Terraform Core handles the logical planning and management of resource differences.
Common mistakes.
- A. A primary responsibility of a Terraform provider is to encapsulate the logic for
Understanding API interactions with some serviceto translate Terraform configurations into API calls. - B. A Terraform provider is designed to interface with a specific cloud or service, enabling the
Provisioning infrastructurewithin that particular environment. Terraform as a whole can manage multiple clouds with multiple providers. - C.
Exposing resources and data sources based on an APIis a fundamental role of a Terraform provider, defining the schema and behavior of the infrastructure components it manages.
Concept tested. Terraform Core vs. Provider responsibilities
Reference. https://developer.hashicorp.com/terraform/plugin/how-terraform-works
Topics
#Terraform Provider#Terraform Core#Provider responsibilities#Terraform architecture
Community Discussion
No community discussion yet for this question.