Easy1 markMultiple Choice
Domain 4.1: Managing Compute Engine resourcesCompute EnginePersistent DiskVM Lifecycle

GCP ACE · Question 31 · Domain 4.1: Managing Compute Engine resources

You have a Compute Engine instance that you only use during business hours. To save costs, you stop the instance every evening and start it every morning.

What happens to the data on the instance's attached Persistent Disk when the instance is stopped?

Answer options:

A.

The data is permanently deleted to free up storage space.

B.

The data remains intact and is available when the instance is started again.

C.

The data is automatically backed up to Cloud Storage and then deleted from the disk.

D.

The data remains intact, but the disk is converted to a read-only state.

How to approach this question

Understand the lifecycle of a Persistent Disk compared to the VM it is attached to.

Full Answer

B.The data remains intact and is available when the instance is started again.✓ Correct
The data remains intact and is available when the instance is started again.
When you stop a Compute Engine instance, the instance is shut down and you stop paying for CPU and memory. However, any attached Persistent Disks remain intact and retain their data. You continue to incur storage charges for the disk while the instance is stopped. When you start the instance again, it will boot up with all the data exactly as you left it. (Note: This is different from Local SSDs, where data is lost if the instance is stopped).

Common mistakes

Confusing Persistent Disks with Local SSDs (which do lose data when stopped).

Practice the full GCP Associate Cloud Engineer Practice Exam 6

50 questions · hints · full answers · grading

More questions from this exam