
Terraform KPMG Day 3

Quiz
•
Computers
•
Professional Development
•
Medium

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
Similar Resources on Wayground
11 questions
Infrastructure as Code

Quiz
•
Professional Development
15 questions
IP Addressing

Quiz
•
10th Grade - Professi...
11 questions
Ansible part 2

Quiz
•
Professional Development
15 questions
ITF - Quiz 9.4 - Packet Delivery and Forwarding

Quiz
•
Professional Development
17 questions
Final practice test mod 7

Quiz
•
Professional Development
10 questions
Computer Networks Quiz

Quiz
•
University - Professi...
17 questions
Net & Cloud - Session 3 - OSI & TCP/IP

Quiz
•
Professional Development
15 questions
DHCP

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade