Which of the following would achieve this?

You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (files). You need to enable debug messages to find this out. Which of the following would achieve this?A . Set the environment variable TF_LOG=TRACE B. Set verbose logging for each provider in your Terraform...

October 6, 2022 No Comments READ MORE +

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 workspace B. terraform workspace show C. terraform workspace list D. 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

October 6, 2022 No Comments READ MORE +

Only the user that generated a plan may apply it.

Only the user that generated a plan may apply it.A . True B. FalseView AnswerAnswer: B

October 6, 2022 No Comments READ MORE +

How is terraform import run?

How is terraform import run?A . As a part of terraform init B. As a part of terraform plan C. As a part of terraform refresh D. By an explicit call E. All of the aboveView AnswerAnswer: D Explanation: "The current implementation of Terraform import can only import resources into...

October 6, 2022 No Comments READ MORE +

Which command would you use?

You would like to reuse the same Terraform configuration for your development and production environments with a different state file for each. Which command would you use?A . terraform import B. terraform workspace C. terraform state D. terraform initView AnswerAnswer: B Explanation: https://www.terraform.io/language/state/workspaces#when-to-use-multiple-workspaces

October 6, 2022 No Comments READ MORE +

Terraform can import modules from a number of sources C which of the following is not a valid source?

Terraform can import modules from a number of sources C which of the following is not a valid source?A . FTP server B. GitHub repository C. Local path D. Terraform Module RegistryView AnswerAnswer: A Explanation: https://www.terraform.io/language/modules/sources

October 6, 2022 No Comments READ MORE +

Which argument(s) is (are) required when declaring a Terraform variable?

Which argument(s) is (are) required when declaring a Terraform variable?A . type B. default C. description D. All of the above E. None of the aboveView AnswerAnswer: B Explanation: The variable declaration can also include a default argument. Reference: https://www.terraform.io/docs/language/values/variables.html

October 6, 2022 No Comments READ MORE +

Which flag would you add to terraform plan to save the execution plan to a file?

CORRECT TEXT FILL BLANK Which flag would you add to terraform plan to save the execution plan to a file? 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: -out=FILENAME "You can use the optional -out=FILE...

October 6, 2022 No Comments READ MORE +

What is the provider for this fictitious resource?

What is the provider for this fictitious resource? A . vpc B. main C. aws D. testView AnswerAnswer: C Explanation: Reference: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html

October 5, 2022 No Comments READ MORE +

What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?

What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?A . The ability to share modules with public Terraform users and members of Terraform Enterprise Organizations B. The ability to tag modules by version or release C. The ability to restrict modules to...

October 5, 2022 No Comments READ MORE +