Terraform KPMG Day 2

Terraform KPMG Day 2

Professional Development

14 Qs

quiz-placeholder

Similar activities

AWS ACF Módulo 10 - Auto Scaling e monitoramento

AWS ACF Módulo 10 - Auto Scaling e monitoramento

Professional Development

10 Qs

terraform

terraform

Professional Development

14 Qs

ToolBox Talk - Week 1

ToolBox Talk - Week 1

Professional Development

10 Qs

DevOps Quiz

DevOps Quiz

Professional Development

10 Qs

ACDR2024 Q1

ACDR2024 Q1

Professional Development

10 Qs

Advanced Computing

Advanced Computing

Professional Development

11 Qs

DAY 1 - Basic concepts of cloud computing

DAY 1 - Basic concepts of cloud computing

Professional Development

10 Qs

Cloudbinary_WebServer_Quiz_Linux_Windows

Cloudbinary_WebServer_Quiz_Linux_Windows

Professional Development

10 Qs

Terraform KPMG Day 2

Terraform KPMG Day 2

Assessment

Quiz

Computers

Professional Development

Easy

Created by

CloudThat Technologies

Used 2+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you specify a provider in a Terraform configuration file?

provider "name" { }

module "name" { }

resource "name" { }

data "name" { }

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the proper way to send the value of the variable num_servers to a module?

servers = num_servers

servers = variable{num_servers}

servers = var(num_servers)

servers = var.num_servers

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You are managing a Terraform project that provisions infrastructure resources on AWS. You need to deploy a new EC2 instance with specific configuration parameters, such as instance type, subnet ID, and security group. However, you want to provide these configuration values dynamically during the Terraform execution without modifying the Terraform configuration files. Which Terraform CLI feature would you use to achieve this task?

Terraform taint

Terraform apply

Terraform Apply with -var flag

Terraform Plan with -var flag

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the default file name where Terraform stores its state locally?

state.tf

terraform.state

terraform.tfstate

terraform.tf.state

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You are tasked with provisioning EC2 instances using Terraform for a new project. Your team has decided to use Terraform to manage infrastructure as code.

  • Which Terraform block is used to define an EC2 instance?

block

provider

terraform

resource

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What name will terraform use to reference this instance in the state file?

instance

aws_instance

my_instance

ec2_my_instance

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Is a provider block necessary in the terraform configuration?

Yes

No

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?