
Terraform KPMG Day 5

Quiz
•
Computers
•
Professional Development
•
Medium

CloudThat Technologies
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In your Terraform configuration, you have two resources: an AWS S3 bucket and an AWS EC2 instance. You want to ensure that the EC2 instance is provisioned only after the S3 bucket is successfully created.
Which Terraform attribute should you use to establish this dependency?
requires
after
depends_on
connected_to
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your team is collaborating on a Terraform project, and you're concerned about potential conflicts when multiple team members try to apply changes simultaneously. Which feature of Terraform helps prevent such conflicts?
State management
Locking
State commands
Terraform Cloud
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to inspect the details of resources managed by Terraform within your project. Which Terraform command should you use?
terraform plan
terraform apply
terraform show
terraform state list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to list all resources tracked by Terraform within your project. Which Terraform command would provide you with this information?
terraform state list
terraform state show
terraform state pull
terraform state refresh
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In your Terraform project, you have accidentally deleted an EC2 resource outside of Terraform, and now you need to remove it from Terraform's state file to avoid conflicts. Which Terraform command should you use to remove the resource from the state file?
terraform state remove aws_instance.example
terraform state rm aws_instance.example
terraform state delete aws_instance.example
terraform state clean aws_instance.example
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where in your Terraform configuration do you specify a state backend?
The terraform block
The resource block
The provider block
The datasource block
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After making several changes to your infrastructure, you realize that the state file includes some outdated resources that no longer exist. Which command can remove these resources from the state file without affecting the actual infrastructure?
terraform destroy
terraform state rm
terraform state mv
terraform state pull
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Linux-2

Quiz
•
Professional Development
19 questions
Google Slides _ Intro

Quiz
•
Professional Development
15 questions
Python to Access Data Quiz

Quiz
•
Professional Development
25 questions
ReactJS Online Test

Quiz
•
Professional Development
20 questions
CHFI QUIZ

Quiz
•
Professional Development
20 questions
Linux Managing Systems

Quiz
•
Professional Development
15 questions
Sec+ Quiz - 1

Quiz
•
Professional Development
15 questions
Security+ Study Guide-01 Mastering Security Basics

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade