
Answer-first summary for fast verification
Answer: Resetting an instance through an API call
Shutdown scripts are designed to execute commands right before an instance is terminated or restarted, on a best-effort basis. They are particularly useful for cleanup tasks or syncing with other systems. However, resetting an instance through an API call does not trigger these scripts. For more details, refer to the [Google Cloud documentation on shutdown scripts](https://cloud.google.com/compute/docs/shutdownscript).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Which of the following methods will not trigger the execution of a shutdown script on a Google Cloud instance?
A
Initiating a shutdown through the guest operating system by a user
B
Shutting down the instance via the Google Cloud Console
C
A preemptible instance being shutdown
D
Resetting an instance through an API call
No comments yet.