Oracle 1Z0-829 Practice Exam Questions & Answers

5 Free Questions · Last reviewed: September 7, 2026 · Prepared & Reviewed by the ValidExamDumps Editorial Team

Exam Facts

Oracle 1Z0-829 Exam Details

Key details for this exam, checked against the published exam outline

50 Practice Questions (Our Bank)
120 minutes Exam Duration
68% Passing Score
USD 245 Exam Fee (United States)
Exam Code
1Z0-829
Full Name
Java SE 17 Developer
Issuing Body
Oracle
Question Format (Our Bank)
Multiple Choice
Delivery
Proctored exam delivered online or at a test center
Eligibility
No prerequisites required
Validity
Certification is valid for 3 years
Practice Questions

Free 1Z0-829 Practice Questions

Each question shows the correct answer and an explanation of why it is right

VA
ValidExamDumps Editorial Team Every question and its answer is checked by our 1Z0-829 exam preparation team, who also write the explanation shown with each one. How we research and review these pages

Given:

Which two method invocation execute?

Correct Answer: D, E

Given the code fragment:

What is the result?

Correct Answer: B
Explanation

The code fragment is using the Java SE 17 API to get the current time and then truncating it to minutes. The result will be the current time truncated to minutes, which is why option B is correct.Reference:

https://education.oracle.com/products/trackp_OCPJSE17

https://mylearn.oracle.com/ou/learning-path/java-se-17-developer/99487

https://docs.oracle.com/javase/17/docs/api/java.base/java/time/Instant.html#truncatedTo(java.time.temporal.TemporalUnit)

Given the code fragment:

What is the result?

Correct Answer: B
Explanation

The code fragment is creating a Duration object with a value of 5000 milliseconds, then printing it. Then, it is creating another Duration object with a value of 60 seconds, then printing it. Finally, it is creating a Period object with a value of 6 days, then printing it. The output will be ''PT5000PT60MP6D''.Reference: https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html, https://docs.oracle.com/javase/8/docs/api/java/time/Period.html

Given:

Which action enables the code to compile?

Correct Answer: C
Explanation

The answer is C because the code fragment contains a syntax error in line 7, where the method display is declared without any parameter type. This causes a compilation error, as Java requires the parameter type to be specified for each method parameter. To fix this error, the parameter type should be added before the parameter name, such as string design. This will enable the code to compile and run without any errors.Reference:

Oracle Certified Professional: Java SE 17 Developer

Java SE 17 Developer

OCP Oracle Certified Professional Java SE 17 Developer Study Guide

Java Methods

Given the code fragment:

Which two statements at Line nl independently enable you to print 1250?

Correct Answer: A, E
Get Full Access

50 questions covering all exam domains, starting from $20

Study Guide

What the Oracle 1Z0-829 Exam Covers

Exam domains verified against: Official Oracle 1Z0-829 exam guide, last checked September 2026.

Domain 1: Handling date, time, text, numeric and boolean values

Use primitives and wrapper classes including Math API, parentheses, type promotion, and casting to evaluate arithmetic and boolean expressions. Manipulate text including text blocks using String and StringBuilder classes, and manipulate date, time, duration, period, instant and time-zone objects using Date-Time API.

Sample question from this domain above: Q3

Domain 2: Controlling Program Flow

Create program flow control constructs including if/else, switch statements and expressions, loops, and break and continue statements.

Sample question from this domain above: Q1

Domain 3: Utilizing Java Object-Oriented Approach

Declare and instantiate Java objects including nested class objects and explain the object life-cycle. Create classes and records with instance and static fields, methods, constructors, and initializers. Implement inheritance, polymorphism, abstract and sealed classes, and use interfaces with private static and default methods.

Sample question from this domain above: Q4

Domain 4: Handling Exceptions

Handle exceptions using try/catch/finally, try-with-resources, and multi-catch blocks including custom exceptions.

Sample questions from this domain above: Q2Q5

Domain 5: Working with Arrays and Collections

Create Java arrays, List, Set, Map, and Deque collections and add, remove, update, retrieve and sort their elements.

Domain 6: Working with Streams and Lambda expressions

Use Java object and primitive streams including lambda expressions implementing functional interfaces to supply, filter, map, consume, and sort data. Perform decomposition, concatenation, reduction, grouping and partitioning on sequential and parallel streams.

Domain 7: Packaging and deploying Java code and use the Java Platform Module System

Define modules and their dependencies exposing module content including for reflection. Define services, producers, and consumers. Compile Java code and produce modular and non-modular jars, runtime images, and implement migration using unnamed and automatic modules.

Domain 8: Managing concurrent code execution

Create worker threads using Runnable and Callable and manage thread lifecycle including automations provided by different Executor services and concurrent API. Develop thread-safe code using different locking mechanisms and concurrent API. Process Java collections concurrently including parallel streams.

Domain 9: Using Java I/O API

Read and write console and file data using I/O Streams. Serialize and de-serialize Java objects. Create, traverse, read, and write Path objects and their properties using java.nio.file API.

Domain 10: Accessing databases using JDBC

Create connections, create and execute basic, prepared and callable statements, process query results and control transactions using JDBC API.

Domain 11: Implementing Localization

Implement localization using locales, resource bundles, parse and format messages, dates, times, and numbers including currency and percentage values.

FAQ

1Z0-829 Exam FAQ

Common questions about the exam itself

What programming experience do I need before taking the 1Z0-829 exam?
You need solid experience with Java fundamentals and object-oriented programming. This exam builds on core Java knowledge and covers advanced topics like modules, streams, and concurrency, so prior hands-on experience with Java development is essential.
How long does it typically take to prepare for the 1Z0-829 Java SE 17 Developer exam?
Most candidates need between 100 and 150 hours of focused study and hands-on coding practice. The exact timeframe depends on your existing Java experience and how much of the module system, streams, and concurrent programming you already know.
Which topics are candidates struggling with most on the 1Z0-829 exam?
The Java Platform Module System and parallel streams with collectors are the areas where most candidates stumble. Many developers have less practical experience with modules and stream decomposition than with core Java syntax, so these deserve extra preparation time.
Can I take the 1Z0-829 exam online from home or do I need to go to a test centre?
Oracle exams are delivered through Pearson VUE, which offers both online proctored testing and testing at physical centres. You can choose the option that works best for you.
How long does the 1Z0-829 exam take and how many questions are on it?
The exam is delivered through Pearson VUE. For specific details about duration and question count, check the official Oracle exam page as these details are published there.
What is the passing score for the 1Z0-829 exam?
Oracle publishes the passing score on the official exam page. You need to achieve a specific percentage on the exam to earn your certification, but the exact threshold is set by Oracle.
How long is the Oracle Java SE 17 Developer certification valid once I pass the exam?
Oracle publishes the validity period on the official exam page. Check the certification details to understand how long your certification lasts before renewal is needed.
What Java SE version should I use when preparing for the 1Z0-829?
You must use Java SE 17 or later for your preparation. The exam covers Java 17 specific features including records, sealed classes, text blocks, and the module system as they exist in Java 17.
Is 1Z0-829 the same exam as the Java SE 11 Developer exam or are they different?
They are different exams with different objectives. The 1Z0-829 focuses on Java 17 features and updates, while earlier versions covered Java 11. If you already hold an older Java certification, you can pursue 1Z0-829 as an upgrade.
What job role does the Oracle Java SE 17 Developer certification prepare me for?
This certification validates your skills as a professional Java developer. It demonstrates competence with modern Java development including building applications with modules, streams, and concurrent code, preparing you for mid-level to senior developer roles.