Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.

Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.A . TrueB . FalseView AnswerAnswer: A Explanation: Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout, along with other log levels such as TRACE, INFO, WARN, and ERROR. This...

May 18, 2025 No Comments READ MORE +

What does this code do?

What does this code do? A . Requires any version of the AWS provider > = 3.0 and <4.0B . Requires any version of the AWS provider >= 3.0C . Requires any version of the AWS provider > = 3.0 major release. like 4.1D . Requires any version of the...

May 16, 2025 No Comments READ MORE +

Which command will migrate your current state file to the new S3 remote backend?

You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf. Which command will migrate your current state file to the new S3 remote backend?A . terraform stateB . terraform initC . terraform pushD . terraform refreshView...

May 16, 2025 No Comments READ MORE +

Which backend does the Terraform CU use by default?

Which backend does the Terraform CU use by default?A . Depends on the cloud provider configuredB . HTTPC . RemoteD . Terraform CloudE . LocalView AnswerAnswer: E Explanation: This is the backend that the Terraform CLI uses by default, unless you specify a different backend in your configuration. The local...

May 12, 2025 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...

May 9, 2025 No Comments READ MORE +

You must use different Terraform commands depending on the cloud provider you use.

You must use different Terraform commands depending on the cloud provider you use.A . TrueB . FalseView AnswerAnswer: B Explanation: You do not need to use different Terraform commands depending on the cloud provider you use. Terraform commands are consistent across different providers, as they operate on the Terraform configuration...

May 9, 2025 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...

May 8, 2025 No Comments READ MORE +

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

May 8, 2025 No Comments READ MORE +

How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?

How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration? A . aws_instance.example.ebs_block_device[sda2,sda3).volume_idB . aws_lnstance.example.ebs_block_device.[*].volume_idC . aws_lnstance.example.ebs_block_device.volume_idsD . aws_instance.example-ebs_block_device.*.volume_idView AnswerAnswer: D Explanation: This is the correct way to reference the volume IDs associated with the ebs_block_device blocks in this configuration, using the splat expression syntax....

May 7, 2025 No Comments READ MORE +

The public Terraform Module Registry is free to use.

The public Terraform Module Registry is free to use.A . TrueB . FalseView AnswerAnswer: A Explanation: The public Terraform Module Registry is free to use, as it is a public service that hosts thousands of self-contained packages called modules that are used to provision infrastructure. You can browse, use, and...

May 7, 2025 No Comments READ MORE +