A system administrator needs to create a new virtual machine, web-app-02, by duplicating an existing KVM guest named web-app-template. The new VM should have its disk image automatically created with a unique name in the default storage pool. Which of the following commands will accomplish this?
The correct command is virt-clone --original web-app-template --name web-app-02 --auto-clone. The virt-clone tool is used to duplicate an existing virtual machine managed by libvirt. The --original option specifies the source VM. The --name option sets the name for the new cloned VM. The --auto-clone option automatically creates and names the new disk image, which is a common requirement for creating a fully independent clone. The other options are incorrect. virsh clone is not a valid command. dd can copy a disk image but does not handle the VM's XML configuration, MAC address, or other unique identifiers. virt-clone with the --source option is incorrect because the proper option to specify the original VM is --original.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the --auto-clone option in virt-clone?
Open an interactive chat with Bash
How is virt-clone different from using dd to copy a VM disk image?
Open an interactive chat with Bash
What is the role of libvirt in KVM virtualization?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access