2V0-620 · Question #29
A virtual machine template is accidently removed from the vCenter Server Inventory. Which method would be used to recover the template back into the environment?
The correct answer is A. Use the datastore browser to locate the template, then right click and add the .vmtx file to. When a VM template is accidentally removed from vCenter inventory (but not deleted from disk), it can be recovered by re-registering the .vmtx file via the datastore browser.
Question
A virtual machine template is accidently removed from the vCenter Server Inventory. Which method would be used to recover the template back into the environment?
Options
- AUse the datastore browser to locate the template, then right click and add the .vmtx file to
- BUse the datastore browser to locate the template, then right click and add the .vmx file to
- CUsing the Managed Object Browser and adding the template from the
- DUsing the Managed Object Browser and adding the template from the
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- C5% (1)
Why each option
When a VM template is accidentally removed from vCenter inventory (but not deleted from disk), it can be recovered by re-registering the .vmtx file via the datastore browser.
VMware uses the .vmtx file extension specifically to identify virtual machine templates on a datastore. When a template is removed from vCenter inventory without being deleted from disk, it can be re-added by right-clicking the .vmtx file in the datastore browser and selecting 'Add to Inventory', which restores it as a template object.
The .vmx file is the configuration file for a regular virtual machine, not a template - registering it would add a VM to inventory, not a template.
The Managed Object Browser (MOB) is a low-level diagnostic interface for browsing vSphere objects and is not the supported method for re-registering missing templates from a datastore.
Same as C - the MOB does not provide a supported workflow for recovering or re-registering template files stored on a datastore.
Concept tested: Recovering VM templates from datastore inventory
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-D3DD122F-16A5-4F36-8467-97994A854B16.html
Topics
Community Discussion
No community discussion yet for this question.