
Terraform and Ansible Quiz
Authored by Naveen Yadav
Other
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Terraform primarily used for?
Software Development
Infrastructure as Code (IaC)
Machine Learning
Web Development
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which language is used to define resources in Terraform?
YAML
JSON
HCL (HashiCorp Configuration Language)
XML
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command is used to apply the changes defined in Terraform configuration?
terraform run
terraform apply
terraform commit
terraform execute
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a cloud provider that Terraform can interact with?
AWS
Google Cloud
Azure
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Terraform follows which type of configuration model?
Declarative
Imperative
Procedural
Event-driven
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the command terraform plan do?
Applies the changes
Shows the execution plan
Destroys the infrastructure
Validates the configuration
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Terraform state file used for?
To store resource configuration
To manage code syntax
To track real-world resources
To deploy changes automatically
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?