Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 58

A Terraform provider is not responsible for:

    Correct Answer: D

    D

    Reference:

    https://www.terraform.io/docs/configuration-0-11/providers.html

Discussion
amrith501Option: B

The answer should be B A terraform can only provision resouce in one Cloud not multiple cloud

Nunyabiznes

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" }

jerikoo

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!

Zam88Option: B

answer is B

SpandropOption: 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."

AlandtOption: 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.

samimshaikhOption: 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

TigerInTheCloudOption: D

B: you can write a provider to work on multiple clouds. D: is terraform core's work.

ealpucheOption: D

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.

saskuachmukazOption: 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.

chaoscreaterOption: D

Agree with D

vibzr2023Option: D

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

090200f

yes me too think in same way.. I vote for D

gofavad926Option: 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.

aanataliyaOption: 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

BaburTurkOption: 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.

modarovOption: B

B. Provisioning infrastructure in multiple clouds.

Molly1994Option: D

the answer is definitely D

ghostGuiggsOption: B

B is the answer

LunarPhobiaOption: B

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