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 correct answers.A . Run...
What is the Terraform style convention for indenting a nesting level compared to the one above it?
What is the Terraform style convention for indenting a nesting level compared to the one above it?A . With a tabB . With two spacesC . With four spacesD . With three spacesView AnswerAnswer: B Explanation: This is the Terraform style convention for indenting a nesting level compared to the...
You can develop a custom provider to manage its resources using Terraform.
You can develop a custom provider to manage its resources using Terraform.A . TrueB . FalseView AnswerAnswer: A Explanation: You can develop a custom provider to manage its resources using Terraform, as Terraform is an extensible tool that allows you to write your own plugins in Go language. You can...
What kind of configuration block will create an infrastructure object with settings specified within the block?
What kind of configuration block will create an infrastructure object with settings specified within the block?A . providerB . stateC . dataD . resourceView AnswerAnswer: D Explanation: This is the kind of configuration block that will create an infrastructure object with settings specified within the block. The other options are...
Module version is required to reference a module on the Terraform Module Registry.
Module version is required to reference a module on the Terraform Module Registry.A . TrueB . FalseView AnswerAnswer: B Explanation: Module version is optional to reference a module on the Terraform Module Registry. If you omit the version constraint, Terraform will automatically use the latest available version of the module
Which pattern would follow laC best practices for making a change?
As a member of an operations team that uses infrastructure as code (lac) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would follow laC best practices for making a change?A . Make the change via the public cloud API...
What is one disadvantage of using dynamic blocks in Terraform?
What is one disadvantage of using dynamic blocks in Terraform?A . Dynamic blocks can construct repeatable nested blocksB . Terraform will run more slowlyC . They cannot be used to loop through a list of valuesD . They make configuration harder to read and understandView AnswerAnswer: D Explanation: This is...
Which of the following is not a valid Terraform variable type?
Which of the following is not a valid Terraform variable type?A . listB . arrayC . napD . stringView AnswerAnswer: B Explanation: This is not a valid Terraform variable type. The other options are valid variable types that can store different kinds of values2.
What does Terraform not reference when running a terraform apply -refresh-only?
What does Terraform not reference when running a terraform apply -refresh-only?A . State fileB . CredentialsC . Cloud providerD . Terraform resource definitions in configuration filesView AnswerAnswer: D Explanation: When running a terraform apply -refresh-only, Terraform does not reference the configuration files, but only the state file, credentials, and cloud...
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.A . TrueB . FalseView AnswerAnswer: B Explanation: Module variable assignments are not inherited from the parent module and you need to explicitly set them using the source argument. This allows you to...