New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC GSEC Exam - Topic 9 Question 78 Discussion

Actual exam question for GIAC's GSEC exam
Question #: 78
Topic #: 9
[All GSEC Questions]

Which Terraform command should be run immediately after creating a new configuration file for a cloud-based virtual machine?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Bettyann
3 days ago
A) Init is the first step, but you need to 'apply' the changes to actually create the resources.
upvoted 0 times
...
Meaghan
8 days ago
I always get these Terraform commands mixed up. Maybe I should just stick to the 'terraform plan' command to be safe.
upvoted 0 times
...
Willard
13 days ago
C) Apply is the correct answer. You need to run the 'terraform apply' command to create the resources defined in your configuration.
upvoted 0 times
...
Freeman
18 days ago
"Commit" doesn't sound right at all; I think it's either "Init" or "Apply," but I can't recall the exact order.
upvoted 0 times
...
Nan
24 days ago
I feel like "Init" is definitely the right answer, but I might be mixing it up with something else.
upvoted 0 times
...
Michal
29 days ago
I remember practicing a question like this, and I think "Apply" comes later after initializing.
upvoted 0 times
...
Celeste
1 month ago
I think the command we need is "Init," but I'm not entirely sure if that's the first step.
upvoted 0 times
...
Matthew
1 month ago
C) Apply makes the most sense. That's how you actually create the resources described in the Terraform configuration.
upvoted 0 times
...
Hubert
1 month ago
B) Build doesn't sound right to me. I'm pretty sure Terraform doesn't have a "build" command.
upvoted 0 times
...
Mirta
2 months ago
I'd go with C) Apply. That's the standard command to provision the infrastructure after writing the config file.
upvoted 0 times
...
Annamaria
2 months ago
Hmm, I'm a bit unsure here. Is it maybe A) Init to initialize the working directory first?
upvoted 0 times
...
Shakira
2 months ago
I think the answer is C) Apply. That's the command to actually create the resources defined in the Terraform configuration.
upvoted 0 times
...

Save Cancel