Google Cloud Associate Cloud Engineer — Question 42
You significantly changed a complex Deployment Manager template and want to confirm that the dependencies of all defined resources are properly met before committing it to the project. You want the most rapid feedback on your changes. What should you do?
Answer options
- A. Use granular logging statements within a Deployment Manager template authored in Python.
- B. Monitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console.
- C. Execute the Deployment Manager template against a separate project with the same configuration, and monitor for failures.
- D. Execute the Deployment Manager template using the ג€"-preview option in the same project, and observe the state of interdependent resources.
Correct answer: D
Explanation
The correct answer is D because using the '-preview' option allows you to see how the changes would affect the resources without actually applying them, providing immediate feedback on any dependency issues. Options A and B do not provide rapid or direct feedback on changes, while option C involves a separate project that may not accurately reflect the current project's state.