Exam 305-300 Topic 1 Question 15 Discussion

Actual exam question for Lpi's 305-300 exam
Question #: 15
Topic #: 1
Which virsh subcommand is used to change the CD-ROM image file attached to a virtual machine?

Suggested Answer:

change-media
Explanation:
In libvirt-based virtualization environments, thevirsh change-mediasubcommand is used to change the media attached to removable devices such asCD-ROM drives. According to libvirt documentation, this command allows administrators to insert or eject ISO images from a running virtual machine without shutting it down.
This functionality is commonly used during operating system installations or software updates. The change- media command supports both live and persistent changes depending on the options used.
Therefore, the correct and documented answer ischange-media.

by Bridget at Feb 12, 2026, 05:49 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10