Question 81
Refer to the following terraform variable definition
variable "track_tag" { type = list default = ["data_ec2","integration_ec2","digital_ec2"]} track_tag = { Name =
element(var.track_tag,count.index)}
If count.index is set to 2, which of the following values will be assigned to the name attribute of track_tag
variable?
variable "track_tag" { type = list default = ["data_ec2","integration_ec2","digital_ec2"]} track_tag = { Name =
element(var.track_tag,count.index)}
If count.index is set to 2, which of the following values will be assigned to the name attribute of track_tag
variable?
Question 82
You have been given requirements to create a security group for a new application. Since your organization
standardizes on Terraform, you want to add this new security group with the fewest number of lines of code.
What feature could you use to iterate over a list of required tcp ports to add to the new security group?
standardizes on Terraform, you want to add this new security group with the fewest number of lines of code.
What feature could you use to iterate over a list of required tcp ports to add to the new security group?
Question 83
Complete the following sentence:
The terraform state command can be used to ____
The terraform state command can be used to ____
Question 84
You have created 2 workspaces PROD and RQA. You have switched to RQA and provisioned RQA
infrastructure from this workspace. Where is your state file stored?
infrastructure from this workspace. Where is your state file stored?
Question 85
Which of the following is allowed as a Terraform variable name?