Question 21

Why is it a good idea to declare the required version of a provider in a Terraform configuration file?
1. terraform
2. {
3. required_providers
4. {
5. aws = "~> 1.0"
6. }
7. }
  • Question 22

    The Security Operations team of ABC Enterprise wants to mandate that all the Terraform configuration that creates an S3 bucket must have encryption feature enabled. What is the best way to achieve it?
  • Question 23

    What command does Terraform require the first time you run it within a configuration directory?
  • Question 24

    When using remote state, state is only ever held in memory when used by Terraform.
  • Question 25

    Taint the resource "aws_instance" "baz" resource that lives in module bar which lives in module foo.