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

Which Terraform command checks that your configuration syntax is correct?

正確答案: B
說明:(僅 Fast2test 成員可見)
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?

正確答案: C
說明:(僅 Fast2test 成員可見)
A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of that resource block?

正確答案: B
說明:(僅 Fast2test 成員可見)
Terraform configuration can only call modules from the public registry.

正確答案: A
說明:(僅 Fast2test 成員可見)
Which of the following does HCP Terraform perform during a health assessment for a workspace?

正確答案: A,E
說明:(僅 Fast2test 成員可見)
When using multiple configurations of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?

正確答案: B
說明:(僅 Fast2test 成員可見)

A resource block is shown in the Exhibit space of this page. What is the provider for this resource?

正確答案: D
說明:(僅 Fast2test 成員可見)
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?

正確答案: B
說明:(僅 Fast2test 成員可見)
Before you can use a remote backend, you must first execute terra-form init.

正確答案: B
說明:(僅 Fast2test 成員可見)
Which Terraform collection type stores values as key/value pairs?

正確答案: B
說明:(僅 Fast2test 成員可見)
You've enabled DEBUG-level logging for Terraform, and you'd like to send the log data to a file. Which action should you take?

正確答案: C
說明:(僅 Fast2test 成員可見)
terraform validate uses provider APIs to verify your infrastructure settings.

正確答案: A
說明:(僅 Fast2test 成員可見)
In Terraform HCL, an object type of object({name=string, age-number}) would match this value.

正確答案: B
說明:(僅 Fast2test 成員可見)
Exhibit:
resource " azurerm_linux_web_app " " app " {
name = " example-app "
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
service_plan_id = azurerm_service_plan.plan.id
identity {
type = " UserAssigned "
identity_ids = [azurerm_user_assigned_identity.app.id]
}
}
resource " azurerm_role_assignment " " kv_access " {
scope = azurerm_key_vault.kv.id
role_definition_name = " Key Vault Secrets User "
principal_id = azurerm_user_assigned_identity.app.principal_id
}
Two resource blocks are shown: azurerm_linux_web_app and azurerm_role_assignment. When provisioned, the web app will use the role assignment during creation, so the role assignment must be created first. How do you ensure the azurerm_role_assignment resource is created first?

正確答案: C
說明:(僅 Fast2test 成員可見)
When does Terraform create the .terraform.lock.hc1 file?

正確答案: B
說明:(僅 Fast2test 成員可見)

聯系我們

如果您有任何問題,請留下您的電子郵件地址,我們將在12小時內回复電子郵件給您。

我們的工作時間:( GMT 0:00-15:00 )
週一至週六

技術支持: 立即聯繫 

English 日本語 Deutsch 한국어