PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #59
Your developer group works on a set of VM's frequently throughout the day. To save costs, you terminate the VM when it is not in use. However, you need to preserve the contents of the disk when the VM
The correct answer is A. Set the disk to no-auto-delete to preserve contents. C. When not in use, only stop the instance instead of deleting it.. A (Correct Answer) - Set the disk to no-auto-delete to preserve contents. Setting your instance to not delete the root disk when deleting the instance will preserve the disk contents to attach to a C (Correct Answer) - When not in use, only stop the instance instead of deleting i
Question
Options
- ASet the disk to no-auto-delete to preserve contents.
- BBack up the disk contents to Cloud Storage before deleting.
- CWhen not in use, only stop the instance instead of deleting it.
- DTake a snapshot of the disk before terminating the VM.
How the community answered
(20 responses)- A80% (16)
- B5% (1)
- D15% (3)
Explanation
A (Correct Answer) - Set the disk to no-auto-delete to preserve contents. Setting your instance to not delete the root disk when deleting the instance will preserve the disk contents to attach to a C (Correct Answer) - When not in use, only stop the instance instead of deleting it. Alternatively, you can merely stop the instance instead of deleting it, during which time you will not be billed for Machine Type usage (just disk storage). B and D may work but are not suitable solutions since the VMs may need frequently stop and resume throughout the day. More Information: https://cloud.google.com/sdk/gcloud/reference/compute/instances/set-disk-auto-delete
Topics
Community Discussion
No community discussion yet for this question.