Which of the following is not a key principle of infrastructure as code?
A. Versioned infrastructureYou have a Terraform configuration that defines a single virtual machine with no references to it, You have run terraform apply to create the resource, and then removed the resource definition from your Terraform configuration file. What will happen you run terraform apply in the working directory again?
A. Terraform will remove the virtual machine from the state file, but the resource will still existWhich of the following commands would you use to access all of the attributes and details of a resource managed by Terraform?
A. terraform state list `provider_type.name'You have created a custom variable definition file my_vars.tfvars. How will you use it for provisioning infrastructure?
A. terraform apply-var-state-file ="my_vars.tfvars"When using multiple configurations of the same Terraform provider, what meta-argument must be included in any non-default provider configurations?
A. nameProvisioners should only be used as a last resort.
A. FalseYour team has started using terraform OSS in a big way , and now wants to deploy multi region deployments (DR) in aws using the same terraform files . You want to deploy the same infra (VPC,EC2 ...) in both us-east-1 ,and us-west-2 using the same script , and then peer the VPCs across both the regions to enable DR traffic. But , when you run your script , all resources are getting created in only the default provider region. What should you do? Your provider setting is as below
# The default provider configuration provider "aws" { region = "us-east-1" }
A. No way to enable this via a single script . Write 2 different scripts with different default providers in the 2 scripts , one for us-east , another for us-west.You wanted to destroy some of the dependent resources from real infrastructure. You choose to delete those resources from your configuration file and run terraform plan and then apply. Which of the following way your resources would be destroyed?
A. Terraform can still determine the correct order for destruction from the state even when you delete one or more items from the configuration.What is one disadvantage of using dynamic blocks in Terraform?
A. They cannot be used to loop through a list of valuesYou have created two workspaces PROD and DEV. You have switched to DEV and provisioned DEV infrastructure from this workspace. Where is your state file stored?
A. terraform.dNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only HashiCorp exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your TERRAFORM-ASSOCIATE-003 exam preparations and HashiCorp certification application, do not hesitate to visit our Vcedump.com to find your solutions here.