All standard backend types support state locking, and remote operations like plan, apply, and destroy.
Exhibit:
resource " aws_instance " " example " {
ami = " ami-0a123456789abcdef "
instance_type = " t3.micro "
}
You are updating a child module with the resource block shown in the exhibit. The public_ip attribute of the resource needs to be accessible to the parent module. How do you meet this requirement?
You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a new state backend, what open source Terraform feature would allow you create multiple states but still be associated with your current code?
Which of the following methods, used to provision resources into a public cloud, demonstrates the concept of infrastructure as code?
Exhibit:
Error: Saved plan is stale
The given plan file can no longer be applied because the state was changed by another operation after the plan was created.
You have a saved execution plan containing desired changes for infrastructure managed by Terraform. After running terraform apply my.tfplan, you receive the error shown. How can you apply the desired changes? (Pick the 2 correct responses below.)
Which of these workflows is only enabled by the use of Infrastructure as Code?
A Terraform backend determines how Terraform loads state and stores updates when you execute which command?
Your root module contains a variable namednum_servers. Which is the correct way to pass its value to a child module with an input namedservers?
Which of these ate features of Terraform Cloud? Choose two correct answers.
Which command add existing resources into Terraform state?
|
PDF + Testing Engine
|
|---|
|
$49.5 |
|
Testing Engine
|
|---|
|
$37.5 |
|
PDF (Q&A)
|
|---|
|
$31.5 |
HashiCorp Free Exams |
|---|
|