The correct answer is D. terraform fmt is used to format the Terraform configuration files, making them more human-readable and consistent. This command applies a standard formatting style to your code, which helps to reduce errors and makes it easier to read and maintain.
terraform validate is used to check the syntax and validate the Terraform code for errors.
terraform plan is used to generate an execution plan that describes what Terraform will do when you apply the configuration.
terraform output is used to retrieve the values of output variables defined in your Terraform configuration.
It should be B Terraform Output
https://developer.hashicorp.com/terraform/cli/commands/show#:~:text=The%20terraform%20show%20command%20is,state%20as%20Terraform%20sees%20it.
I would say D since it formats your code is a cleaner way to read code.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
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.
090200f
3 months, 3 weeks agoPikopo
1 year, 1 month agoJhaggar
1 year, 6 months agoFawadK
1 year, 6 months agoNobbie
1 year, 6 months agoFawadK
1 year, 6 months agoOleg_gol
1 year, 6 months agoMantis
1 year, 6 months agoMarshalLaw
1 year, 6 months ago