1Z0-829 Java Platform Overview and Packaging Practice Question
Network Topology
Which statement is true about the result of executing the jlink command shown in the exhibit?
⚠ Common exam trap
Many exam-takers think jlink compiles source code or produces a JAR, but jlink only links pre-compiled modules into a runtime image, and it always includes dependencies, not just the specified module.
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
✓
It creates a runtime image containing the com.example.app module and its resolved dependencies.
The jlink command creates a custom runtime image that includes the specified module (com.example.app) and all of its resolved dependencies. It does not compile the module; compilation is done separately with javac. The resulting image is a directory structure with the JRE and module files, not a JAR.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
It compiles the com.example.app module before creating the image.
Why it's wrong here
jlink does not compile; it uses existing compiled modules from the module path.
- ✓
It creates a runtime image containing the com.example.app module and its resolved dependencies.
Why this is correct
jlink resolves the module graph and includes all required modules.
- ✗
It creates a runtime image that includes only the com.example.app module.
Why it's wrong here
jlink includes the specified module and its transitive dependencies.
- ✗
It creates a JAR file containing the com.example.app module.
Why it's wrong here
jlink outputs a custom runtime image directory, not a JAR.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every 1Z0-829 question from scratch — 513 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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 1Z0-829 practice question is part of Courseiva's free Oracle 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 1Z0-829 exam.