00:00

QUESTION 36

- (Exam Topic 4)
Terraform is currently being used by your organisation to create resources on AWS for the development of a web application. One of your coworkers wants to change the instance type to "t2.large" while keeping the default set values.
What adjustments does the teammate make in order to meet his goal?

Correct Answer: D

QUESTION 37

- (Exam Topic 3)
Which of the following variable definition files will terraform load automatically?

Correct Answer: BCD
Terraform also automatically loads a number of variable definitions files if they are present: Files named exactly terraform.tfvars or terraform.tfvars.json.
Any files with names ending in .auto.tfvars or .auto.tfvars.json. https://www.terraform.io/docs/configuration/variables.html https://www.terraform.io/docs/configuration/variables.html#variable-definitions-tfvars-files

QUESTION 38

- (Exam Topic 1)
Where in your Terraform configuration do you specify a state backend?

Correct Answer: A
Backends are configured with a nested backend block within the top-level terraform block. Reference: https://www.terraform.io/docs/language/settings/backends/configuration.html https://www.terraform.io/language/settings/backends/configuration#using-a-backend-block

QUESTION 39

- (Exam Topic 4)
Where can Terraform not load a provider from?

Correct Answer: D

QUESTION 40

- (Exam Topic 4)
When configuring a remote backend in Terraform, it might be a good idea to purposely omit some of the required arguments to ensure secrets and other important data aren't inadvertently shared with others. What are the ways the remaining configuration can be added to Terraform so it can initialize and communicate with the backend? (select three)

Correct Answer: BCD
You do not need to specify every required argument in the backend configuration. Omitting certain arguments may be desirable to avoid storing secrets, such as access keys, within the main configuration. When some or all of the arguments are omitted, we call this a partial configuration.
With a partial configuration, the remaining configuration arguments must be provided as part of the initialization process. There are several ways to supply the remaining arguments: https://www.terraform.io/docs/backends/init.html#backend-initialization