最新的HashiCorp Certified: Terraform Associate (004) (HCTA0-004) - Terraform-Associate-004免費考試真題
Exhibit:
provider " aws " { region = " us-east-1 " }
provider " aws " { region = " us-west-2 " }
You need to deploy resources into two different AWS regions in the same Terraform configuration using the provider blocks shown in the exhibit. What do you need to add to the provider configuration to deploy a resource to the us-west-2 AWS region?
provider " aws " { region = " us-east-1 " }
provider " aws " { region = " us-west-2 " }
You need to deploy resources into two different AWS regions in the same Terraform configuration using the provider blocks shown in the exhibit. What do you need to add to the provider configuration to deploy a resource to the us-west-2 AWS region?
正確答案: C
說明:(僅 Fast2test 成員可見)
What does this code do?
terraform { required_providers { aws = " > = 3.0 " }}
terraform { required_providers { aws = " > = 3.0 " }}
正確答案: B
說明:(僅 Fast2test 成員可見)
Which command doesnotcause Terraform to refresh its state?
正確答案: D
說明:(僅 Fast2test 成員可見)
Which of the following is not true of Terraform providers?
正確答案: C
說明:(僅 Fast2test 成員可見)
Your team adopts AWS CloudFormation as the standardized method for provisioning public cloud resources.
Which scenario presents a challenge for your team?
Which scenario presents a challenge for your team?
正確答案: B
說明:(僅 Fast2test 成員可見)
The public Terraform Module Registry is free to use.
正確答案: B
說明:(僅 Fast2test 成員可見)
A data source is shown in the exhibit below.
How do you reference the id attribute of this data source?

}
}
How do you reference the id attribute of this data source?

}
}
正確答案: B
說明:(僅 Fast2test 成員可見)
You manage two workspaces in your HCP Terraform organization. The first workspace manages your network configuration. The second workspace manages your compute resources and retrieves values from the networking workspace.
What HCP Terraform feature lets you run an apply operation on the compute workspace every time you update the networking workspace?
What HCP Terraform feature lets you run an apply operation on the compute workspace every time you update the networking workspace?
正確答案: B
說明:(僅 Fast2test 成員可見)
Which of the following ate advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.
正確答案: A,D
說明:(僅 Fast2test 成員可見)
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?
正確答案: C
說明:(僅 Fast2test 成員可見)
You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string.
Which variable type could you use for this input?
Which variable type could you use for this input?
正確答案: D
說明:(僅 Fast2test 成員可見)