ExamDumpster

Free TA-004 sample questions

These free TA-004 sample questions include answers and explanations. They cover resource blocks, module sources and remote state. Run through them to see whether your Terraform knowledge matches the 004 objectives.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 6 of 12 free sample questions.

Question 1Choose 2

Which of the following statements correctly describes how Terraform handles sensitive data, such as database passwords, within the state file? (Select TWO)

Question 2Choose one

You need to configure a Terraform project that deploys resources into two different AWS regions (us-east-1 and eu-west-1) within the same `main.tf` file. Which configuration pattern should you use?

Question 3Choose one

What is the primary function of the `.terraform` directory created within your working directory?

Question 4Choose one

A developer performs a `terraform apply` on a large state file and the operation times out. They want to maintain the state file locally for debugging but need to update the configuration to use a remote backend for future team collaboration. Which command sequence correctly migrates the state?

Question 5Choose one

You are reviewing a Terraform plan output and see the following symbol next to a resource: `-/+`. What does this symbol indicate will happen to the resource during the apply phase?

Question 6Choose one

You are setting up a CI/CD pipeline for Terraform. You want to ensure that the code adheres to the canonical formatting standards before any other steps run. Which command should you use in your pipeline script to check formatting without modifying the files, returning a non-zero exit code if issues are found?

6 more free samples are waiting

Create a free account to unlock the whole TA-004 sample bank, or get full access to all 132 practice questions in the simulator.

Create account