Terraform Associate Certification Q51-Q60

  1. Terraform Associate Certification Q1-Q10
  2. Terraform Associate Certification Q11-Q20
  3. Terraform Associate Certification Q21-Q30
  4. Terraform Associate Certification Q31-Q40
  5. Terraform Associate Certification Q41-Q50
  6. Terraform Associate Certification Q51-Q60
  7. Terraform Associate Certification Q61-Q70
  8. Terraform Associate Certification Q71-Q80
  9. Terraform Associate Certification Q81-Q90
  10. Terraform Associate Certification Q91-Q100
  11. Terraform Associate Certification Q101-Q110
  12. Terraform Associate Certification Q111-Q120
  13. Terraform Associate Certification Q121-Q130
  14. Terraform Associate Certification Q131-Q140
  15. Terraform Associate Certification Q141-Q151

Please Subscribe to Access the Premium Content

The remaining premium contents are locked. Please subscribe to the monthly newsletter to unlock the content for free.

Loading...

51. How would you output returned values from a child module in the Terraform CLI output?

A. Declare the output in the root configuration
B. Declare the output in the child module
C. Declare the output in both the root and child module
D. None of the above

Answer

C


52. What is the Terraform resource name of the following resource block?


resource "azurerm_resource_group" "dev" {
    name = "test"
    location = "westus"
} 

A. azurerm_resource_group
B. azurerm
C. test
D. dev

Answer

D


53. When do you need to explicitly execute terraform refresh-only?

A. Before every terraform plan
B. Before every terraform apply
C. Before every terraform import
D. None of the above

Answer

D


54. How does the Terraform cloud integration differ from other state backends such as S3, Consul, etc.?

A. It can execute Terraform runs on dedicated infrastructure in Terraform Cloud
B. It doesn’t show the output of a terraform apply locally
C. It is only available to paying customers
D. All of the above

Answer

A


55. Which of the following are advantages of using infrastructure as code (IaC) instead of provisioning with a graphical user interface (GUI)? (Choose two.)

A. Secures your credentials
B. Let’s your version, reuse, and share infrastructure configuration
C. Provisions the same resources at a lower cost
D. Reduces risk of operator error
E. Prevents manual modifications to your resources

Answer

B, D


56. One cloud configuration always maps to a single remote workspace.

A. True
B. False

Answer

B


57. Multiple team members are collaborating on infrastructure using Terraform and want to format their Terraform code following standard Terraform-style convention.
How could they automatically ensure the code satisfies conventions?

A. Replace all tabs with spaces
B. Terraform automatically formats configuration on terraform apply
C. Run terraform validate prior to executing terraform plan or terraform apply
D. Use terraform fmt

Answer

D


58. Which backend does the Terraform CLI use by default?

A. Depends on the cloud provider configured
B. Remote
C. Terraform Cloud
D. Local
E. HTTP

Answer

D


59. The Terraform CLI will print output values from a child module after running terraform apply.

A. True
B. False

Answer

B


60. What does terraform refresh-only modify?

A. Your cloud infrastructure
B. Your Terraform plan
C. Your Terraform configuration
D. Your state file

Answer

D


Leave a Comment

Your email address will not be published. Required fields are marked *


Scroll to Top