What does Terraform use providers for? (Choose three.)
What does Terraform use providers for? (Choose three.)
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.
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.
to me BCE sounds ok
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).
ABC - for me too
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.
correct
Provider is used to provison resources A on prem C on cloud. B to use API communication
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.
E is talking about module. "Terraform evaluates all of the configuration files in a module, effectively treating the entire module as a single document. "
seems like ABC options are correct
A,B,C sounds good to me.
Terraform can be used for Provision resources for on-premises infrastructure services
ABC https://developer.hashicorp.com/terraform/language/providers#what-providers-do
Def not D and E
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.
My bad, ABC
ABC for me
ABC 4 sure
sure for BCE