HashiCorp Certified: Terraform Associate (003) (HCTA0-003) - Terraform-Associate-003 模擬練習

Which configuration consistency errors does terraform validate report?

正解: B
解説: (PassTest メンバーにのみ表示されます)
How is terraform import run?

正解: D
解説: (PassTest メンバーにのみ表示されます)
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.

正解: B,C
解説: (PassTest メンバーにのみ表示されます)
A developer accidentally launched a VM (virtual machine) outside of the Terraform workflow and ended up with two servers with the same name. They don't know which VM Terraform manages but do have a list of all active VM IDs.
Which of the following methods could you use to discover which instance Terraform manages?

正解: B
解説: (PassTest メンバーにのみ表示されます)
When should you use the force-unlock command?

正解: D
解説: (PassTest メンバーにのみ表示されます)
Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to store the state file in a central location. Which of the following backends would not work?

正解: D
解説: (PassTest メンバーにのみ表示されます)
Terraform variables and outputs that set the description argument will store that description in the state file.

正解: B
解説: (PassTest メンバーにのみ表示されます)
Which of the following is true about terraform apply?(Pick 2 correct responses)

正解: C,D
解説: (PassTest メンバーにのみ表示されます)
Terraform providers are part of the Terraform core binary.

正解: B
解説: (PassTest メンバーにのみ表示されます)
Which of the following is not a valid source path for specifying a module?

正解: C
解説: (PassTest メンバーにのみ表示されます)
Which statement describes a goal of Infrastructure as Code (IaC)?

正解: D
解説: (PassTest メンバーにのみ表示されます)
A Terraform backend determines how Terraform loads state and stores updates when you execute which command?

正解: D
解説: (PassTest メンバーにのみ表示されます)
Module version is required to reference a module on the Terraform Module Registry.

正解: B
解説: (PassTest メンバーにのみ表示されます)
In a HCP Terraform/Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.

正解: A
解説: (PassTest メンバーにのみ表示されます)
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?

正解: A
解説: (PassTest メンバーにのみ表示されます)