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...

February 11, 2024 No Comments READ MORE +

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...

February 11, 2024 No Comments READ MORE +

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

February 11, 2024 No Comments READ MORE +

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...

February 11, 2024 No Comments READ MORE +

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...

February 11, 2024 No Comments READ MORE +

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.

February 10, 2024 No Comments READ MORE +

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...

February 10, 2024 No Comments READ MORE +

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...

February 10, 2024 No Comments READ MORE +

Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?

Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?A . terraform fmt -write-falseB . terraform fmt -list -recursiveC . terraform fmt -check -recursiveD . terraform fmt -checkView AnswerAnswer: C Explanation: This command will check if...

February 9, 2024 No Comments READ MORE +

What is the best method to quickly find the IP address of the resource you deployed?

You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?A . In a new folder, use the terraform_remote_state data...

February 9, 2024 No Comments READ MORE +