Free Terraform-Associate – HashiCorp Certified: Terraform Associate Practice Test Question

Free demo downloads

Loading demo links...

Showing 1–3 of 10 questions

Question 1

Which of the following is not a key principle of infrastructure as code?

Select all that apply, then click Submit answer.

  • ○

    Versioned infrastructure

  • ○

    Golden images

  • ○

    Idempotence

  • ○

    Self-describing infrastructure

Question 2

You have declared a variable called var.list which is a list of objects that all have an attribute id.

Which options will produce a list of the IDs? (Choose two.)

Select all that apply, then click Submit answer.

  • ○

    { for o in var.list : o => o.id }

  • ○

    var.list[*].id

  • ○

    [ var.list[*].id ]

  • ○

    [ for o in var.list : o.id ]

Question 3

What is not processed when running a terraform refresh?

Select all that apply, then click Submit answer.

  • ○

    State file

  • ○

    Configuration file

  • ○

    Credentials

  • ○

    Cloud provider