100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Terraform Associate Exam Questions 1-50 Questions And Answers

Rating
-
Sold
-
Pages
10
Grade
A
Uploaded on
07-08-2023
Written in
2023/2024

The te file always matches your currently built infrastructure. A. True B. False - B One remote backend configuration always maps to a single remote workspace. A. True B. False - B How is the Terraform remote backend different than other state backends such as S3, Consul, etc.? A. It can execute Terraform runs on dedicated infrastructure on premises or in Terraform Cloud B. It doesn't show the output of a terraform apply locally C. It is only available to paying customers D. All of the above - A What is the workflow for deploying new infrastructure with Terraform? A. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure. B. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure. C. terraform import to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure. D. Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure changes, and terraform apply to create new infrastructure. - D A provider configuration block is required in every Terraform configuration. Example: pvorider "provider_name" { ... } A.True B.False - B(58%) - A(42%) You run a local-exec provisioner in a null resource called null__script and realize that you need to rerun the script. Which of the following commands would you use first? A. terraform taint null__script B. terraform apply -target=null__script C. terraform validate null__script D. terraform plan -target=null__script - A Which provisioner invokes a process on the resource created by Terraform? A. remote-exec B. null-exec C. local-exec D. file - A Which of the following is not true of Terraform providers? A. Providers can be written by individuals B. Providers can be maintained by a community of users C. Some providers are maintained by HashiCorp D. Major cloud vendors and non-cloud vendors can write, maintain, or collaborate on Terraform providers E. None of the above - E What command does Terraform require the first time you run it within a configuration directory? A. terraform import B. terraform init C. terraform plan D. terraform workspace - B 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. Run terraform output ip_address to view the result B. In a new folder, use the terraform_remote_state data source to load in the state file, then write an output for each resource that you find the state file C. Run terraform state list to find the name of the resource, then terraform state show to find the attributes including public IP address D. Run terraform destroy then terraform apply and look for the IP address in stdout - C Which of the following is not a key principle of infrastructure as code? A. Versioned infrastructure B. Golden images C. Idempotence D. Self-describing infrastructure - B

Show more Read less
Institution
Terraform Associate
Course
Terraform associate









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Terraform associate
Course
Terraform associate

Document information

Uploaded on
August 7, 2023
Number of pages
10
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

Terraform Associate Exam Questions 1 -
50 Questions And Answers The terraform.tfstate file always matches your currently built infrastructure. A. True B. False - B One remote backend configuration always maps to a single remote workspace. A. True B. False - B How is the Terraform remote backend different than oth er state backends such as S3, Consul, etc.? A. It can execute Terraform runs on dedicated infrastructure on premises or in Terraform Cloud B. It doesn't show the output of a terraform apply locally C. It is only available to paying customers D. All of the above - A What is the workflow for deploying new infrastructure with Terraform? A. terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure. B. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new infrastructure. C. terraform import to import the c urrent infrastructure to the state file, make code changes, and terraform apply to update the infrastructure. D. Write a Terraform configuration, run terraform init, run terraform plan to view planned infrastructure changes, and terraform apply to create new infrastructure. - D A provider configuration block is required in every Terraform configuration. Example: pvorider "provider_name" { ... } A.True B.False - B(58%) - A(42%) You run a local -exec provisioner in a null resource called null_resource.run _script and realize that you need to rerun the script. Which of the following commands would you use first? A. terraform taint null_resource.run_script B. terraform apply -target=null_resource.run_script C. terraform validate null_resource.run_script D. terraform plan -target=null_resource.run_script - A Which provisioner invokes a process on the resource created by Terraform? A. remote -exec B. null -exec C. local -exec D. file - A Which of the following is not true of Terraform providers? A. Providers can be written by individuals B. Providers can be maintained by a community of users C. Some providers are maintained by HashiCorp D. Major cloud vendors and non -cloud vendors can write, maintain, or collaborate on Terraform providers E. None of the above - E What command does Terraform require the first time you run it within a configuration directory? A. terraform import B. terraform init C. terraform plan D. terraform work space - B 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. Run terraform output ip _address to view the result B. In a new folder, use the terraform_remote_state data source to load in the state file, then write an output for each resource that you find the state file C. Run terraform state list to find the name of the resource, then t erraform state show to find the attributes including public IP address D. Run terraform destroy then terraform apply and look for the IP address in stdout - C Which of the following is not a key principle of infrastructure as code? A. Versioned infrastructure

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PossibleA Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
982
Member since
4 year
Number of followers
650
Documents
12621
Last sold
3 days ago
POSSIBLEA QUALITY UPDATED EXAMS

Choose quality study materials for nursing schools to ensure success in your studies and future career. "Welcome to PossibleA - your perfect study assistant! Here you will find Quality sheets, study materials, exams, quizzes, tests, and notes to prepare for exams and study successfully. Our store offers a wide selection of materials on various subjects and difficulty levels, created by experienced teachers and checked for quality. Our quality sheets are an easy and quick way to remember key points and definitions. And our study materials, tests, and quizzes will help you absorb the material and prepare for exams. Our store also has notes and lecture summaries that will help you save time and make the learning process more efficient.

Read more Read less
3.9

140 reviews

5
74
4
24
3
20
2
1
1
21

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions