Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?
Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?A . Terraform state show ‘ provider_type_nameB . Terraform state listC . Terraform get provider_type_nameD . Terraform state list provider_type_nameView AnswerAnswer: A Explanation: This is the command that you...
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?A . terraform destroy, then terraform applyB . terraform initC . terraform pushD . terraform applyView AnswerAnswer: A Explanation: This command will initialize the new backend and prompt you...
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...
terraform validate confirms that your infrastructure matches the Terraform state file.
terraform validate confirms that your infrastructure matches the Terraform state file.A . TrueB . FalseView AnswerAnswer: B Explanation: terraform validate does not confirm that your infrastructure matches the Terraform state file. It only checks whether the configuration files in a directory are syntactically valid and internally consistent3. To confirm that...
A Terraform provider is NOT responsible for:
A Terraform provider is NOT responsible for:A . Exposing resources and data sources based on an APUIB . Managing actions to take based on resources differencesC . Understanding API interactions with some serviceD . Provisioning infrastructure in multipleView AnswerAnswer: D Explanation: This is not a responsibility of a Terraform provider,...
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.
Which of the following statements about Terraform modules is not true?
Which of the following statements about Terraform modules is not true?A . Modules can call other modulesB . A module is a container for one or more resourcesC . Modules must be publicly accessibleD . You can call the same module multiple timesView AnswerAnswer: C Explanation: This is not true,...
You cannot install third party plugins using terraform init.
You cannot install third party plugins using terraform init.A . TrueB . FalseView AnswerAnswer: B Explanation: You can install third party plugins using terraform init, as long as you specify the plugin directory in your configuration or as a command-line argument. You can also use the terraform providers mirror command...