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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
RVivek
Highly Voted 11 months, 3 weeks ago
Selected Answer: AC
B -- Plan out put not needed D- It refreses by default E- you can target a resource
upvoted 5 times
...
camps
Most Recent 5 months, 2 weeks 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
7 months, 3 weeks 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
10 months, 2 weeks ago
Selected Answer: AC
A and C
upvoted 2 times
...
dani88ge
11 months, 1 week ago
Selected Answer: AC
AC, for sure
upvoted 2 times
...
depal_dhir
1 year ago
Selected Answer: AC
https://www.terraform.io/cli/run
upvoted 2 times
...
keiffo2
1 year 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago