Courseiva

AWS provider · topic practice

Resource Lifecycle Management practice questions

Practise HashiCorp Certified: Terraform Authoring and Operations Professional (AWS provider) (AWS provider) Resource Lifecycle Management practice questions — original exam-style scenarios with answer choices, explanations, and analysis of common mistakes.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Reviewed byJohnson Ajibi· MSc IT Security
20 questionsDomain: Resource Lifecycle Management

What the exam tests

What to know about Resource Lifecycle Management

Resource Lifecycle Management questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Watch out for

Common Resource Lifecycle Management exam traps

  • Answering from memory before reading the full scenario.
  • Missing a constraint such as cost, availability, security, scope or command context.
  • Choosing a broad answer when the question asks for the most specific fix.
  • Ignoring why the wrong options are tempting.

Practice set

Resource Lifecycle Management questions

20 questions · select your answer, then reveal the explanation

You need to ensure that an AWS Auto Scaling Group maintains capacity during a configuration change that requires a new launch template. Which lifecycle meta-argument should you use?

When using 'create_before_destroy', what is a common side effect that may cause the plan to fail?

You are managing a production database instance. You want to ensure that if a developer accidentally removes the resource block from the Terraform configuration, Terraform will refuse to destroy the database. How do you implement this?

Which command is used to move a resource from one state file to another, commonly used when refactoring modules?

You have an AWS Lambda function that should be replaced whenever the source code S3 object changes. How do you trigger this replacement specifically based on the S3 object key change?

A resource has an attribute 'tags' that is managed by an external script. You want Terraform to ignore any changes made to 'tags' after the initial creation. How should you configure the 'lifecycle' block?

You have defined a resource and set 'prevent_destroy = true'. If you perform a 'terraform destroy', what will happen?

You want to remove a resource from Terraform management without destroying the actual AWS resource. Which command accomplishes this?

Where are lifecycle meta-arguments placed within a Terraform configuration?

Which of the following is a valid lifecycle meta-argument in Terraform?

What is the purpose of the 'terraform state refresh' command?

If you use 'ignore_changes = [tags]', and you manually change the tags in the AWS Console, what will happen during the next 'terraform plan'?

You need to ensure that a resource is always recreated if an associated data source value changes. Which meta-argument supports this?

What happens if you set 'ignore_changes = all' in a resource lifecycle block?

You have two resources, A and B. You want B to be replaced whenever A is updated. How do you configure B?

Why might someone use 'prevent_destroy = true' on a database resource while allowing it on smaller web server instances?

When refactoring code, you rename a resource in your configuration. What happens if you run 'terraform plan' without updating the state?

Which file stores the mapping between your Terraform configuration and the real-world infrastructure?

You need to ignore changes to a specific index in a list of security group rules. How is this formatted in 'ignore_changes'?

What is the primary risk of relying solely on 'create_before_destroy' without considering dependency chains?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Resource Lifecycle Management sessions

Start a Resource Lifecycle Management only practice session

Every question in these sessions is drawn from the Resource Lifecycle Management domain — nothing else.

Related practice questions

Related AWS provider topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the AWS provider exam test about Resource Lifecycle Management?
Resource Lifecycle Management questions test whether you can apply the concept in context, not just recognise a definition.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Resource Lifecycle Management questions in a focused session?
Yes — the session launcher on this page draws every question from the Resource Lifecycle Management domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other AWS provider topics?
Use the topic links above to move to related areas, or go back to the AWS provider question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the AWS provider exam covers. They are not copied from any real exam or dump site.