What are the two things you must do to achieve this?
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? (Choose two.)A . Provision new VMs...
What command should you run to display all workspaces for the current configuration?
What command should you run to display all workspaces for the current configuration?A . terraform workspaceB . terraform workspace showC . terraform workspace listD . terraform show workspaceView AnswerAnswer: C Explanation: terraform workspace list The command will list all existing workspaces. Reference: https://www.terraform.io/docs/cli/commands/workspace/list.html
How would you reference the "name" value of the second instance of this fictitious resource?
How would you reference the "name" value of the second instance of this fictitious resource? A . element(aws_instance.web, 2)B . aws_instance.web[1].nameC . aws_instance.web[1]D . aws_instance.web[2].nameE . aws_instance.web.*.nameView AnswerAnswer: A Explanation: Reference: https://www.terraform.io/docs/configuration-0-11/interpolation.html
Before you can import the resource's current state, what must you do in order to prepare to manage these resources using Terraform?
You want to use terraform import to start managing infrastructure that was not originally provisioned through infrastructure as code. Before you can import the resource's current state, what must you do in order to prepare to manage these resources using Terraform?A . Run terraform refresh to ensure that the state...
What resource meta-parameter can you use to make sure Terraform respects the dependency?
CORRECT TEXT FILL BLANK You need to specify a dependency manually. What resource meta-parameter can you use to make sure Terraform respects the dependency? Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.View AnswerAnswer: the local_file data...
Terraform can run on Windows or Linux, but it requires a Server version of the Windows operating system.
Terraform can run on Windows or Linux, but it requires a Server version of the Windows operating system.A . TrueB . FalseView AnswerAnswer: A Explanation: Reference: https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster-windows
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
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
Please identify the offerings which are unique to Terraform Enterprise, and not available in either Terraform OSS, or Terraform Cloud. Select four.
Please identify the offerings which are unique to Terraform Enterprise, and not available in either Terraform OSS, or Terraform Cloud. Select four.A . Audit LogsB . Private Network ConnectivityC . VCS IntegrationD . SentinelE . ClusteringView AnswerAnswer: A,B,E Explanation: https://www.hashicorp.com/products/terraform/pricing/
Terraform variables and outputs that set the "description" argument will store that description in the state file.
Terraform variables and outputs that set the "description" argument will store that description in the state file.A . TrueB . FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/language/values/outputs.html