Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Architect · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
You'll typically use the shutdown-script or gce-shutdown-script metadata key for this purpose.
Option C is still a viable option even if the Linux VM instances are already created. You can add a shutdown script to existing instances using metadata. Option D is very complicated, The use of xinetd adds unnecessary complexity, and it may not be as effective as simply using the shutdown-script metadata key.
"when you create the new virtual machine instance" means it is too late, then C seems disqualified :( but the other choices are worse ?