terraform init initializes a sample main.tf file in the current directory.

terraform init initializes a sample main.tf file in the current directory.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/cli/commands/init.html

June 16, 2021 No Comments READ MORE +

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.A . TrueB . FalseView AnswerAnswer: A Explanation: Reference: https://www.terraform.io/docs/internals/debugging.html

June 16, 2021 No Comments READ MORE +

Which provisioner invokes a process on the resource created by Terraform?

Which provisioner invokes a process on the resource created by Terraform?A . remote-execB . null-execC . local-execD . fileView AnswerAnswer: A Explanation: The remote-exec provisioner invokes a script on a remote resource after it is created. Reference: https://www.terraform.io/docs/language/resources/provisioners/remote-exec.html

June 16, 2021 No Comments READ MORE +

In regards to deploying resources in multi-cloud environments, what are some of the benefits of using Terraform rather than a provider's native tooling? (select three)

In regards to deploying resources in multi-cloud environments, what are some of the benefits of using Terraform rather than a provider's native tooling? (select three)A . Terraform can help businesses deploy applications on multiple clouds and on-premises infrastructure.B . Terraform is not cloud-agnostic and can be used to deploy resources...

June 16, 2021 No Comments READ MORE +

Which of the following clouds does not have a provider maintained HashiCorp?

Which of the following clouds does not have a provider maintained HashiCorp?A . IBM CloudB . DigitalOceanC . OpenStackD . AWSView AnswerAnswer: A Explanation: IBM Cloud does not have a provider maintained by HashiCorp, although IBM Cloud does maintain their own Terraform provider. https://www.terraform.io/docs/providers/index.html

June 15, 2021 No Comments READ MORE +

You do not need to specify every required argument in the backend configuration. Omitting certain arguments may be desirable to avoid storing secrets, such as access keys, within the main configuration. When some or all of the arguments are omitted, we call this a _____________.

You do not need to specify every required argument in the backend configuration. Omitting certain arguments may be desirable to avoid storing secrets, such as access keys, within the main configuration. When some or all of the arguments are omitted, we call this a _____________.A . First Time ConfigurationB ....

June 15, 2021 No Comments READ MORE +

Terraform requires the Go runtime as a prerequisite for installation.

Terraform requires the Go runtime as a prerequisite for installation.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/extend/guides/v1-upgrade-guide.html

June 15, 2021 No Comments READ MORE +

What is the workflow for deploying new infrastructure with Terraform?

What is the workflow for deploying new infrastructure with Terraform?A . terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructureB . Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new...

June 15, 2021 1 Comment READ MORE +

Terraform import command can import resources into modules as well directly into the root of your state.

Terraform import command can import resources into modules as well directly into the root of your state.A . TrueB . FalseView AnswerAnswer: A Explanation: Import will find the existing resource from ID and import it into your Terraform state at the given ADDRESS. ADDRESS must be a valid resource address....

June 15, 2021 No Comments READ MORE +

What is the default backend for Terraform?

What is the default backend for Terraform?A . consulB . gcsC . localD . etcdView AnswerAnswer: C Explanation: By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html

June 15, 2021 No Comments READ MORE +