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

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 177 discussion

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

Where can Terraform not load a provider from?

  • A. Source code
  • B. Plugins directory
  • C. Official HashiCorp distribution on releases.hashicorp.com
  • D. Provider plugin cache
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
amoyano
Highly Voted 2 years, 1 month ago
Selected Answer: A
A- no info about TF loading a provider directly from source code, so this must be the correct answer. B- In the plugin directory are stored the providers, so TF could load providers from it C- releases.hashicorp.com is a valid source where providers can be downloaded from D- If the plugin provider cache is enabled eventually a provider could be loaded from it.
upvoted 12 times
Pietjeplukgeluk
1 year, 9 months ago
Totally agree on A. I do not see any information loading providers directly from source code.
upvoted 2 times
...
...
ark007thegreat
Most Recent 11 months ago
I did check the releases.hashicorp.com and found that terraform providers can be downloaded from that URL. For example you can refer the AWS provider from the URL 'https://releases.hashicorp.com/terraform-provider-aws/'
upvoted 1 times
...
piezaS
1 year, 6 months ago
Selected Answer: C
Terraform cannot load a provider from the Official HashiCorp distribution on releases.hashicorp.com. The Official HashiCorp distribution on releases.hashicorp.com is the source where Terraform retrieves official provider releases. Terraform downloads provider binaries from this source and caches them in the provider plugin cache directory. The provider plugin cache is a location on the local machine where Terraform stores downloaded provider plugins to be used across multiple configurations.
upvoted 1 times
...
camps
1 year, 7 months ago
Selected Answer: A
A. Source code. Terraform can load a provider from a variety of sources, including the official HashiCorp distribution on releases.hashicorp.com, the provider plugin cache, and a plugins directory. However, Terraform cannot load a provider directly from the source code. Providers must be compiled and packaged as plugins before they can be loaded by Terraform. Terraform uses the provider's plugin binary to interact with the provider's API and manage the corresponding resources. Therefore, to use a provider in Terraform, it must be available as a compiled and packaged plugin in one of the supported locations.
upvoted 2 times
...
Arrash
1 year, 9 months ago
Selected Answer: C
releases.hashicorp.com is not related to terraform providers, its the main company site about all products
upvoted 1 times
...
Abhijeet2904
1 year, 9 months ago
Selected Answer: B
Terraform requires providers to be installed in its plugins directory. Providers obtained from other sources, such as source code or provider plugin caches, cannot be directly loaded by Terraform. Providers must be installed in the plugins directory to be properly recognized and used by Terraform.
upvoted 1 times
...
gsx
2 years ago
Selected Answer: A
When using the required_providers setting to specify a version constraint, Terraform currently assumes the source is registry.terraform.io (or releases.hashicorp.com for older versions). Both registry.terraform.io and releases.hashicorp.com are populated by the providers grouped within the the terraform-providers organization on GitHub.
upvoted 2 times
...
udibie
2 years, 1 month ago
Selected Answer: C
C should be the answer
upvoted 2 times
...
jednorozec2022
2 years, 2 months ago
C The Releases API provides metadata about every HashiCorp product release hosted on our release site, HashiCorp Releases, and includes useful information such as links to release notes, licenses, associated repositories, and more. ref: https://www.hashicorp.com/blog/announcing-the-hashicorp-releases-api
upvoted 3 times
kibkib
2 years, 1 month ago
It seems to provide a provider for releases.hashicorp.com, but the answer is C though?
upvoted 1 times
jednorozec2022
2 years, 1 month ago
https://www.terraform.io/language/providers B/D is correct no information about A, in my opinion incorrect is C
upvoted 1 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 ...