Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You have set up several preemptible Linux virtual machine instances on Google Compute Engine. To ensure your application shuts down gracefully before the instances are preempted, which two actions should you take?
A
Develop a shutdown script and assign it as the value to a new metadata entry with the key shutdown-script in Deployment Manager.
shutdown-script
B
Directly pass the script contents using the CLI, Console, or API.
C
Develop a shutdown script and assign it as the value to a new metadata entry with the key shutdown-script in the Cloud Platform Console during the creation of the new virtual machine instance.
D
Develop a shutdown script and assign it as the value to a new log point entry with the key shutdown-script in the Cloud Platform Console during the creation of the new virtual machine instance.
E
Develop a shutdown script and assign it as the value to a new metadata entry with the key shutdown-script, then utilize the Google Cloud GitHub for additional resources.