LPIC-3 Exam 304 (Virtualization and High Availability) — Question 6
What action does the virsh restore command perform?
Answer options
- A. It restores a virtual machine that was stopped by a kernel panic.
- B. It restores a virtual machine from a state file.
- C. It reverts a virtual machine, including its storage devices, to a previously saved state.
- D. It wakes up a virtual machine that was hibernated by the operating system running inside the virtual machine.
Correct answer: B
Explanation
The correct answer is B because the virsh restore command is specifically designed to restore a virtual machine from a saved state file. Option A is incorrect as it refers to a situation handled by other commands, while C describes functionality of the virsh snapshot command, and D pertains to waking up a hibernated VM, which is not the purpose of the restore command.