LPIC-1 Devices, Filesystems and FHS Practice Question
An administrator needs to mount an ISO file located at /tmp/data.iso to /mnt/iso for read-only access. Which command should be used?
⚠ Common exam trap
The trap here is that candidates often forget the `loop` option when mounting a file, or they incorrectly specify the filesystem type with `-t iso9660` thinking it is required, while the kernel can auto-detect it, and they may also reverse the source and mount point arguments.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
mount -o loop,ro /tmp/data.iso /mnt/iso
It uses the `-o loop,ro` options to mount the ISO file as a loop device with read-only access. The `loop` option is required to mount a file as a block device, and `ro` ensures the filesystem is mounted read-only, which is appropriate for an ISO image (typically an iso9660 filesystem).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
mount /tmp/data.iso /mnt/iso
Why it's wrong here
Missing loop option; fails because mount cannot directly mount a file.
- ✗
mount -t iso9660 -o loop /tmp/data.iso /mnt/iso
Why it's wrong here
Missing ro option; defaults to read-write.
- ✓
mount -o loop,ro /tmp/data.iso /mnt/iso
Why this is correct
Correctly uses loop device and read-only option.
- ✗
mount -o ro,loop /mnt/iso /tmp/data.iso
Why it's wrong here
Arguments are in wrong order; source and target swapped.
Go deeper
Related to this question
About these practice questions
This LPIC-1 question is part of Courseiva's 527-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.