Which of the following represents a feature of Terraform Cloud that is NOT free to customers?
Which of the following represents a feature of Terraform Cloud that is NOT free to customers?A . Roles and Team ManagementB . WorkSpace ManagementC . Private Module RegistryD . VCS IntegrationView AnswerAnswer: A Explanation: Role Based Access Controls (RBAC) for controlling permissions for who has access to what configurations within...
What value should you enter for the ami argument in the AWS instance resource?
Examine the following Terraform configuration, which uses the data source for an AWS AMI. What value should you enter for the ami argument in the AWS instance resource?A . aws_ami.ubuntuB . data.aws_ami.ubuntuC . data.aws_ami.ubuntu.idD . aws_ami.ubuntu.idView AnswerAnswer: C Explanation: resource "aws_instance" "web" { ami= data.aws_ami.ubuntu.id Reference: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance
What is one disadvantage of using dynamic blocks in Terraform?
What is one disadvantage of using dynamic blocks in Terraform?A . They cannot be used to loop through a list of valuesB . Dynamic blocks can construct repeatable nested blocksC . They make configuration harder to read and understandD . Terraform will run more slowlyView AnswerAnswer: A Explanation: Reference: https://github.com/hashicorp/terraform/issues/19291
Which of the following is not true of Terraform providers?
Which of the following is not true of Terraform providers?A . Providers can be written by individualsB . Providers can be maintained by a community of usersC . Some providers are maintained by HashiCorpD . Major cloud vendors and non-cloud vendors can write, maintain, or collaborate on Terraform providersE ....
What is the default backend for Terraform?
What is the default backend for Terraform?A . consulB . gcsC . localD . etcdView AnswerAnswer: C Explanation: By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html
How to fix this?
John wants to use two different regions to deploy two different EC2 instances. He has specified two provider blocks in his providers.tf file. provider "aws" { region = "us-east-1" } provider "aws" { region = "us-west-2" } When he run terraform plan he encountered an error . How to fix...
When does terraform apply reflect changes in the cloud environment?
When does terraform apply reflect changes in the cloud environment?A . ImmediatelyB . However long it takes the resource provider to fulfill the requestC . After updating the state fileD . Based on the value provided to the -refresh command line argumentE . None of the aboveView AnswerAnswer: E
If you enable TF_LOG = DEBUG, the log will be stored in syslog.log file in the currect directory.
If you enable TF_LOG = DEBUG, the log will be stored in syslog.log file in the currect directory.A . FalseB . TrueView AnswerAnswer: A Explanation: https://www.terraform.io/docs/internals/debugging.html
What information does the public Terraform Module Registry automatically expose about published modules?
What information does the public Terraform Module Registry automatically expose about published modules?A . Required input variablesB . Optional inputs variables and default valuesC . OutputsD . All of the aboveE . None of the aboveView AnswerAnswer: E Explanation: Reference: https://www.terraform.io/docs/registry/modules/publish.html
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)A . DestroyB . ApplyC . ImportD . InitE . ValidateView AnswerAnswer: B,D Explanation: Reference: https://www.terraform.io/guides/core-workflow.html