Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Terraform Associate topic 1 question 58 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 58
Topic #: 1
[All Terraform Associate Questions]

A Terraform provider is not responsible for:

  • A. Understanding API interactions with some service
  • B. Provisioning infrastructure in multiple clouds
  • C. Exposing resources and data sources based on an API
  • D. Managing actions to take based on resource differences
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://www.terraform.io/docs/configuration-0-11/providers.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
amrith501
Highly Voted 1 year, 9 months ago
Selected Answer: B
The answer should be B A terraform can only provision resouce in one Cloud not multiple cloud
upvoted 12 times
Nunyabiznes
11 months, 4 weeks ago
No, it can provision in multiple clouds: provider "aws" { region = "us-west-2" } provider "azurerm" { features {} } resource "aws_instance" "example" { ami = "ami-0c55b159cbfafe1f0" instance_type = "t2.micro" } resource "azurerm_resource_group" "example" { name = "example" location = "East US" }
upvoted 5 times
jerikoo
10 months, 3 weeks ago
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!
upvoted 17 times
...
...
...
Zam88
Highly Voted 1 year, 9 months ago
answer is B
upvoted 10 times
...
vibzr2023
Most Recent 13 hours, 57 minutes ago
D is correct. I don't know so many votes for B which is pretty basic that terraform can handle multiple providers not providers themselves
upvoted 1 times
...
Alandt
2 months ago
Selected Answer: D
D: the management of actions based on resource differences is handled by Terraform itself, not the provider. The provider simply informs Terraform about the current state of the resource and how to create, update, or delete it.
upvoted 2 times
...
samimshaikh
3 months ago
Selected Answer: D
D. Managing actions to take based on resource differences: This is not a primary responsibility of a Terraform provider. Instead, Terraform itself handles this by comparing the desired state (defined in Terraform configurations) with the current state of the infrastructure and determining the necessary actions to achieve the desired state
upvoted 3 times
...
TigerInTheCloud
3 months, 1 week ago
Selected Answer: D
B: you can write a provider to work on multiple clouds. D: is terraform core's work.
upvoted 4 times
...
Spandrop
3 months, 1 week ago
Selected Answer: D
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."
upvoted 6 times
...
ghostGuiggs
4 months, 3 weeks ago
Selected Answer: B
B is the answer
upvoted 1 times
...
ealpuche
5 months, 1 week ago
D. Managing actions to take based on resource differences. Terraform providers primarily focus on understanding API interactions with specific services, provisioning infrastructure, exposing resources and data sources based on an API, and maintaining the state of resources. However, managing actions based on resource differences is typically handled by Terraform's core functionality, specifically the terraform plan and terraform apply commands, which determine the changes needed to achieve the desired state and then apply those changes based on the execution plan. Providers interact with the target services but do not manage the core Terraform plan and apply process.
upvoted 3 times
...
gofavad926
6 months ago
Selected Answer: B
GPT answer: B. Provisioning infrastructure in multiple clouds Terraform providers are responsible for understanding API interactions with some service, exposing resources and data sources based on an API, and managing actions to take based on resource differences. However, Terraform providers are not responsible for provisioning infrastructure in multiple clouds. This is because Terraform is a cloud-agnostic tool, and each cloud provider has its own unique set of APIs and resources.
upvoted 1 times
...
aanataliya
6 months, 3 weeks ago
Selected Answer: B
To some people confusion is between B and D. Let me try to clarify. 1. One who rejects B because of one specific provider "megaport". Technically, multi cloud deployment feature is provided by megaport and not by a provider. Quesition is not talking about specific provider. A provider(single provider) cannot mean "megaport" provider. it supposed to be true for any other single provider. so B cannot be rejected. Ref: https://registry.terraform.io/providers/megaport/megaport/latest/docs/guides/example_multicloud_aws_azure 2. D cannot be answer. As per terraform, providers are plugins. Terraform make a plan for desired state and communicate with plugin(provider) to make change. so it is responsibility of provider. Ref: https://developer.hashicorp.com/terraform/plugin/how-terraform-works
upvoted 2 times
...
BaburTurk
7 months ago
Selected Answer: B
A Terraform provider is responsible for interacting with a specific API or service to manage resources and infrastructure. It abstracts the API interactions and exposes resources and data sources to be managed through Terraform configurations. It also handles managing actions based on resource differences (such as creating, updating, or deleting resources). However, it is not responsible for provisioning infrastructure in multiple clouds. This is usually handled by different providers, each tailored to a specific cloud or service.
upvoted 2 times
...
modarov
7 months, 3 weeks ago
B. Provisioning infrastructure in multiple clouds.
upvoted 2 times
...
LunarPhobia
8 months ago
B because a Terraform provider is for single cloud. You'll need several providers to have multiple clouds. Also a Terraform provider is much more than just for cloud use
upvoted 1 times
...
saskuachmukaz
8 months, 3 weeks ago
Selected Answer: D
A Terraform provider is responsible for understanding API interactions with a specific service, provisioning infrastructure in a specific cloud, and exposing resources and data sources based on an API. However, managing actions to take based on resource differences is the responsibility of Terraform's core engine, not the provider itself. The core engine compares the desired state declared in the Terraform configuration with the current state stored in the Terraform state file and determines the actions needed to achieve the desired state, such as creating, updating, or deleting resources. So, the answer is D. Managing actions to take based on resource differences.
upvoted 3 times
...
Foram31
9 months, 2 weeks ago
D as this is not provider's responsibility
upvoted 1 times
...
JJ4u
10 months, 2 weeks ago
Option B seems to defeat the main objective of Terraform's existence which is cloud agnostic. Answer should be D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...