What do you do next to make your infrastructure match your configuration?

You just scaled your VM infrastructure and realized you set the count variable to the wrong value. You correct the value and save your change. What do you do next to make your infrastructure match your configuration?A . Run an apply and confirm the planned changesB . Inspect your Terraform...

March 5, 2022 No Comments READ MORE +

When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)

When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)A . When a change is made to the resources via the Azure Cloud Console, the changes are recorded in a new state fileB . When a change is made to the resources via...

March 5, 2022 No Comments READ MORE +

What should you do to delete the newly-created VM with Terraform?

You have never used Terraform before and would like to test it out using a shared team account for a cloud provider. The shared team account already contains 15 virtual machines (VM). You develop a Terraform configuration containing one VM, perform terraform apply, and see that your VM was created...

March 5, 2022 No Comments READ MORE +

A terraform apply can not _________ infrastructure.

A terraform apply can not _________ infrastructure.A . changeB . destroyC . provisionD . importView AnswerAnswer: A

March 5, 2022 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...

March 5, 2022 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

March 5, 2022 No Comments READ MORE +

How can you do this safely?

You’re building a CI/CD (continuous integration/ continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?A . Pass variables to Terraform with a Cvar flagB . Copy the sensitive variables into your Terraform codeC . Store the sensitive variables in a...

March 4, 2022 No Comments READ MORE +

Terraform and Terraform providers must use the same major version number in a single configuration.

Terraform and Terraform providers must use the same major version number in a single configuration.A . TrueB . FalseView AnswerAnswer: B

March 4, 2022 No Comments READ MORE +

All standard backend types support state storage, locking, and remote operations like plan.

All standard backend types support state storage, locking, and remote operations like plan. apply and destroy.A . TrueB . FalseView AnswerAnswer: A

March 4, 2022 No Comments READ MORE +

What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?A . Terraform...

March 4, 2022 No Comments READ MORE +