Terraform KPMG Day 5

Terraform KPMG Day 5

Professional Development

20 Qs

quiz-placeholder

Similar activities

คุณรู้จัก Digital Technology หรือไม่

คุณรู้จัก Digital Technology หรือไม่

Professional Development

20 Qs

MTA: 98-367 Security Part 3

MTA: 98-367 Security Part 3

KG - Professional Development

15 Qs

Installing and Configuring Computer Systems 2

Installing and Configuring Computer Systems 2

Professional Development

20 Qs

computer literacy

computer literacy

Professional Development

20 Qs

Git-it?

Git-it?

Professional Development

18 Qs

Adwords Fundamentals??? Basic lang yan! T_T

Adwords Fundamentals??? Basic lang yan! T_T

University - Professional Development

20 Qs

Think it through

Think it through

University - Professional Development

16 Qs

Motherboard South Side

Motherboard South Side

9th Grade - Professional Development

20 Qs

Terraform KPMG Day 5

Terraform KPMG Day 5

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

CloudThat Technologies

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?