Terraform Day 6 Knowledge Check

Terraform Day 6 Knowledge Check

Professional Development

10 Qs

quiz-placeholder

Similar activities

aFT NHT GLS Week 2 Wednesday (Specialties, Clinical Documents)

aFT NHT GLS Week 2 Wednesday (Specialties, Clinical Documents)

Professional Development

11 Qs

Functions of HRM

Functions of HRM

Professional Development

8 Qs

CCSP Quiz - Domain One

CCSP Quiz - Domain One

Professional Development

15 Qs

Terraform Day 2 Knowledge Check - TechM

Terraform Day 2 Knowledge Check - TechM

Professional Development

15 Qs

Repeat Procedures

Repeat Procedures

12th Grade - Professional Development

10 Qs

What's the buzz with DMST?

What's the buzz with DMST?

12th Grade - Professional Development

10 Qs

DO SOMETHING TODAY AND EVERYDAY-Diogo e Manuel

DO SOMETHING TODAY AND EVERYDAY-Diogo e Manuel

1st Grade - Professional Development

9 Qs

HRM

HRM

Professional Development

15 Qs

Terraform Day 6 Knowledge Check

Terraform Day 6 Knowledge Check

Assessment

Quiz

Other

Professional Development

Medium

Created by

CloudThat Technologies

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In your Terraform configuration, you have two resources: an Azure Storage Account and an Azure VM instance. You want to ensure the VM instance is provisioned only after the Storage account is successfully created.

Which Terraform attribute should you use to establish this dependency?

requires

after

depends_on

connected_to

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is an example of a provisioner in Terraform?

  • remote-exec

  • state-management

  • config-sync

  • cloud-run

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When should the local-exec provisioner be used?

  • To execute a command on a remote machine

  • To execute a command on the machine running Terraform

  • To manage Terraform state files

  • To deploy resources to a cloud provider

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which scenario would require the use of the provider meta-argument?

Deploying resources in multiple Azure regions with a single configuration.

Writing a custom provider plugin.

Importing existing resources into Terraform state.

Running terraform plan to preview changes.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a primary use case of a null resource in Terraform?

Creating dummy resources to meet provider requirements.

Managing resources that are no longer required.

Using provisioners or triggers without creating actual infrastructure.

Debugging Terraform plans.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a null resource, what role do triggers play?

They define dependencies between resources.

They force re-creation of the null resource when their values change.

They determine which provider to use for the resource.

They are used to run provisioners conditionally.

Answer explanation

The triggers argument in a null resource is used to define dependencies. If any value in triggers changes, the null resource is destroyed and recreated.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is correct about the terraform import command?

It creates a new resource in Terraform's state and in the cloud provider.

It imports an existing resource into Terraform's state file.

It imports an existing resource into the Terraform configuration file automatically.

It creates a backup of the resource before importing.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?