Terraform Associate Certification Q121-Q130

  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...

121. You have decided to create a new Terraform workspace to deploy a development environment.
What is the difference between these workspaces?

A. It has its own state file
B. It pulls in a different terraform.tfvars file
C. It uses a different branch of code
D. It uses a different backend

Answer

A


122. Any user can publish modules to the public Terraform Module Registry.

A. True
B. False

Answer

A


123. Which of these commands makes your code more human readable?

A. terraform validate
B. terraform output
C. terraform plan
D. terraform fmt

Answer

D


124. Infrastructure as Code (IaC) can be stored in a version control system along with application code.

A. True
B. False

Answer

A


125. Select the command that doesn’t cause Terraform to refresh its state.

A. terraform apply
B. terraform destroy
C. terraform plan
D. terraform state list

Answer

D


126. Sentinel policy-as-code is available in Terraform Enterprise.

A. True
B. False

Answer

A


127. Before you can use Terraform’s remote backend, you must first execute terraform init.

A. True
B. False

Answer

A


128. Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)

A. Plan
B. Apply
C. Import
D. Init
E. Validate

Answer

B, D


129. Which of the fallowing commands would you use to access all of the attributes and details of a resource managed by Terraform?

A. terraform state list
B. terraform state show
C. terraform get
D. terraform state list

Answer

B


130. How would you be able to 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?


data "vsphere_datacenter" "dc" {}

resource "vsphere_folder" "parent" {
   path = "Production"
   type = "vm"
   datacenter_id = ________________
} 

A. data.dc.id
B. data.vsphere_datacenter.dc
C. vsphere_datacenter.dc.id
D. data.vsphere_datacenter.dc.id

Answer

D


Leave a Comment

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


Scroll to Top