What information does the public Terraform Module Registry automatically expose about published modules?

What information does the public Terraform Module Registry automatically expose about published modules?A . Required input variablesB . Optional inputs variables and default valuesC . OutputsD . All of the aboveE . None of the aboveView AnswerAnswer: D Explanation: The public Terraform Module Registry automatically exposes all the information about...

February 3, 2024 No Comments READ MORE +

It is best practice to store secret data in the same version control repository as your Terraform configuration.

It is best practice to store secret data in the same version control repository as your Terraform configuration.A . TrueB . FalseView AnswerAnswer: B Explanation: It is not a best practice to store secret data in the same version control repository as your Terraform configuration, as it could expose your...

February 3, 2024 No Comments READ MORE +

How does Terraform manage most dependencies between resources?

How does Terraform manage most dependencies between resources? A. Terraform will automatically manage most resource dependencies B. Using the depends_on parameter C. By defining dependencies as modules and including them in a particular order D. The order that resources appear in Terraform configuration indicates dependenciesView AnswerAnswer: A Explanation: This is...

February 3, 2024 No Comments READ MORE +

What feature stops multiple users from operating on the Terraform state at the same time?

What feature stops multiple users from operating on the Terraform state at the same time?A . State lockingB . Version controlC . Provider constraintsD . Remote backendsView AnswerAnswer: A Explanation: State locking prevents other users from modifying the state file while a Terraform operation is in progress. This prevents conflicts...

February 3, 2024 No Comments READ MORE +

If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.

If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.A . TrueB . FalseView AnswerAnswer: A Explanation: If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you...

February 3, 2024 No Comments READ MORE +

What does Terraform use the .terraform.lock.hc1 file for?

What does Terraform use the .terraform.lock.hc1 file for?A . There is no such fileB . Tracking specific provider dependenciesC . Preventing Terraform runs from occurringD . Storing references to workspaces which are lockedView AnswerAnswer: B Explanation: The .terraform.lock.hcl file is a new feature in Terraform 0.14 that records the exact...

February 3, 2024 No Comments READ MORE +

What does the default "local" Terraform backend store?

What does the default "local" Terraform backend store?A . tfplan filesB . State fileC . Provider pluginsD . Terraform binaryView AnswerAnswer: B Explanation: The default “local” Terraform backend stores the state file in a local file named terraform.tfstate, which can be used to track and manage the state of your...

February 2, 2024 No Comments READ MORE +

Which Terraform command should you use?

As a developer, you want to ensure your plugins are up to date with the latest versions. Which Terraform command should you use?A . terraform refresh -upgradeB . terraform apply -upgradeC . terraform init -upgradeD . terraform providers -upgradeView AnswerAnswer: C Explanation: This command will upgrade the plugins to the...

February 2, 2024 No Comments READ MORE +

Which options will produce a list of the IDs?

You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? Choose two correct answers.A . [ var.list [ * ] , id ]B . [ for o in var.list : o.Id...

February 2, 2024 No Comments READ MORE +

What is the workflow for deploying new infrastructure with Terraform?

What is the workflow for deploying new infrastructure with Terraform?A . Write Terraform configuration, run terraform init to initialize the working directory or workspace, and run terraform applyB . Write Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructureC . Write Terraform configuration,...

February 2, 2024 No Comments READ MORE +