CPENT Iot And OT Exploitation Practice Question
A security researcher is performing dynamic analysis of an IoT firmware binary inside an emulated MIPS environment using QEMU-user mode. When executing the binary, the application crashes with a segmentation fault due to missing dynamic library dependencies in the emulated root directory. Which environment variable must be exported to instruct QEMU where to search for the target root filesystem's shared libraries?
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
✓
QEMU_LD_PREFIX
When running binaries under QEMU user-mode emulation, the QEMU_LD_PREFIX environment variable specifies the path to the root directory containing the target architecture's libraries.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
QEMU_ROOTFS
Why it's wrong here
QEMU_ROOTFS is not a standard QEMU environment variable; QEMU_LD_PREFIX is the official parameter.
- ✗
LD_LIBRARY_PATH
Why it's wrong here
While LD_LIBRARY_PATH specifies library search paths for native Linux binaries, QEMU-user requires QEMU_LD_PREFIX to correctly map cross-architecture paths.
- ✓
QEMU_LD_PREFIX
Why this is correct
Setting QEMU_LD_PREFIX points the QEMU user-mode emulator to the directory containing the rootfs libraries, resolving missing dependency errors.
- ✗
PATH
Why it's wrong here
The PATH variable determines where the shell searches for executable binaries, not shared libraries.
About these practice questions
One of 276 original CPENT practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official EC-Council exam blueprint
This CPENT practice question is part of Courseiva's free EC-Council 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 CPENT exam.