最新的HashiCorp Certified: Terraform Associate (004) (HCTA0-004) - Terraform-Associate-004免費考試真題

問題1
How could you reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?

正確答案: A
說明:(僅 VCESoft 成員可見)
問題2
What type of block is used to construct a collection of nested configuration blocks?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題3
How would you output returned values from a child module in the Terraform CLI output?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題4
What is the Terraform style convention for indenting a nesting level compared to the one above it?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題5
What task does the terraform import command perform?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題6
Which option cannot be used to keep secrets out of Terraform configuration files?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題7
Your risk management organization requires that new AWS S3 buckets must be private and encrypted at rest.
How can Terraform Cloud automatically and proactively enforce this security control?

正確答案: B
說明:(僅 VCESoft 成員可見)
問題8
Which is a benefit of using infrastructure as code (IaC) tools compared to native platform APIs?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題9
You've just finished refactoring part of your Terraform workspace's configuration to use a module to manage some of your resources. When you plan your changes, you notice that Terraform will destroy and recreate the affected resources. Doing so could cause unintended downtime in the application your workspace manages.
What supported approach should you take to complete the refactor without destroying and recreating your resources?

正確答案: D
說明:(僅 VCESoft 成員可見)
問題10
Which Terraform collection type should you use to store key/value pairs?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題11
Why would you use the -replace flag for terraform apply?

正確答案: C
說明:(僅 VCESoft 成員可見)
問題12
You want to bring an existing database under Terraform management. What information is required to create a new import block for the database?
Pick the 2 correct responses below:

正確答案: C,D
說明:(僅 VCESoft 成員可見)