Protecting VM Instances: Ensuring Indefinite Operation and Avoiding Deletion

Preventing Deletion of Critical VM Instances

Question

As part of your workload, a VM instance runs a SQL server, and another VM is being used as a license manager.

Given the criticality of SQL Server and license manager, you need to ensure that these instances run indefinitely and do not get deleted. How can these VMs be protected from deletion?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: A.

Option A is correct.

To protect the VMs from being deleted, the “delete protection” feature needs to be enabled.

Option B is incorrect.

The “no delete” feature is an invalid option.

Option C is incorrect.

The “restrict delete” feature is an invalid option.

Option D is incorrect.

The “run continuous” feature is an invalid option.

https://cloud.google.com/compute/docs/instances/preventing-accidental-vm-deletion

To protect the VM instances running SQL Server and the license manager from accidental or unauthorized deletion, you need to use a feature that prevents the instances from being deleted. Among the given options, the most appropriate feature to use is "delete protection."

A. Enable "delete protection" feature: This feature prevents accidental or unauthorized deletion of a VM instance by requiring users to explicitly remove the protection before they can delete the instance. This feature is available in many cloud providers, such as AWS, Google Cloud, and Azure. To enable delete protection, you need to access the VM instance settings and select the delete protection option.

B. Enable "no delete" feature: This feature completely blocks the ability to delete a VM instance, which may not be practical in all situations. In case you need to delete the instance in the future, this feature can prevent you from doing so.

C. Enable "restrict delete" feature: This feature allows you to restrict the ability to delete a VM instance to specific users or roles, which is useful if you want to limit access to deletion capabilities. However, this feature may not be appropriate in situations where only a few users have the permission to delete VM instances.

D. Enable "run continuous" feature: This feature refers to the ability of a VM instance to run continuously without being interrupted or shut down. This feature is not directly related to protecting a VM instance from deletion, but rather ensures the availability of the service. You can use this feature in conjunction with delete protection to ensure the continuous operation of critical services.

In summary, the best option to protect the VM instances running SQL Server and the license manager from accidental or unauthorized deletion is to enable "delete protection" feature. This feature is widely available and prevents users from deleting the instances without first removing the protection.