Topic 9 Question 28
Which of the follow methods will not cause a shutdown script to be executed?
When an instance shuts down through a request to the guest operating system
A preemptible instance being terminated
An instances.reset API call
Shutting down via the cloud console
解説
Shutdown scripts execute when an instance is scheduled to restart or terminate. There are many ways to restart or terminate an instance, but only some actions trigger the shutdown script to run. A shutdown script runs as part of the following actions: When an instance shuts down due to an instances.delete request or an instances.stoprequest to the API. When Compute Engine stops a preemptible instance as part of the preemption process. When an instance shuts down through a request to the guest operating system, such as sudo shutdown or sudo reboot. When you shut down an instance manually through the Cloud Platform Console or the gcloud compute tool. The shutdown script will not run if the instance is reset using instances().reset. Reference: https://cloud.google.com/compute/docs/shutdownscript
コメント(4)
C, for sure. An instances.reset API call
👍 4gfhbox00832020/06/10- 👍 3Khaled_Rashwan2020/12/17
C is correct
👍 2CoolCat2020/06/08
シャッフルモード