
Terraform Day 6 Knowledge Check
Authored by CloudThat Technologies
Other
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
Team C CAN Meeting
Quiz
•
Professional Development
12 questions
IHG One Rewards - 2022
Quiz
•
Professional Development
10 questions
MUSCAB 7 DPC IATCA MAKASSAR
Quiz
•
Professional Development
10 questions
Culture Workshop
Quiz
•
KG - Professional Dev...
10 questions
Umpiring Course - Day 1
Quiz
•
Professional Development
10 questions
Mock Test
Quiz
•
Professional Development
10 questions
Study Tips Listening Exercise
Quiz
•
Professional Development
10 questions
Adult Learning
Quiz
•
Professional Development
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Other
15 questions
LOTE_SPN2 5WEEK3 Day 2 Itinerary
Quiz
•
Professional Development
6 questions
Copy of G5_U6_L5_22-23
Lesson
•
KG - Professional Dev...
10 questions
March Quiz
Quiz
•
Professional Development
5 questions
Copy of G5_U6_L8_22-23
Lesson
•
KG - Professional Dev...
10 questions
suffixes FUL OR LESS
Quiz
•
Professional Development