Free quiz · random questions each time

Terraform Associate (004): Maintain infrastructure with Terraform Quiz

Questions on objective 7 of the Terraform Associate (004) exam, "Maintain infrastructure with Terraform". Every attempt draws a new set, with an explanation and an official docs link for every answer. Written by our team from the official objectives; not real exam questions.

Loading the exam settings…

Sample questions

  1. A storage bucket was created by hand and the team now wants Terraform to manage it without recreating it. What is the recommended approach in current Terraform versions?
  2. An import block targets random_string.legacy, but the configuration has no resource "random_string" "legacy" block. What happens when you run terraform plan?
  3. Which command drafts resource configuration for objects listed in import blocks?
  4. What should you do with configuration generated by -generate-config-out before applying it?
  5. True or false: terraform plan -generate-config-out=generated.tf overwrites generated.tf if it already exists.

Exam study guide · Course

All quizzes · Sign in to save your scores and get the questions you miss back in Daily Review.

Was this page helpful?

Report a mistake