Free TA-002-P Exam Dumps

Question 91

- (Exam Topic 1)
Which of the following is not a key principle of infrastructure as code?

Correct Answer:B
Reference: https://docs.microsoft.com/en-us/azure/devops/learn/what-is-infrastructure-as- code#:~:text=Idempotence is a principle of,of the environment's starting state.

Question 92

- (Exam Topic 3)
Which of the below commands will rename a EC2 instance without destroying and recreating it?

Correct Answer:A

Question 93

- (Exam Topic 4)
You want to define multiple data disks as nested blocks inside the resource block for a virtual machine. What Terraform feature would help you define the blocks using the values in a variable?

Correct Answer:B

Question 94

- (Exam Topic 4)
terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem?
Error loading state: AccessDenied: Access Denied status code: 403, request id: 288766CE5CCA24A0, host id: FOOBAR

Correct Answer:A
Terraform has detailed logs which can be enabled by setting the TF_LOG environment variable to any value. This will cause detailed logs to appear on stderr. You can set TF_LOG to one of the log levels (in order of decreasing verbosity) TRACE, DEBUG, INFO, WARN or ERROR to change the verbosity of the logs.

Question 95

- (Exam Topic 1)
Which backend does the Terraform CLI use by default?

Correct Answer:D
"By default, Terraform implicitly uses a backend called local to store state as a local file on disk. Every other
backend stores state in a remote service of some kind, which allows multiple people to access it. Accessing state in a remote service generally requires some kind of access credentials, since state data contains extremely sensitive information." https://www.terraform.io/language/settings/backends