▶ MCQ Portal
Home
Medical
Neet-Ug
4
Ssc-Cgl
General_Awareness
5
Devops
Ansible
10
Aws
5
Azure
10
Docker
5
Jenkins
5
Kubernetes
5
Terraform
10
⚑ Feedback
Home
terraform
Exam4
Exam4
devops / terraform
• 5 questions
Question 1 of 5
What is a Terraform module?
A.
A single resource block
B.
A reusable, self-contained collection of Terraform configurations
C.
A provider plugin
D.
A remote state backend
Question 2 of 5
How do you call a child module in Terraform?
A.
import module { }
B.
include { }
C.
module "name" { source = "..." }
D.
use module "name" { }
Question 3 of 5
Where are public Terraform modules hosted?
A.
GitHub Packages
B.
Terraform Registry (registry.terraform.io)
C.
Docker Hub
D.
HashiCorp Vault
Question 4 of 5
Which keyword exposes a value from a child module to the parent?
A.
export
B.
return
C.
output
D.
publish
Question 5 of 5
After changing a module source, which command must you run first?
A.
terraform validate
B.
terraform get
C.
terraform init
D.
terraform refresh
← Back
Submit Answers ✓