
Terraform Day 6 KPMG
Authored by CloudThat Technologies
Computers
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
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a module locally located at ./modules/vpc which creates a VPC. How would you correctly use this module in your Terraform configuration?
module "vpc" {
source = "./modules/vpc"
cidr_block = "10.0.0.0/16"
}
module "vpc" {
path = "./modules/vpc"
cidr_block = "10.0.0.0/16"
}
module "vpc" {
directory = "./modules/vpc"
cidr_block = "10.0.0.0/16"
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where can published modules be found?
In the root module locally
Only on local filesystems
Inside the Terraform state file
On Public, Private Repositories
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a child module in Terraform?
The top-level module that Terraform starts with
A module that is only used for testing purposes
A module that contains the Terraform state file
A module that is called from within a root module
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Terraform Module?
A Terraform module is a set of Terraform configuration files in a single directory.
A set of configuration files that define the infrastructure
A method to organize Terraform configurations for reusability
All of the above
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following parameters is essential to include in a Terraform module's when publishing it?
input variables
output variables
Module Description
Access Keys
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary reason for publishing a module to the Terraform Registry?
To hide the module's source code
To make the module available for other Terraform users to use and collaborate on
To prevent any modifications to the module
To increase the complexity of the module
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you reference resources defined within a local module?
By using the module block and specifying the module's path
By importing the resources into the root module using the import command
By defining global variables that reference the local module's resources
By directly accessing the resources within the module's configuration files
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?