00:00

QUESTION 56

- (Exam Topic 3)
You have created a terraform script that uses a lot of new constructs that have been introduced in terraform v0.12. However, many developers who are cloning the script from your git repo, are using v0.11, and getting errors. What can be done from your end to solve this problem?

Correct Answer: A
https://www.terraform.io/docs/configuration/terraform.html

QUESTION 57

- (Exam Topic 4)
Select all features which are exclusive to Terraform Enterprise. (Select Three)

Correct Answer: CDE
Sentinel and Cost Estimation are also available in Terraform Cloud https://www.hashicorp.com/products/terraform/pricing/

QUESTION 58

- (Exam Topic 1)
You have declared a variable called var.list which is a list of objects that all have an attribute id. Which options will produce a list of the IDs? (Choose two.)

Correct Answer: BD
https://www.terraform.io/language/expressions/splat
A splat expression provides a more concise way to express a common operation that could otherwise be performed with a for expression.

QUESTION 59

- (Exam Topic 4)
A single terraform resource file that defines an aws_instance resource can simple be renamed to azurerm_virtual_machine in order to switch cloud providers

Correct Answer: B
Providers usually require some configuration of their own to specify endpoint URLs, regions, authentication settings.
Providers Initialization can be done by either explicitly via a provider block or by adding a resource from that provide
https://www.terraform.io/docs/configuration/providers.html

QUESTION 60

- (Exam Topic 4)
When Terraform needs to be installed in a location where it does not have internet access to download the installer and upgrades, the installation is generally known as to be ________ .

Correct Answer: D

A Terraform Enterprise install that is provisioned on a network that does not have Internet access is generally known as an air-gapped install. These types of installs require you to pull updates, providers, etc. from external sources vs. being able to download them directly.