ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 3 - 300-910 discussion

Report
Export

A CI/CD pipeline that builds infrastructure components using Terraform must be designed. A step in the pipeline is needed that checks for errors in any of the .tf files in the working directory. It also checks the existing state of the defined infrastructure.

Which command does the pipeline run to accomplish this goal?

A.

terraform plan

Answers
A.

terraform plan

B.

terraform check

Answers
B.

terraform check

C.

terraform fmt

Answers
C.

terraform fmt

D.

terraform validate

Answers
D.

terraform validate

Suggested answer: A

Explanation:

https://www.terraform.io/docs/cli/commands/validate.html "use the terraform plan commandinstead, which includes an implied validation check."

asked 10/10/2024
Arturs Grigorjevs
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first