Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 153 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 153
Topic #: 1
[All Terraform Associate Questions]

Which of the following is true about terraform apply? (Choose two.)

  • A. It only operates on infrastructure defined in the current working directory or workspace
  • B. You must pass the output of a terraform plan command to it
  • C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources
  • D. By default, it does not refresh your state file to reflect current infrastructure configuration
  • E. You cannot target specific resources for the operation
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
camps
1 year, 7 months ago
Selected Answer: AC
A. It only operates on infrastructure defined in the current working directory or workspace. C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources. The terraform apply command in Terraform is used to create or modify infrastructure resources according to the Terraform configuration in the current working directory or workspace.
upvoted 2 times
...
Zeppoonstream
1 year, 10 months ago
A. It only operates on infrastructure defined in the current working directory or workspace C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources The following is true about terraform apply: A. It only operates on infrastructure defined in the current working directory or workspace. Terraform apply command will only perform changes to the resources defined in the Terraform configuration files in the current working directory or workspace. C. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources: Terraform may need to destroy and recreate some of the resources if the provider requires it to apply changes, this is also known as "create-before-destroy" strategy
upvoted 2 times
...
G4Exams
2 years ago
Selected Answer: AC
A and C
upvoted 2 times
...
dani88ge
2 years, 1 month ago
Selected Answer: AC
AC, for sure
upvoted 2 times
...
RVivek
2 years, 1 month ago
Selected Answer: AC
B -- Plan out put not needed D- It refreses by default E- you can target a resource
upvoted 4 times
...
depal_dhir
2 years, 2 months ago
Selected Answer: AC
https://www.terraform.io/cli/run
upvoted 2 times
...
keiffo2
2 years, 2 months ago
I'd go with A and C - as per Answer
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...