Search Header Logo

Terraform me up

Authored by Team CATS Tech

Professional Development, Computers

Professional Development

Used 6+ times

Terraform me up
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

Media Image

What benefits brings Infrastructure as Code (IaC)?

It's encrypted
It's reusable
It's predictable
It's unpredictable

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What should I use if I want to reference an existing resource from my AWS account?

Data Resource
Resource
Data Source
Source

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Can I run terraform apply BEFORE terraform plan?

Yes, apply will run a plan in this case.
Yes although it will be a dry run
Z+ Infra Police will come after you
No, it is not possible

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Why should I care about the famous "backend" block for remote state?

Changes here will destroy your infrastructure

It's important to have a shared state in the team

It's mandatory, because it will create the state bucket

Needs to be removed to share the state

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What happens if I run several times?

terraform plan -out=plan.out

terraform apply plan.out

Terraform will create new infrastructure everytime since we are creating a new plan each time.
Terraform is omnipotent, who knows

Terraform is idempotent, will provision once, and does nothing for the rest

Terraform will re-create stateful resources, as the state of the resource can change

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

I am using module that contains a provider, but I don't need it anymore, what's the best approach to proceed?

Use terraform destroy, with the target flag to select that module exclusively
Use terraform destroy
Remove from the code and apply it
Go to AWS console and delete it

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

We have a bucket as backend for our state, some Terraform code, a lot of free time and a couple of ideas. After a while, the apply failed due to credentials and the state is broken... what can we do?

Pray
Remove all the code and start again
Rollback to a  previous state version
Go on holidays

Access all questions and much more by creating a free account

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?

Discover more resources for Professional Development