CORRECT TEXT
FILL BLANK
What is the name of the default file where Terraform stores the state?
Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.
정답: Terraform.tfstate
Question No : 3
One remote backend configuration always maps to a single remote workspace.
Module variable assignments are inherited from the parent module and do not need to be explicitly set.
정답:
Question No : 5
You would like to reuse the same Terraform configuration for your development and production environments with a different state file for each.
Which command would you use?
정답:
Question No : 6
Where in your Terraform configuration do you specify a state backend?
정답: Explanation:
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
Question No : 7
Your DevOps team is currently using the local backend for your Terraform configuration. You would like to move to a remote backend to begin storing the state file in a central location.
Which of the following backends would not work?
정답:
Question No : 8
You’re building a CI/CD (continuous integration/ continuous delivery) pipeline and need to inject sensitive variables into your Terraform run.
How can you do this safely?
정답:
Question No : 9
What does the default "local" Terraform backend store?
정답: Explanation:
The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally.
Reference: https://www.terraform.io/docs/language/settings/backends/local.html
Question No : 10
Which of the following is the correct way to pass the value in the variable num_servers into a module with the input servers?
정답:
Question No : 11
What command does Terraform require the first time you run it within a configuration directory?
정답: Explanation:
terraform init command is used to initialize a working directory containing Terraform configuration files.
Reference: https://www.terraform.io/docs/cli/commands/init.html
Question No : 12
What is the workflow for deploying new infrastructure with Terraform?
정답:
Question No : 13
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?
정답:
Question No : 14
What type of block is used to construct a collection of nested configuration blocks?
정답:
Question No : 15
What is the name assigned by Terraform to reference this resource?