CTJP Terraform Batch 3

CTJP Terraform Batch 3

Professional Development

10 Qs

quiz-placeholder

Similar activities

2. Day 1_ITBA 10 Soal

2. Day 1_ITBA 10 Soal

KG - Professional Development

10 Qs

social engineering

social engineering

1st Grade - Professional Development

10 Qs

Google Slides (JFIB)

Google Slides (JFIB)

Professional Development

12 Qs

HP Commercial Product Training Quiz

HP Commercial Product Training Quiz

Professional Development

10 Qs

Minecraft (Good luck Jake)

Minecraft (Good luck Jake)

KG - Professional Development

10 Qs

Ramie Jandel and Macnabstan Trist copmuter quiz

Ramie Jandel and Macnabstan Trist copmuter quiz

Professional Development

12 Qs

Python Data Structures & Statements

Python Data Structures & Statements

Professional Development

11 Qs

PLAL Agile Onboarding

PLAL Agile Onboarding

Professional Development

10 Qs

CTJP Terraform Batch 3

CTJP Terraform Batch 3

Assessment

Quiz

Computers

Professional Development

Practice Problem

Easy

Created by

CloudThat Technologies

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

From the following list, how can we fetch the flower lily?

variable "flower_list" {

type = list

default = ["sunflower", "rose", "daisy", "lily"]

}

var.flower_list["lily"]

var.flower_list[3]

var.flower_list[2]

none of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We have copied a sample terraform code from a GitHub repository to his local terraform configuration file.

There are certain formatting issues in the code.

resource "aws_instance" "cloudthat-ec2" {

ami = "ami-090fa75af13c156b4"

instance_type = "m5.large"

count = 5

}

Which command can we run to ensure that code is automatically formatted?

terraform code format

terraform format

terraform fmt

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name of the file where Terraform stores state information.

terraform.tfvars

terraform.tfstate

terraform-tfstate

none of the above

4.

DRAG AND DROP QUESTION

1 min • 1 pt

Drag and drop the correct the answers to create an EC2 instance

resource "​ ​ (a)   " "myec2" {

ami = "​ (b)   "

instance_type = "​ (c)   "

}

aws_instance
ami-07efac79022b86107
t2.micro
aws-instance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Terraform was used to construct 4 different resources.

One of the resource was removed manually removed from the AWS interface.

What will happen during the next Terraform apply?

the deleted resource will be created again

terraform will show error

no changes will be made

none of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If I want to see the public_ip after terraform apply, which block do we use?

output

input

resource

local

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

what is the provider in this code snippet?

resource "aws_eip" "myeip" {

vpc = true

}

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?