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

What does Terraform use providers for? (Choose three.)

    Correct Answer: A, B, C

    Terraform uses providers to manage and provision infrastructure resources. Providers are crucial for Terraform to interact with both on-premises and public cloud infrastructure services by simplifying API interactions. Specifically, providers enable Terraform to provision resources for on-premises infrastructure like VMware or OpenStack, as well as for public cloud services such as AWS, GCP, and Azure. Additionally, providers handle the underlying API communications, abstracting away the complexities of different APIs to present a unified interface. The other options, such as enforcing security and compliance policies and grouping Terraform configuration files, are not primary roles of providers in Terraform.

Discussion
waldonutsOptions: ABC

A and C are the same with a alternate target, and terraform can provision to local on prem resources (VMware for example) , B is pretty much the reason providers are there for me.

bora4motionOptions: BCE

to me BCE sounds ok

Fati_2022Options: ABC

ABC A Terraform Provider represents an integration that is responsible for understanding API interactions with the underlying infrastructure, such as a public cloud service (AWS, GCP, Azure), a PaaS service (Heroku), a SaaS service (DNSimple, CloudFlare), or on-prem resources (vSphere).

keiffo2Options: ABC

ABC - for me too

ZeppoonstreamOptions: ACD

A. Provision resources for on-premises infrastructure services: Providers can be used to provision resources for on-premises infrastructure services like VMWare, OpenStack, etc. C. Provision resources for public cloud infrastructure services: Providers can be used to provision resources for public cloud infrastructure services like AWS, GCP, Azure, etc. D. Enforce security and compliance policies: Providers can be used to enforce security and compliance policies like IAM roles and policies, security groups, firewall rules, etc.

lezgino

correct

RVivekOptions: ABC

Provider is used to provison resources A on prem C on cloud. B to use API communication

campsOptions: BCE

B. Simplify API interactions. C. Provision resources for public cloud infrastructure services. E. Group a collection of Terraform configuration files that map to a single state file. Terraform uses providers to interact with infrastructure services, both on-premises and in the public cloud. Providers are responsible for managing the lifecycle of resources, including creating, updating, and deleting resources as needed. Providers also simplify API interactions by abstracting away the details of the underlying APIs and presenting a unified interface to Terraform. Enforcing security and compliance policies is not a primary responsibility of providers, although some providers may offer features to help with these tasks. Option A is incorrect because while providers can be used to manage on-premises infrastructure services, this is not their only purpose. Option E is incorrect because while Terraform workspaces can be used to group a collection of Terraform configuration files that map to a single state file, this is not the purpose of providers.

donathonOptions: BCD

E is talking about module. "Terraform evaluates all of the configuration files in a module, effectively treating the entire module as a single document. "

090200fOptions: ABC

seems like ABC options are correct

[Removed]Options: ABC

A,B,C sounds good to me.

kiran15789Options: ABC

Terraform can be used for Provision resources for on-premises infrastructure services

sagunala5Options: ABC

ABC https://developer.hashicorp.com/terraform/language/providers#what-providers-do

kennynelconOptions: ABC

Def not D and E

robertninhoOptions: BCD

BCD,Option A (provision resources for on-premises infrastructure services) is not necessarily true, as not all providers support on-premises infrastructure. Option E (group a collection of Terraform configuration files that map to a single state file) is not related to providers.

robertninho

My bad, ABC

adoubanOptions: ABC

ABC for me

itsVespucciOptions: ABC

ABC 4 sure

babuappnetOptions: BCE

sure for BCE