Skip to exam content
← All Exams
Techclick Infosec

TA-003 Practice Test

Resource Lifecycle · Dynamic HCL · Collaborative Workflows · Modules · Providers · HCP Terraform

60 questions · 90 min · 70% Techclick practice target

60
Questions
90
Minutes
70%
Techclick Practice Target

⚠️ Exam Rules

  • Once started, the timer cannot be paused
  • You can navigate freely — use Previous or the Navigator panel to revisit any question
  • Tab-switching triggers warnings (3 strikes = auto-submit)
  • Right-click and copy disabled during exam
  • If you fail, retry — questions and options reshuffle

TA-003 practice test: what's covered

Questions in this Techclick bank58
Timer90 min
Techclick practice target70%
Official exam codeTA-003

Free TA-003 sample questions

  1. An engineer adds a new resource that depends on an attribute Terraform cannot know until apply time. During `terraform plan` the value shows as `(known after apply)`. Which statement best describes what Terraform will do?

    • A. Terraform defers computing the value and resolves the dependency during apply, recording the final value in state
    • B. Terraform refuses to plan and requires the value to be hardcoded first
    • C. Terraform substitutes null for the attribute and never updates it
    • D. Terraform forces a manual `terraform refresh` before the plan can complete
    Show answer

    Correct: A. `(known after apply)` means the value depends on another resource's not-yet-created attribute; Terraform resolves it during apply and writes it to state. It does not require hardcoding, null substitution, or a manual refresh.

  2. An admin must replace a single resource on the next apply without changing the configuration. Which command queues that one resource for recreation?

    • A. terraform apply -replace="aws_instance.web"
    • B. terraform taint aws_instance.web --force
    • C. terraform refresh -target=aws_instance.web
    • D. terraform plan -recreate=aws_instance.web
    Show answer

    Correct: A. `-replace` is the current supported flag to force recreation of one resource. `terraform taint` is deprecated, `-recreate` does not exist, and `refresh` only updates state, it does not recreate resources.

  3. A configuration manages an EC2 instance whose `user_data` changes frequently from outside Terraform. The team wants Terraform to ignore drift on that one attribute only. Which block achieves this? ```hcl resource "aws_instance" "app" { ami = var.ami instance_type = "t3.micro" user_data = var.bootstrap lifecycle { # ??? } } ```

    • A. ignore_changes = [user_data]
    • B. prevent_destroy = [user_data]
    • C. create_before_destroy = true
    • D. ignore_changes = all
    Show answer

    Correct: A. `ignore_changes = [user_data]` tells Terraform to disregard external drift on that single attribute. `ignore_changes = all` would ignore every attribute, `prevent_destroy` is a boolean that blocks deletion, and `create_before_destroy` controls replacement ordering.

  4. After importing an existing S3 bucket, `terraform plan` shows the resource will be destroyed and recreated even though nothing changed in the cloud. What is the most likely cause?

    • A. The written HCL configuration does not match the real resource's arguments, so Terraform sees a diff that forces replacement
    • B. Imported resources always recreate on the first apply by design
    • C. The state file was corrupted during import and must be deleted
    • D. Import only copies the resource ID, so a recreate is required to populate state
    Show answer

    Correct: A. `terraform import` populates state but not configuration. If the HCL you wrote does not match the actual resource (especially force-new arguments), the plan shows replacement. The fix is to align the configuration to the real attributes.

  5. A team renamed a resource from `aws_instance.web` to `aws_instance.frontend`. They want Terraform to treat it as the same object without destroying it. Which approach is the recommended, version-controllable method?

    • A. Add a `moved` block in configuration mapping the old address to the new one
    • B. Run `terraform state rm` then re-import the resource
    • C. Delete the resource from the cloud and let Terraform recreate it
    • D. Manually edit the JSON state file to rename the resource address
    Show answer

    Correct: A. A `moved` block (e.g. `moved { from = aws_instance.web; to = aws_instance.frontend }` ) records the rename in code so every collaborator and CI run applies it. `state rm`/import and manual edits are not version-controlled and risk drift.

Last updated:

TA-003 practice test FAQ

Is this TA-003 practice test free?

Yes. You can start, finish and score it for free, and download the Techclick practice certificate.

How many questions are in the Techclick TA-003 practice test?

This bank has 58 original scenario-based questions with a 90-minute timer and a 70% Techclick practice target.

What is the official exam code and format?

TA-003 is the label Techclick uses for this practice set. Check the official HashiCorp certification page for the current exam code.

Are these real TA-003 exam questions or dumps?

No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.

Do I get a certificate?

Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official HashiCorp certification.

What should I take after TA-003?

Use the HashiCorp practice exams page (linked above) to pick the next practice test in the same track.

Techclick Infosec
TECHCLICK INFOSEC
CYBERSECURITY · PRACTICE ASSESSMENT
🏗️
PRACTICE ASSESSMENT
Terraform Pro
Resource Lifecycle · Dynamic HCL · Collaborative Workflows · Modules · Providers · HCP Terraform
AWARDED TO
{NAME}
SCORE
0%
DATE
--
TC-TA-003-XXX
Practice certificate · not independently verified · Techclick Infosec Pvt Ltd · +91 92772 29456