The terraform.tfstate file always matches your currently built infrastructure.

The terraform.tfstate file always matches your currently built infrastructure.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/language/state/index.html

June 22, 2021 No Comments READ MORE +

Terraform must track metadata such as resource dependencies. Where is this data stored?

Terraform must track metadata such as resource dependencies. Where is this data stored?A . workspaceB . backendC . state fileD . metadata storeView AnswerAnswer: C Explanation: Terraform typically uses the configuration to determine dependency order. However, when you delete a resource from a Terraform configuration, Terraform must know how to...

June 22, 2021 No Comments READ MORE +

Environment variables can be used to set variables. The environment variables must be in the format "____"_<variablename>. Select the correct prefix string from the following list.

Environment variables can be used to set variables. The environment variables must be in the format "____"_<variablename>. Select the correct prefix string from the following list.A . TF_CLI_ARGSB . TF_VARC . TF_VAR_D . TF_VAR_ENVView AnswerAnswer: C Explanation: Environment variables can be used to set variables. The environment variables must be...

June 22, 2021 No Comments READ MORE +

Which command should you use to show all of the resources that will be deleted?

You have used Terraform to create an ephemeral development environment in the cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be safe, you would like to first see all the infrastructure that will be deleted by Terraform. Which command should you use...

June 21, 2021 No Comments READ MORE +

terraform refresh command will not modify infrastructure, but does modify the state file.

terraform refresh command will not modify infrastructure, but does modify the state file.A . TrueB . FalseView AnswerAnswer: A Explanation: The terraform refresh command is used to reconcile the state Terraform knows about (via its state file) with the real-world infrastructure. This can be used to detect any drift from...

June 21, 2021 No Comments READ MORE +

In Terraform 0.13 and above, outside of the required_providers block, Terraform configurations always refer to providers by their local names.

In Terraform 0.13 and above, outside of the required_providers block, Terraform configurations always refer to providers by their local names.A . TrueB . FalseView AnswerAnswer: A Explanation: Outside of the required_providers block, Terraform configurations always refer to providers by their local names. Reference: https://www.terraform.io/docs/language/providers/requirements.html

June 21, 2021 No Comments READ MORE +

How would you solve this using infrastructure as code?

You have recently started a new job at a retailer as an engineer. As part of this new role, you have been tasked with evaluating multiple outages that occurred during peak shopping time during the holiday season. Your investigation found that the team is manually deploying new compute instances and...

June 21, 2021 No Comments READ MORE +

What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?

What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?A . The ability to share modules with public Terraform users and members of Terraform Enterprise OrganizationsB . The ability to tag modules by version or releaseC . The ability to restrict modules to...

June 21, 2021 1 Comment READ MORE +

When using remote state, state is only ever held in memory when used by Terraform.

When using remote state, state is only ever held in memory when used by Terraform.A . FalseB . TrueView AnswerAnswer: B

June 21, 2021 No Comments READ MORE +

Which of the following best describes a Terraform provider?

Which of the following best describes a Terraform provider?A . A plugin that Terraform uses to translate the API interactions with the service or provider.B . Serves as a parameter for a Terraform module that allows a module to be customized.C . Describes an infrastructure object, such as a virtual...

June 21, 2021 No Comments READ MORE +