Which of the below terraform commands do not run terraform refresh implicitly before taking actual action of the command?

Which of the below terraform commands do not run terraform refresh implicitly before taking actual action of the command?A . terraform applyB . terraform destroyC . terraform initD . terraform importE . terraform planView AnswerAnswer: C,D Explanation: https://www.terraform.io/docs/commands/refresh.html

June 18, 2021 No Comments READ MORE +

What is not processed when running a terraform refresh?

What is not processed when running a terraform refresh?A . State fileB . Configuration fileC . CredentialsD . Cloud providerView AnswerAnswer: C,D Explanation: Reference: https://www.terraform.io/docs/cli/commands/refresh.html

June 18, 2021 No Comments READ MORE +

What allows you to conveniently switch between multiple instances of a single configuration within its single backend?

What allows you to conveniently switch between multiple instances of a single configuration within its single backend?A . Local backendsB . ProvidersC . Remote backendsD . WorkspacesView AnswerAnswer: D Explanation: Named workspaces allow conveniently switching between multiple instances of a single configuration within its single backend. ... A common use...

June 17, 2021 No Comments READ MORE +

Workspaces in Terraform provides similar functionality in the open-source, Terraform Cloud, and Enterprise versions of Terraform.

Workspaces in Terraform provides similar functionality in the open-source, Terraform Cloud, and Enterprise versions of Terraform.A . TrueB . FalseView AnswerAnswer: B Explanation: https://www.terraform.io/docs/cloud/migrate/workspaces.html Workspaces, managed with the terraform workspace command, aren't the same thing as Terraform Cloud's workspaces. Terraform Cloud workspaces act more like completely separate working directories; CLI...

June 17, 2021 No Comments READ MORE +

When should you use the force-unlock command?

When should you use the force-unlock command?A . You see a status message that you cannot acquire the lockB . You have a high priority changeC . Automatic unlocking failedD . Your apply failed due to a state lockView AnswerAnswer: C Explanation: Manually unlock the state for the defined configuration....

June 17, 2021 No Comments READ MORE +

Which of these is the best practice to protect sensitive values in state files?

Which of these is the best practice to protect sensitive values in state files?A . BlockchainB . Secure Sockets Layer (SSL)C . Enhanced remote backendsD . Signed Terraform providersView AnswerAnswer: C Explanation: Use of remote backends and especially the availability of Terraform Cloud, there are now a variety of backends...

June 17, 2021 No Comments READ MORE +

What is the default backend for Terraform?

What is the default backend for Terraform?A . consulB . gcsC . localD . etcdView AnswerAnswer: C Explanation: By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html

June 17, 2021 No Comments READ MORE +

What is the default backend for Terraform?

What is the default backend for Terraform?A . consulB . gcsC . localD . etcdView AnswerAnswer: C Explanation: By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html

June 17, 2021 No Comments READ MORE +

What does the default "local" Terraform backend store?

What does the default "local" Terraform backend store?A . tfplan filesB . Terraform binaryC . Provider pluginsD . State fileView AnswerAnswer: D 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

June 16, 2021 No Comments READ MORE +

What is the provider for this fictitious resource?

What is the provider for this fictitious resource? A . vpcB . mainC . awsD . testView AnswerAnswer: C Explanation: Reference: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html

June 16, 2021 No Comments READ MORE +