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 VA-002-P Topic 4 Question 75 Discussion

Actual exam question for HashiCorp's VA-002-P exam
Question #: 75
Topic #: 4
[All VA-002-P Questions]

A user creates three workspaces from the command line - prod, dev, and test. Which of the following commands will the user run to switch to the dev workspace?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Amie
4 days ago
Haha, yeah, 'terraform workspace dev' sounds like it would just create a new workspace named 'dev' instead of switching to it.
upvoted 0 times
...
Alpha
5 days ago
I agree with you both. The other options don't really make sense in this context. 'terraform workspace select dev' and 'terraform workspace -switch dev' don't sound like valid commands.
upvoted 0 times
...
Reed
6 days ago
Yeah, that's what I was thinking too. The question specifically mentions the user creating three workspaces, so the 'switch' command seems like the logical choice to change between them.
upvoted 0 times
...
Lavonna
7 days ago
Hmm, this seems like a pretty straightforward question. I'm guessing the correct answer is D, 'terraform workspace switch dev'.
upvoted 0 times
...

Save Cancel