Question 36

A fellow developer on your team is asking for some help in refactoring their Terraform code. As part of their application's architecture, they are going to tear down an existing deployment managed by Terraform and deploy new. However, there is a server resource named aws_instance.ubuntu[1] they would like to keep to perform some additional analysis.
What command should be used to tell Terraform to no longer manage the resource?
  • Question 37

    Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
  • Question 38

    Which of the following actions are performed during a terraform init?
  • Question 39

    When using constraint expressions to signify a version of a provider, which of the following are valid provider versions that satisfy the expression found in the following code snippet: (select two)
    1. terraform
    2. {
    3. required_providers
    4. {
    5. aws = "~> 1.2.0"
    6. }
    7. }
  • Question 40

    Which of the following allows Terraform users to apply policy as code to enforce standardized configurations for resources being deployed via infrastructure as code?