11 Correct Answer: ABD Reference: https://docs.microsoft.com/en-us/azure/devops/learn/what-is-infrastructure-as-code#:~:text=Idempotence%20is%20a%20principle%20of,of%20the% 20environment’s%20starting%20state 12 Correct Answer: A 13 Correct Answer: C Reference: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html 14 Correct Answer: B 15 Correct Answer: CD Reference: https://www.terraform.io/docs/cli/commands/refresh.html
HashiCorp Terraform Associate Exam Actual Questions-002問題集
6 You run a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script. Which of the following commands would you use first? A. terraform taint null_resource.run_script B. terraform apply -target=null_resource.run_script C. terraform validate null_resource.run_script D. terraform plan -target=null_resource.run_script 7 Which provisioner invokes a process on the resource created by Terraform? A. remote-exec […]
HashiCorp Terraform Associate Exam Actual Questions-002解答
6 Correct Answer: A 7 Correct Answer: A The remote-exec provisioner invokes a script on a remote resource after it is created. Reference: https://www.terraform.io/docs/language/resources/provisioners/remote-exec.html 8 Correct Answer: D Reference: https://jayendrapatil.com/terraform-cheat-sheet/#Terraform_Read_and_write_configuration 9 Correct Answer: B terraform init command is used to initialize a working directory containing Terraform configuration files. Reference: https://www.terraform.io/docs/cli/commands/init.html 10 Correct Answer: A Reference: https://www.terraform.io/docs/cli/commands/output.html