ExamGecko
Question list
Search
Search

Question 95 - Terraform Associate 003 discussion

Report
Export

What does Terraform not reference when running a terraform apply -refresh-only ?

A.
State file
Answers
A.
State file
B.
Credentials
Answers
B.
Credentials
C.
Cloud provider
Answers
C.
Cloud provider
D.
Terraform resource definitions in configuration files
Answers
D.
Terraform resource definitions in configuration files
Suggested answer: D

Explanation:

When running aterraform apply -refresh-only, Terraform does not reference the configuration files, but only the state file, credentials, and cloud provider.The purpose of this command is to update the state file with the current status of the real resources, without making any changes to them1.

asked 18/09/2024
Tillmon, Quinton
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first