- (Exam Topic 4)
Most Terraform providers interact with _____.
Correct Answer:
A
Terraform relies on plugins called "providers" to interact with cloud providers, SaaS providers, and other APIs, as per: https://www.terraform.io/language/providers
- (Exam Topic 4)
terraform init retrieves the source code tot all referenced modules
Correct Answer:
A
Terraform installs providers, initialises source code & modules etc at this stage
- (Exam Topic 4)
What does terraform refresh modify?
Correct Answer:
B
The terraform refresh command reads the current settings from all managed remote objects and updates the Terraform state to match. Source: https://www.terraform.io/cli/commands/refresh
- (Exam Topic 4)
Which statements best describes what the local variable assignment is doing in the following code snippet:
Correct Answer:
D
- (Exam Topic 1)
If a module uses a local variable, you can expose that value with a terraform output.
Correct Answer:
A
Output values are like function return values.
Reference: https://www.terraform.io/docs/language/values/locals.html https://www.terraform.io/docs/language/values/outputs.html