those are 2 providers, each provider can only deploy resources in one cloud.. several providers, in multicloud.. so "A Terraform provider" can only provision in one Cloud... B!
I'm not a native English speaker, but I think that in the context of the question, "A Terraform provider" is referring to the concept of providers in Terraform as a whole, not a specific individual provider.
I would go with D
"Terraform providers are a plugin for Terraform that makes a collection of related resources available. A provider plugin is responsible for understanding API interactions and exposing resources. Providers generally are IaaS (like AWS, GCP, Microsoft Azure, OpenStack), PaaS (like Heroku), or SaaS services (like Terraform Cloud, DNSimple, CloudFlare).
However, the management of actions based on resource differences (i.e., what to create, update, or delete) is handled by Terraform's core engine, not by the providers. The providers simply inform Terraform's core about what resources they can manage and how to manage them."
While Terraform itself supports managing infrastructure across multiple clouds, individual providers are designed to focus on a single API or domain (e.g., AWS, Azure). They do not inherently provision infrastructure across multiple clouds; this is achieved by combining multiple providers in a Terraform configuration.
Answer B
Poorly worded question, but a single Terraform provider is designed to work with only one specific cloud platform. For example, you can not ask AWS to create an infrastructure on Azure and vice versa.
Terraform itself is responsible for comparing the desired configuration (in .tf files) with the current state (in the .tfstate file) and determining the appropriate actions (create, update, delete) to achieve the desired state. Providers execute those actions once Terraform decides what needs to be done, but they are not responsible for managing those actions based on resource differences. Terraform itself handles the planning and state comparison logic. Therefore, this is the correct answer as something a provider is not responsible for.
The correct answer is: D. Managing actions to take based on resource differences
Explanation:
In Terraform, providers are responsible for interacting with APIs, provisioning resources, and exposing resources and data sources. However, the task of managing actions based on resource differences (such as determining what actions to take when the desired state differs from the current state) is handled by Terraform itself during the plan and apply phases, not by the provider.
The correct answer is D. Managing actions to take based on resource differences.
However, managing actions to take based on resource differences is the responsibility of Terraform Core, not the provider. Terraform Core is responsible for:
- Determining the desired state of the infrastructure based on the configuration
- Comparing the desired state to the current state of the infrastructure
- Determining the actions needed to reconcile any differences between the desired and current states
So, while providers are responsible for interacting with external services and managing resources, Terraform Core is responsible for managing the overall provisioning process and determining the actions needed to achieve the desired state.
A resource provider may provision to multiple clouds. you can write your own resource provider which covers multiple clouds.
It's not part of resource provider to managing actions based on differences between existing resource and configuration. Resource provider will only execute actions. Managing actions and triggering resource provider to execute this action is part of terraform itself.
The provider's role is focused on API interactions, provisioning infrastructure, and exposing resources. Managing actions based on resource differences is handled by Terraform’s core logic during the terraform plan and terraform apply processes, not by the provider itself. Thus, D is the correct answer.
B. Provisioning infrastructure in multiple clouds: Providers enable provisioning across different cloud platforms, so this is also a responsibility of the provider .
The answer is B
Tricky question a provider can only provision resources in one cloud platform, you will need multiple providers to provision in multiple cloud.
Answer is B:
provisioning infrastructure in multiple clouds is not the direct responsibility of a single provider; each provider typically manages one cloud or service platform.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
amrith501
Highly Voted 2 years, 9 months agoNunyabiznes
1 year, 11 months agojerikoo
1 year, 10 months agoSpandrop
Highly Voted 1 year, 2 months agosultaz
Most Recent 2 weeks, 2 days agoYesPlease
1 month, 1 week agod759fb3
1 month, 1 week agocerepx
1 month, 3 weeks agorraabbbind
2 months, 1 week agosuri_surendra
2 months, 1 week agopyxgzm
2 months, 1 week agoGreysi
2 months, 2 weeks agoshant_haghverdian
2 months, 3 weeks agomuammer32
2 months, 4 weeks agokhvan84
4 months, 3 weeks agoa45e482
5 months, 3 weeks agoAlgol
6 months agobora4motion
6 months, 3 weeks agoJHkdigital
6 months, 4 weeks ago