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

Terraform providers are always installed from the Internet.

    Correct Answer: B

    Terraform providers are not always installed from the Internet. Terraform can fetch providers from multiple sources, including a local mirror or cache, or even a local path specified in the configuration. This is particularly useful in air-gapped environments where internet access is restricted. Therefore, the statement 'Terraform providers are always installed from the Internet' is false.

Discussion
amrith501Option: B

For air gapped systems, we can bundle provider along with the Terraform binaries. These Bundle can be installed without internet on air gapped system. NOTE: For downloading the bundle we need internet access, this can be done on a system which as internet access and later transfer to the air gapped system

bigboi23Option: B

Terraform CLI finds and installs providers when initializing a working directory. It can automatically download providers from a Terraform registry, or load them from a local mirror or cache. If you are using a persistent working directory, you must reinitialize whenever you change a configuration's providers.

BereOption: B

Terraform providers are not always installed from the Internet. While Terraform does fetch providers from the HashiCorp Terraform Registry by default, it also allows for the usage of providers from other sources or even local sources. Here's an example: terraform { required_providers { aws = { source = "hashicorp/aws" version = "2.70.0" } custom-provider = { source = "/path/to/local/custom-provider" } } } provider "aws" { region = "us-west-2" } provider "custom-provider" { # Configuration for the custom provider } In this example, the AWS provider is fetched from the HashiCorp Terraform Registry, while the "custom-provider" is loaded from a local path. The local provider must be properly compiled and placed in the specified path.

vikramvlrOption: B

Answer is B. Terraform CLI finds and installs providers when initializing a working directory. It can automatically download providers from a Terraform registry, or load them from a local mirror or cache. If you are using a persistent working directory, you must reinitialize whenever you change a configuration's providers.

Tyler2023Option: B

Downloading a plugin directly from its origin registry is not always appropriate, though. For example, the system where you are running Terraform may not be able to access an origin registry due to firewall restrictions within your organization or your locality. To allow using Terraform providers in these situations, there are some alternative options for making provider plugins available to Terraform which we'll describe in the following sections. https://developer.hashicorp.com/terraform/language/providers/requirements#in-house-providers https://developer.hashicorp.com/terraform/cli/config/config-file#provider-installation

EltoothOption: B

B is correct answer.

debabrata6983Option: B

terraform can be used in AirGap region too

LunarPhobiaOption: B

B because you can do air gap installs for networks without internet

Ni33Option: A

A. Terraform Cloud and Terraform Enterprise install providers as part of every run. Terraform CLI finds and installs providers when initializing a working directory.

vibzr2023

incorrect: think of military/defense systems, nuclear power plants they do air-gapped which they don't rely on intenet.

Power123Option: B

The answer is B

Ahmad_TerraformOption: B

B is correct,