Ultimate access to all questions.
How can you ensure the boot disk of a preemptible instance is persisted for re-use when provisioning it with gcloud compute instances create?
Explanation:
The correct answer is to use the --no-boot-disk-auto-delete
flag with the gcloud compute instances create
command. This flag disables the automatic deletion of the boot disk when the instance is deleted, which is enabled by default. The other options either use incorrect flags or misunderstand the default behavior of the --boot-disk-auto-delete
flag. For more details, refer to the Google Cloud SDK documentation.