Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 305-300 Exam - Topic 2 Question 57 Discussion

Which of the following KVM parameters is identical to the KVM parameter -hdb file.img?
D) -drive file=file.img,index=1,media=disk,if=ide
A) -drive bus=ide1,type=slave,image=file.img
B) -drive type=loop,src=file.img,dst=disk:hdb
C) -drive image=file.img,if=ide,device=hdb
E) -drive bus=hd,busid=b,src=file.img

LPI 305-300 Exam - Topic 2 Question 57 Discussion

Actual exam question for LPI's 305-300 exam
Question #: 57
Topic #: 2
[All 305-300 Questions]

Which of the following KVM parameters is identical to the KVM parameter -hdb file.img?

Show Suggested Answer Hide Answer
Suggested Answer: D

In QEMU/KVM, the legacy parameter -hdb file.img attaches a disk image as the primary IDE slave device. According to QEMU documentation, this corresponds to an IDE device with index 1, media type disk, and interface IDE.

The modern equivalent using the -drive syntax is:

-drive file=file.img,index=1,media=disk,if=ide

Option D matches this mapping precisely. The other options use invalid or unsupported parameter combinations and do not correctly represent the IDE device mapping.

Therefore, the correct answer is D.


Contribute your Thoughts:

0/2000 characters
Ciara
2 days ago
B) seems off, not sure why it's even an option.
upvoted 0 times
...
Tina
7 days ago
Wait, I didn't know -drive could have so many variations!
upvoted 0 times
...
Lanie
12 days ago
D) looks pretty similar too.
upvoted 0 times
...
Corrie
18 days ago
I think C) is a better match.
upvoted 0 times
...
Santos
23 days ago
A) is the correct answer.
upvoted 0 times
...
Hyman
28 days ago
I’m a bit confused about the differences between the options. I remember something about bus and device types, but I can't recall which one matches -hdb exactly.
upvoted 0 times
...
Moon
1 month ago
I practiced a similar question where the parameters were about disk images. I think option D could be the right one since it specifies 'index=1'.
upvoted 0 times
...
Lashaun
1 month ago
I’m not entirely sure, but I feel like option C sounds familiar since it mentions 'if=ide' which could be relevant.
upvoted 0 times
...
Shala
1 month ago
I think I remember that -hdb refers to the second hard disk, so it might be related to the IDE configuration.
upvoted 0 times
...

Save Cancel