Question 106

Which of the following connection types are supported by the remote-exec provisioner? (select two)
  • Question 107

    You want to share Terraform state with your team, store it securely and provide state locking. How would you do this? Choose three correct answers.
  • Question 108

    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 109

    Command terraform refresh will update state file?
  • Question 110

    Consider the following Terraform 0.12 configuration snippet:
    1. variable "vpc_cidrs" {
    2. type = map
    3. default = {
    4. us-east-1 = "10.0.0.0/16"
    5. us-east-2 = "10.1.0.0/16"
    6. us-west-1 = "10.2.0.0/16"
    7. us-west-2 = "10.3.0.0/16"
    8. }
    9. }
    10.
    11. resource "aws_vpc" "shared" {
    12. cidr_block = _____________
    13. }
    How would you define the cidr_block for us-east-1 in the aws_vpc resource using a variable?