Home » VMware » VCP550D » Which two object types, if assigned a Storage Policy, would prevent the Storage Policy from being deleted?
An administrator attempts to delete a Storage Policy and receives an error.
Which two object types, if assigned a Storage Policy, would prevent the Storage Policy from being deleted? (Choose two.)
A. A virtual machine.
B. A virtual disk.
C. A datastore.
D. A datastore cluster.
Correct Answer: AB
Explanation/Reference:
Explanation:
You cannot delete a storage policy if the selected storage policy is associated to a virtual machine or virtual disk.
A vSphere storage profile defines storage policy information that describes storage requirements for virtual machines and storage capabilities of storage providers. You use VMware Storage Policies to manage the association between virtual machines and datastores.
Delete a Virtual Machine Storage Policy
You can delete a storage policy if you are not using it for any virtual machine or virtual disk.
Procedure
From the vSphere Web Client Home, click Rules and Profiles > VM Storage Policies.
In the VM Storage Policies view, select a policy that you want to delete and click the Delete a VM Storage Policy icon ( ).
Click Yes.
Incorrect Answers:
C: A storage policy assigned to a datastore can be deleted. Therefore, this answer is incorrect.
D: A storage policy assigned to a datastore cluster can be deleted. Therefore, this answer is incorrect.
References:
http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.vsphere.storage.doc%2FGUID-B9200042-1D30-4C1C-A84CB69BF711D98D.html