Question 144 of 513
1Z0-829 Java Platform Overview and Packaging Practice Question
Which TWO statements about the Java Platform Module System (JPMS) are true? (Choose two.)
⚠ Common exam trap
Test-takers frequently confuse the unnamed module (classpath) with the boot layer, or assuming that module-info.class is the source file rather than the compiled output, leading candidates to incorrectly select A or C.
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
✓
JPMS provides reliable configuration through explicit module dependencies.
JPMS enforces reliable configuration by requiring modules to explicitly declare their dependencies using the 'requires' directive in the module descriptor. This eliminates the classpath's silent dependency resolution, where missing or conflicting JARs often cause runtime errors like ClassNotFoundException.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
All classes on the classpath are automatically placed in the boot layer.
Why it's wrong here
Incorrect: Classes on the classpath belong to the unnamed module, not the boot layer.
- ✓
JPMS provides reliable configuration through explicit module dependencies.
Why this is correct
Correct: JPMS requires modules to declare dependencies explicitly, eliminating classpath issues.
- ✗
A module declaration is placed in a file named module-info.class.
Why it's wrong here
Incorrect: The declaration is in module-info.java, compiled to module-info.class.
- ✗
JPMS allows the use of the classpath to add modules to the module graph.
Why it's wrong here
Incorrect: Modules are placed on the module path, not the classpath.
- ✓
JPMS supports strong encapsulation by controlling which packages are accessible to other modules.
Why this is correct
Correct: JPMS restricts access to packages unless they are exported.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.