Terraform KPMG Day 3

Terraform KPMG Day 3

Professional Development

14 Qs

quiz-placeholder

Similar activities

terraform

terraform

Professional Development

14 Qs

GCP Cloud Load Balancing

GCP Cloud Load Balancing

Professional Development

12 Qs

Infrastructure as Code

Infrastructure as Code

Professional Development

11 Qs

SDP-16-05-2021

SDP-16-05-2021

Professional Development

10 Qs

Fellowship program 2021

Fellowship program 2021

University - Professional Development

15 Qs

Terraform KPMG Day 2

Terraform KPMG Day 2

Professional Development

14 Qs

Final practice test mod 7

Final practice test mod 7

Professional Development

17 Qs

Fixed Data Core Assestment Exam

Fixed Data Core Assestment Exam

Professional Development

10 Qs

Terraform KPMG Day 3

Terraform KPMG Day 3

Assessment

Quiz

Computers

Professional Development

Medium

Created by

CloudThat Technologies

Used 2+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are provisioning a set of virtual machines using Terraform, each with its own set of tags(key-value pairs) for classification and organization. Which collection type in Terraform would be most suitable for representing the set of tags for each virtual machine?

list

set

object

map

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Terraform apply creates an EC2 instance (name: example)
We want Terraform to display the private_ip of the EC2 after creation automatically. How can we do this?

output "privateip"
{
value = aws_instance.example.private_ip
}

input "privateip"
{
value = aws_instance.example.private_ip
}

data "privateip"
{
value = aws_instance.example.private_ip
}

output "privateip"
{
value = example.private_ip
}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are a DevOps engineer preparing to make updates to your company's cloud infrastructure using Terraform. Before applying the changes directly, you want to ensure everything is correct and have a way to review the planned modifications. To do this, you decide to generate a plan file.

What is the primary purpose of using the terraform plan -out update_plan command in this scenario?

To execute the planned changes immediately.

To save the execution plan to a file for review and future application.

To destroy the existing infrastructure.

To display the current state of the infrastructure.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the context of Terraform, what does "Desired State Management" refer to?

The current configuration of the infrastructure

The configuration that should be applied to the infrastructure

The historical state of the infrastructure

The default settings of the infrastructure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the "terraform.tfvars" file?

To define variables that are specific to a particular environment

To define variables that are automatically loaded by Terraform

To manage state

To define providers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Your Terraform configuration deployed a web application, including an AWS EC2 instance. Now, you require the public IP address of the instance.

Execute terraform show and search for the public IP address in the output.

Use the AWS Management Console to locate the public IP address.

Check the terraform.tfstate file for the public IP address.

Run terraform output and specify the name of the output variable containing the public IP address.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of using locals in Terraform?

To define resources that are only available within the local network and not accessible from the internet.

To define reusable values or expressions that can be referenced within the Terraform configuration.

To create remote connections to other Terraform configurations or infrastructure deployments.

To manage the state of Terraform resources and track changes over time.

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?