Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Exam Terraform-Associate-003 Topic 7 Question 9 Discussion

Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 9
Topic #: 7
[All Terraform-Associate-003 Questions]

Which of the following is true about terraform apply? (Pick 2 correct responses)

Show Suggested Answer Hide Answer
Suggested Answer: A

The module source path that does not specify a remote module issource = 'module/consul'. This specifies a local module, which is a module that is stored in a subdirectory of the current working directory. The other options are all examples of remote modules, which are modules that are stored outside of the current working directory and can be accessed by various protocols, such as Git, HTTP, or the Terraform Registry. Remote modules are useful for sharing and reusing code across different configurations and environments.Reference= [Module Sources], [Local Paths], [Terraform Registry], [Generic Git Repository], [GitHub]


Contribute your Thoughts:

Jarod
2 months ago
E is definitely true. Terraform apply only operates on the infrastructure defined in the current working directory or workspace. Gotta keep that in mind!
upvoted 0 times
Yolande
4 days ago
You're right, E and A are the correct options for terraform apply.
upvoted 0 times
...
Buddy
9 days ago
I think A is also true. Terraform apply creates or updates resources as defined in the configuration files.
upvoted 0 times
...
In
22 days ago
Yes, E is correct. Terraform apply only works on the infrastructure in the current directory.
upvoted 0 times
...
Lenna
1 months ago
C and E are correct. Terraform apply is a command that is used to apply the changes required to reach the desired state of the configuration.
upvoted 0 times
...
Clement
2 months ago
B and E are correct. Terraform apply is used to apply the changes required to reach the desired state of the configuration.
upvoted 0 times
...
Glendora
2 months ago
A and E are correct. Terraform apply creates or updates the real-world resources as defined in the configuration files.
upvoted 0 times
...
...
Cristen
3 months ago
Ha! I remember the days when I thought Terraform was all about 'terraform apply' and didn't know about the power of 'terraform plan'. Glad I learned that one the hard way.
upvoted 0 times
Dana
2 months ago
Yeah, 'terraform apply' can be risky without 'terraform plan' first.
upvoted 0 times
...
Merlyn
2 months ago
I know, 'terraform plan' is a lifesaver!
upvoted 0 times
...
...
Adelaide
3 months ago
I'm not sure, but I think A and C make sense because terraform apply can destroy and recreate resources.
upvoted 0 times
...
Flo
3 months ago
Hmm, I think D is also correct. Terraform apply doesn't allow you to target specific resources, you have to apply the entire configuration.
upvoted 0 times
...
Lavonda
3 months ago
B and C seem to be the correct options. Terraform apply is all about applying the changes from the plan, which may involve destroying and recreating resources.
upvoted 0 times
Erasmo
2 months ago
That's a good practice. It's better to be safe than sorry when working with infrastructure changes.
upvoted 0 times
...
Paulina
2 months ago
I always double check my plan before applying any changes to avoid unexpected outcomes.
upvoted 0 times
...
Gregg
2 months ago
Yes, that's right. It's important to understand the implications of running terraform apply.
upvoted 0 times
...
Gracia
2 months ago
I think B and C are correct. Terraform apply does not refresh the state file by default and may need to destroy and recreate resources.
upvoted 0 times
...
...
Linwood
3 months ago
I disagree, I believe it's B and E.
upvoted 0 times
...
Amie
3 months ago
I think A and C are correct.
upvoted 0 times
...

Save Cancel