What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.A . You can enforce a list of approved AWS AMIsB . Policy-as-code can enforce security best practicesC . You can check out and check in cloud access keysD . You can restrict specific resource...
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.A . End-users have to request infrastructure changesB . Ticket based systems generate a full audit trail of the request and fulfillment processC . Users can access catalog of approved resources from...
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.A . TrueB . FalseView AnswerAnswer: B Explanation: Module variable assignments are not inherited from the parent module and you need to explicitly set them using the source argument. This allows you to...
When is the best time to run terraform validate?
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?A . After you run terraform apply so you can validate your infrastructureB . Before you run terraform apply so you can validate your provider credentialsC . Before you...
What feature stops multiple users from operating on the Terraform state at the same time?
What feature stops multiple users from operating on the Terraform state at the same time?A . State lockingB . Version controlC . Provider constraintsD . Remote backendsView AnswerAnswer: A Explanation: State locking prevents other users from modifying the state file while a Terraform operation is in progress. This prevents conflicts...
What is the best method to quickly find the IP address of the resource you deployed?
You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?A . In a new folder, use the terraform_remote_state data...
What does Terraform use the .terraform.lock.hc1 file for?
What does Terraform use the .terraform.lock.hc1 file for?A . There is no such fileB . Tracking specific provider dependenciesC . Preventing Terraform runs from occurringD . Storing references to workspaces which are lockedView AnswerAnswer: B Explanation: The .terraform.lock.hcl file is a new feature in Terraform 0.14 that records the exact...
It is best practice to store secret data in the same version control repository as your Terraform configuration.
It is best practice to store secret data in the same version control repository as your Terraform configuration.A . TrueB . FalseView AnswerAnswer: B Explanation: It is not a best practice to store secret data in the same version control repository as your Terraform configuration, as it could expose your...
How does Terraform manage most dependencies between resources?
How does Terraform manage most dependencies between resources? A. Terraform will automatically manage most resource dependencies B. Using the depends_on parameter C. By defining dependencies as modules and including them in a particular order D. The order that resources appear in Terraform configuration indicates dependenciesView AnswerAnswer: A Explanation: This is...
Which command add existing resources into Terraform state?
Which command add existing resources into Terraform state?A . Terraform initB . Terraform planC . Terraform refreshD . Terraform importE . All of theseView AnswerAnswer: D Explanation: This is the command that can add existing resources into Terraform state, by matching them with the corresponding configuration blocks in your files.