Hashicorp Terraform Associate
003 UPDATED ACTUAL Questions
and CORRECT Answers
Save
Terms in this set (194)
, Based on the following Terraform
configuration, what is the local
name associated with the resource
that is defined?
Correct: myec2
resource "aws_instance" "myec2" {
Incorrect:
ami = "ami-0c20d88b0021158c6"
aws_instance
instance_type = "t2.micro"
t2.micro
}
resource
aws_instance
t2.micro
myec2
resource
, Based on the following Terraform
code, what might be the provider
that would had been used?
Correct: aws
resource "aws_instance" "myec2" {
Incorrect:
ami = "ami-090fa75af13c156b4"
myec2
instance_type = "t2.micro"
aws_instance
}
Azure
myec2
aws_instance
aws
Azure
A running EC2 instance in AWS
Correct: Current environment represents which state
Incorrect: in Terraform?
Desired Current
Desired
Correct: What is the name of the file were
terraform.tfstate Terraform stores state information?
Incorrect: myec2.tf
myec2.tf terraform-tfstate
terraform- terraform.tfstate
tfstate None of the Above
None of the
Above
, Matthew has created an EC2
Correct:
instance via Terraform. Matthew has
Terraform Plan
defined the following rules within
will show output
the security group:
to remove the
Port 443 allowed from 0.0.0.0/0
manually
Port 22 allowed from
created rule.
125.36.50.23/32
Incorrect:
John has added the following rule
Terraform Plan
manually:
will show
Port 80 allowed from 0.0.0.0/0
everything is up
Next time when Matthew runs a
to date.
terraform plan, what will happen?
Terraform Plan
Terraform Plan will show everything
will fail since
is up to date.
some of the
Terraform Plan will show output to
resources were
remove the manually created rule.
created
Terraform Plan will fail since some
manually.
of the resources were created
None of the
manually.
Above.
None of the Above.
003 UPDATED ACTUAL Questions
and CORRECT Answers
Save
Terms in this set (194)
, Based on the following Terraform
configuration, what is the local
name associated with the resource
that is defined?
Correct: myec2
resource "aws_instance" "myec2" {
Incorrect:
ami = "ami-0c20d88b0021158c6"
aws_instance
instance_type = "t2.micro"
t2.micro
}
resource
aws_instance
t2.micro
myec2
resource
, Based on the following Terraform
code, what might be the provider
that would had been used?
Correct: aws
resource "aws_instance" "myec2" {
Incorrect:
ami = "ami-090fa75af13c156b4"
myec2
instance_type = "t2.micro"
aws_instance
}
Azure
myec2
aws_instance
aws
Azure
A running EC2 instance in AWS
Correct: Current environment represents which state
Incorrect: in Terraform?
Desired Current
Desired
Correct: What is the name of the file were
terraform.tfstate Terraform stores state information?
Incorrect: myec2.tf
myec2.tf terraform-tfstate
terraform- terraform.tfstate
tfstate None of the Above
None of the
Above
, Matthew has created an EC2
Correct:
instance via Terraform. Matthew has
Terraform Plan
defined the following rules within
will show output
the security group:
to remove the
Port 443 allowed from 0.0.0.0/0
manually
Port 22 allowed from
created rule.
125.36.50.23/32
Incorrect:
John has added the following rule
Terraform Plan
manually:
will show
Port 80 allowed from 0.0.0.0/0
everything is up
Next time when Matthew runs a
to date.
terraform plan, what will happen?
Terraform Plan
Terraform Plan will show everything
will fail since
is up to date.
some of the
Terraform Plan will show output to
resources were
remove the manually created rule.
created
Terraform Plan will fail since some
manually.
of the resources were created
None of the
manually.
Above.
None of the Above.