Courseiva
Java Platform Overview and PackaginghardMultiple ChoiceObjective-mapped

1Z0-829 Java Platform Overview and Packaging Practice Question

Network Topology
$ javalist-modulesRefer to the exhibit.```java.basejava.compilerjava.datatransferjava.desktopjava.instrumentjava.loggingjava.managementjava.management.rmijava.namingjava.net.httpjava.prefsjava.rmijava.scriptingjava.sejava.security.jgssjava.security.sasljava.smartcardiojava.sqljava.sql.rowsetjava.transaction.xajava.xmljava.xml.cryptojdk.accessibilityjdk.attachjdk.charsetsjdk.compilerjdk.crypto.cryptokijdk.crypto.ecjdk.dynalinkjdk.editpadjdk.hotspot.agentjdk.httpserverjdk.incubator.foreignjdk.incubator.vectorjdk.internal.edjdk.internal.jvmstatjdk.internal.lejdk.internal.optjdk.internal.vm.cijdk.internal.vm.compilerjdk.internal.vm.compiler.managementjdk.jartooljdk.javadocjdk.jcmdjdk.jconsolejdk.jdepsjdk.jdijdk.jdwp.agentjdk.jfrjdk.jlinkjdk.jpackagejdk.jshelljdk.jsobjectjdk.jstatdjdk.localedatajdk.managementjdk.management.agentjdk.management.jfrjdk.naming.dnsjdk.naming.rmijdk.netjdk.nio.mapmodejdk.randomjdk.sctpjdk.security.authjdk.security.jgssjdk.xml.domjdk.zipfs

Given the output of `java --list-modules` from a Java 17 installation, which module is NOT included by default when using the `--release 17` flag with `javac`?

⚠ Common exam trap

Oracle often tests the distinction between standard modules (always included with `--release`) and incubator/preview modules (explicitly opt-in), causing candidates to assume all listed modules are part of the default API.

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

jdk.incubator.foreign

The `--release 17` flag restricts `javac` to the standard Java SE 17 API, which does not include incubator modules like `jdk.incubator.foreign`. Incubator modules are preview features that are not part of the Java SE specification and must be explicitly added with `--add-modules`.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • jdk.jfr

    Why it's wrong here

    Incorrect: jdk.jfr is a JDK-specific module but is included with --release 17.

  • jdk.incubator.foreign

    Why this is correct

    Correct: Incubator modules are not included when using --release.

  • java.net.http

    Why it's wrong here

    Incorrect: java.net.http is a standard module included with --release 17.

  • java.sql

    Why it's wrong here

    Incorrect: java.sql is a standard module included with --release 17.

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 →

How Courseiva writes practice questions · Editorial policy

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.