VCP Virtual Machine Management & Lifecycle 1 — Questions and Answers
Question 1: What is the primary purpose of a VM template in vSphere?
- To store incremental VM backups on a secondary datastore
- To serve as a master image for rapidly deploying new virtual machines (Correct answer)
- To migrate virtual machines between ESXi hosts without downtime
- To monitor and report virtual machine performance metrics
Correct answer: To serve as a master image for rapidly deploying new virtual machines
A VM template is a pre-configured master image that serves as the source for deploying multiple new VMs consistently and quickly.
Question 2: When you convert a running virtual machine to a template in vSphere, what is the result?
- The VM continues to run but is marked read-only
- The VM is powered off, converted, and can no longer be powered on directly as a VM (Correct answer)
- The VM is cloned and both the original and template remain available
- The VM configuration is exported to an OVF file on the datastore
Correct answer: The VM is powered off, converted, and can no longer be powered on directly as a VM
Converting a VM to a template powers it off and marks it as a template, removing the ability to power it on until it is converted back to a VM.
Question 3: Which vSphere feature allows you to configure new VMs with unique hostnames and IP addresses automatically during template deployment?
- VMware Tools installation wizard
- Guest OS Customization Specification (Correct answer)
- vSphere Auto Deploy
- vCenter Converter Standalone
Correct answer: Guest OS Customization Specification
A Guest OS Customization Specification defines rules for assigning unique identity settings such as hostname, IP address, and domain membership when deploying VMs from a template.
Question 4: What does a vSphere snapshot capture?
- A full copy of all VM disk data written to a backup datastore
- A point-in-time state of the VM including memory contents, disk state, and configuration (Correct answer)
- Only the VM configuration (.vmx) file at the moment of creation
- A replicated copy of the VM sent to a secondary vCenter site
Correct answer: A point-in-time state of the VM including memory contents, disk state, and configuration
A snapshot captures the VM's memory state, virtual disk state, and configuration settings at a specific point in time, allowing rollback to that state.
Question 5: What file extension is used for VMware virtual disk files in vSphere?
- .vhd
- .qcow2
- .vmdk (Correct answer)
- .ova
Correct answer: .vmdk
VMware Virtual Machine Disk (.vmdk) is the proprietary format used by VMware for virtual disk files in vSphere environments.
Question 6: VMware recommends keeping snapshot chains for production VMs to a maximum of how many snapshots?
- 1
- 2–3 (Correct answer)
- 10
- 32
Correct answer: 2–3
VMware recommends no more than 2–3 snapshots in a chain for production VMs because longer chains degrade I/O performance and complicate consolidation.
Question 7: Which OVF/OVA-related statement is TRUE when deploying virtual machines in vSphere?
- OVA files can only be deployed to ESXi hosts, not to vCenter Server
- An OVA is a single compressed archive containing the OVF descriptor and disk files (Correct answer)
- OVF format is proprietary to VMware and not portable to other hypervisors
- Deploying an OVA requires the VM to be powered on at the source before export
Correct answer: An OVA is a single compressed archive containing the OVF descriptor and disk files
An OVA (Open Virtualization Appliance) is a single-file archive that bundles the OVF descriptor XML and associated disk image files into one portable package.
What is the primary purpose of a VM template in vSphere?