Question 109

- (Exam Topic 4)
Suppose terraformcode is taking up some values which are not defined inside the code files. In which of the following options issue might have occurred?

Correct Answer:D

Question 110

- (Exam Topic 1)
What is terraform refresh intended to detect?

Correct Answer:C
"The terraform refresh command reads the current settings from all managed remote objects and updates the Terraform state to match. Warning: This command is deprecated, because its default behavior is unsafe if you have misconfigured credentials for any of your providers. See below for more information and recommended alternatives." https://www.terraform.io/cli/commands/refresh

Question 111

- (Exam Topic 4)
A "backend" in Terraform determines how state is loaded and how an operation such as apply is executed. Which of the following is not a supported backend type?

Correct Answer:C
Github is not a supported backend type. https://www.terraform.io/docs/backends/types/index.html

Question 112

- (Exam Topic 1)
Which statement describes a goal of infrastructure as code?

Correct Answer:D
The purpose of infrastructure as code is to enable developers or operations teams to automatically manage, monitor and provision resources, rather than manually configure discrete hardware devices and operating systems. Infrastructure as code is sometimes referred to as programmable or software-defined infrastructure.

Question 113

- (Exam Topic 2)
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 this?

Correct Answer:B

Question 114

- (Exam Topic 4)
Which feature of Terraform allows multiple state files for a single configuration file depending upon the environment?

Correct Answer:C

START TA-002-P EXAM