TA-002-P Exam Question 56

Every region in AWS has a different AMI ID for Linux and these are keep on changing. What is the best approach to create the EC2 instances that can deal with different AMI IDs based on regions?
  • TA-002-P Exam Question 57

    During a terraform plan, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
  • TA-002-P Exam Question 58

    You have recently started a new job at a retailer as an engineer. As part of this new role, you have been tasked with evaluating multiple outages that occurred during peak shopping time during the holiday season.
    Your investigation found that the team is manually deploying new compute instances and configuring each compute instance manually. This has led to inconsistent configuration between each compute instance.
    How would you solve this using infrastructure as code?
  • TA-002-P Exam Question 59

    You have written a terraform IaC script which was working till yesterday , but is giving some vague error from today , which you are unable to understand . You want more detailed logs that could potentially help you troubleshoot the issue , and understand the root cause. What can you do to enable this setting? Please note , you are using terraform OSS.
  • TA-002-P Exam Question 60

    You have a Terraform configuration file where a variable itemNum is defined as follows:
    variable "itemNum" { default = 3}
    You also have a defined the following environment variables in your shell: TF_itemNum =6, TF_VAR_itemNum =9. You also have a terraform.tfvars file with the following contents itemNum = 7 When you run the following apply command, what is the value assigned to the itemNum variable?
    terraform apply -var itemNum =4