Terraform Day 6 KPMG

Terraform Day 6 KPMG

Professional Development

14 Qs

quiz-placeholder

Similar activities

CCNPCollaboration Post

CCNPCollaboration Post

Professional Development

15 Qs

Fellowship program 2021

Fellowship program 2021

University - Professional Development

15 Qs

Python 145

Python 145

4th Grade - Professional Development

11 Qs

Quiz - Simulado Comentado CLF-C02 - 29/11/2023

Quiz - Simulado Comentado CLF-C02 - 29/11/2023

Professional Development

10 Qs

AWS Practitioner - 10

AWS Practitioner - 10

Professional Development

10 Qs

DP-100 day 3

DP-100 day 3

University - Professional Development

10 Qs

Tutorial 5

Tutorial 5

Professional Development

10 Qs

Study Hall #3 NodeJS

Study Hall #3 NodeJS

Professional Development

10 Qs

Terraform Day 6 KPMG

Terraform Day 6 KPMG

Assessment

Quiz

Computers

Professional Development

Medium

Created by

CloudThat Technologies

Used 1+ times

FREE Resource

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" {

source = "github.com/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

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?