LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

Ultimate access to all questions.


You are setting up a preemptible VM instance named 'preempt' for temporary use as scratch space. To ensure the disk contents remain available for reuse after the VM is preempted, which gcloud command should you use?

Real Exam



Explanation:

The correct answer is A because creating a preemptible instance requires the --preemptible flag, and to ensure the disk contents are not deleted upon instance termination, the --no-boot-disk-auto-delete flag must be included. This setup allows the disk contents to be reused if the VM is preempted.

  • Option B is incorrect due to the wrong parameter for disk retention.
  • Option C is incorrect as it lacks the necessary flag to prevent disk deletion upon termination.
  • Option D is incorrect because it does not specify the instance as preemptible.
Powered ByGPT-5