Free Terraform-Associate-003 Exam Braindumps (page: 23)

Page 23 of 45

If a DevOps team adopts AWS CloudFormation as their standardized method for provisioning public cloud resoruces, which of the following scenarios poses a challenge for this team?

  1. The team is asked to manage a new application stack built on AWS-native services
  2. The organization decides to expand into Azure wishes to deploy new infrastructure
  3. The team is asked to build a reusable code based that can deploy resources into any AWS region
  4. The DevOps team is tasked with automating a manual, web console-based provisioning.

Answer(s): B

Explanation:

This is the scenario that poses a challenge for this team, if they adopt AWS CloudFormation as their standardized method for provisioning public cloud resources, as CloudFormation only supports AWS services and resources, and cannot be used to provision infrastructure on other cloud platforms such as Azure.



When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?

  1. In an environment variable
  2. On the disk
  3. In the remote backend or Terraform Cloud
  4. In memory

Answer(s): C

Explanation:

This is where Terraform saves resource state when using a remote backend or Terraform Cloud integration, as it allows you to store and manage your state file in a remote location, such as a cloud storage service or Terraform Cloud's servers. This enables collaboration, security, and scalability for your Terraform infrastructure.



You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.
How will Terraform choose which version of the provider to use?

  1. Terraform will use the version recorded in your lock file
  2. Terraform will use the latest version of the provider for the new resource and the version recorded in the lock file to manage existing resources
  3. Terraform will check your state file to determine the provider version to use
  4. Terraform will use the latest version of the provider available at the time you provision your new resource

Answer(s): A

Explanation:

This is how Terraform chooses which version of the provider to use, when you add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The lock file records the exact version of each provider that was installed in your working directory, and ensures that Terraform will always use the same provider versions until you run terraform init - upgrade to update them.



What is a key benefit of the Terraform state file?

  1. A state file can schedule recurring infrastructure tasks
  2. A state file is a source of truth for resources provisioned with Terraform
  3. A state file is a source of truth for resources provisioned with a public cloud console
  4. A state file is the desired state expressed by the Terraform code files

Answer(s): B

Explanation:

This is a key benefit of the Terraform state file, as it stores and tracks the metadata and attributes of the resources that are managed by Terraform, and allows Terraform to compare the current state with the desired state expressed by your configuration files.



Page 23 of 45



Post your Comments and Discuss HashiCorp Terraform-Associate-003 exam with other Community members:

Marc commented on October 18, 2024
What the best way to learn terraform?
UNITED STATES
upvote

Chandra commented on October 09, 2024
This is the best and only way of passing this exam as it is extremely hard. Good questions and valid dump.
INDIA
upvote

Madhan commented on September 26, 2024
Useful questions
INDIA
upvote

Abu commented on September 22, 2024
I did not know these questions were available online. I did not believe and trust them and studied quite a lot and just used these questions for practice. But most of the questions turned out to be in the exam.
UNITED STATES
upvote

Sahin commented on July 04, 2024
Need que to learn new things
UNITED STATES
upvote