Which sub-command of xl changes the media inside a virtual CD-ROM drive of a Xen guest domain?
(Specify ONLY the sub-command without any path or parameters.)
Solution:
block-attach -- or -- xl cd-insert -- or -- cd-eject -- or -- xl cd-eject -- or -- cd-insert -- or -- xl block-attach -- or -- block-detach -- or -- xl block-detach
Determine whether the given solution is correct?
According to official Xen xl toolstack documentation, the correct sub-commands used to change media in a virtual CD-ROM drive are cd-insert and cd-eject. These commands are specifically designed for inserting or ejecting ISO media from a Xen guest's virtual CD-ROM device.
While commands such as block-attach and block-detach are valid xl sub-commands, they are used for attaching and detaching block devices in general and are not specific to CD-ROM media operations. The provided solution lists multiple commands, including incorrect and unrelated ones, rather than specifying the correct sub-command precisely.
Because the solution does not accurately and exclusively identify the correct xl sub-command, it is considered incorrect. Therefore, the correct determination is B.
Currently there are no comments in this discussion, be the first to comment!