How do you specify a module’s version when publishing it to the public terraform Module Registry?

How do you specify a module’s version when publishing it to the public terraform Module Registry?A . Configuration it in the module's Terraform codeB . Mention it on the module's configuration page on the Terraform Module RegistryC . The Terraform Module Registry does not support versioning modulesD . Tag a...

March 7, 2025 No Comments READ MORE +

What does state looking accomplish?

What does state looking accomplish?A . Prevent accidental Prevent accident deletion of the state fileB . Blocks Terraform commands from modifying, the state fileC . Copies the state file from memory to diskD . Encrypts any credentials stored within the state fileView AnswerAnswer: B Explanation: This is what state locking...

March 5, 2025 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 . TrueB . FalseView AnswerAnswer: B Explanation: Any user with permission to apply a plan can apply it, not only the user that generated it. This allows for collaboration and delegation of tasks among team members.

March 4, 2025 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...

March 2, 2025 No Comments READ MORE +

How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?

How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?A . It can execute Terraform runs on dedicated infrastructure in Terraform CloudB . It doesn't show the output of a terraform apply locallyC . It is only arable lo paying customersD . All of the...

February 27, 2025 No Comments READ MORE +

How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.

How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.A . End-users have to request infrastructure changesB . Ticket based systems generate a full audit trail of the request and fulfillment processC . Users can access catalog of approved resources from...

February 27, 2025 No Comments READ MORE +

How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?

How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?A . Only Terraform Cloud organization owners can set workspace variables on VCS connected workspacesB . Commit a change to the VCS working directory and branch that the Terraform Cloud...

February 27, 2025 No Comments READ MORE +

You can reference a resource created with for_each using a Splat ( *) expression.

You can reference a resource created with for_each using a Splat ( *) expression.A . TrueB . FalseView AnswerAnswer: B Explanation: You cannot reference a resource created with for_each using a splat (*) expression, as it will not work with resources that have non-numeric keys. You need to use a...

February 24, 2025 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 21, 2025 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 ]C ....

February 19, 2025 No Comments READ MORE +