
Oracle 1Z0-829 Exam Practice Questions
US$39
Every question with the correct answer and why the other options are wrong.
Card, Apple Pay, Google Pay or PayPal. Download links are on your order page and in your email the moment you pay.
I've been scammed by other websites before but Cert Stash has proven to be trustworthy. I got updated dumps and passed the 1Z0-829 test on my first try. Huge thanks..!
Three of the 130 questions in this pack
Question 1
Which statement is true?
Show answer and explanation
Correct answer: D. A thread in waiting state must handle InterruptedException.
The methods that put a thread into the waiting or timed waiting state, such as Object.wait, Thread.join and Thread.sleep, all declare the checked exception InterruptedException. Another thread can call interrupt on the waiting thread at any time, which ends the wait early and makes the method throw InterruptedException. Because the exception is checked, code that calls these methods must either catch it or declare it with throws, so a thread that waits must be prepared to handle InterruptedException.
Why the other options are wrong
- A. No IllegalStateException is involved: a waiting thread returns to the runnable state normally when it is notified, interrupted or its timeout expires.
- B. A waiting thread is parked by the JVM and is not scheduled, so it does not consume CPU cycles while it waits.
- C. When a timed wait expires, the thread becomes runnable again (after reacquiring the monitor, if it called wait); it terminates only when its run method completes.
Question 2
Given the code fragment: List<Integer> listOfNumbers = List.of(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); Which code fragment returns different values?
Show answer and explanation
Correct answer: D. int sum = listOfNumbers.parallelStream().reduce(5, Integer::sum);
The identity passed to reduce must be a true identity for the accumulator, meaning that combining it with any value leaves that value unchanged; for Integer::sum that is 0. Every fragment except parallelStream().reduce(5, Integer::sum) sums the list to 55 and adds 5 exactly once, giving 60. In that parallel reduce, the list is split into chunks and every chunk starts its partial sum from the identity 5, so 5 is added once per chunk. The result is 55 plus 5 times the number of chunks (105 when the list splits into ten chunks), not 60.
Why the other options are wrong
- A. The sequential reduce with identity 0 returns 55, and the + 5 outside the reduce makes 60.
- B. 0 is a true identity for addition, so the parallel reduce returns 55 however the list is split, and adding 5 gives 60.
- C. The reduce without an identity returns an Optional holding 55, so orElse(5) is not used and the result is 55 + 5 = 60.
- E. A sequential stream starts from the identity only once, so 5 is added a single time and the result is 60.
Question 3
Which statement is true about modules?
Show answer and explanation
Correct answer: B. Automatic and named modules are on the module path.
The module path holds two kinds of modules. A named module is a JAR or directory with a module-info.class descriptor. An automatic module is an ordinary JAR without a descriptor that is placed on the module path; the JVM gives it a name from the Automatic-Module-Name manifest entry or the JAR file name, and it exports all its packages. Code loaded from the classpath belongs to the unnamed module instead, so the module path contains named and automatic modules.
Why the other options are wrong
- A. The unnamed module is made up of classpath content, not module path content.
- C. Named modules with a module-info descriptor are also placed on the module path.
- D. A plain JAR placed on the module path becomes an automatic module, so named modules are not the only kind there.
- E. The unnamed module comes from the classpath; the module path holds named and automatic modules.
6 reviews for Oracle 1Z0-829 Exam Practice Questions
Only logged in customers who have purchased this product may leave a review.
How much of the Oracle 1Z0-829 bank is free?
130 questions in the bankEach step includes the one before, so buying only adds new questions.
- You are here10questionsFree sampleThree on this page, all ten as a PDF.Download the sample
- 118% of the bankPractice pageFree on the site, every answer explained.Go to the practice page
- 3628% of the bankHalf PackFree by email, as one PDF, every answer explained.Get the Half Pack
- 130100%, the whole bankFull pack, US$39Plus the questions-only PDF, monthly updates, refund if you fail.Get the full pack
What’s in the Oracle 1Z0-829 pack
- 130 questions mapped to the 1Z0-829 exam objectives
- Answers and explanations for every question, including the wrong options
- A questions-only PDF for timed practice runs
- Instant delivery by email the moment you check out
- Free monthly updates for as long as the exam is live
- Pass or your money back
A failed 1Z0-829 attempt means paying the exam fee again. This pack is US$39, paid once.
What makes the 1Z0-829 hard
The Java 17 OCP is a code-reading exam. Fifty questions, and most of them are "what does this print", with snippets built around the exact behaviours working developers gloss over.
The traps are precise language rules: sealed classes and records, switch expressions and pattern matching, streams and collectors edge cases, generics bounds, module declarations, and the classic minefields of operator promotion, string immutability, and exactly when finally does not run. IDE-assisted developers fail it because the exam removes the IDE and keeps the ambiguity.
Java certification remains one of the most searched developer credentials, and 17 is the LTS version employers name.
About the exam
1Z0-829 certifies Java SE 17 development and awards the Oracle Certified Professional: Java SE 17 Developer credential, covering language fundamentals through advanced features including records, sealed classes, streams, concurrency and modules. Does not expire. Oracle retires this exam on 28 February 2027.
Questions before you buy
How quickly do I receive it?
Straight away. The full PDF and a questions-only copy are emailed to you the moment your payment goes through, and the same links are on your order page.
Are updates included?
Yes. The pack is updated every month for as long as the exam is live, and updates are free for everyone who has bought it.
What if I fail the exam?
We refund the pack, or swap it for any other pack if you would rather keep studying. Sit the exam 7 to 30 days after buying, then send your official score report within 7 days of the exam date, as set out in the refund policy.
What is your pass rate?
99% of customers who prepare with a CertStash pack pass. If you do not, we refund the pack, or swap it for another pack.
Can I share it with colleagues?
Each purchase is licensed to one person. For a team, school or training organisation, email support@certstash.com for a licence that fits.





Bobby M –
I've been scammed by other websites before but Cert Stash has proven to be trustworthy. I got updated dumps and passed the 1Z0-829 test on my first try. Huge thanks..!
Michael Osborne –
Yesterday, I passed my exam 1Z0-829 JAVA SE 17. TBH, Wasn't easy to prepare but thanks to Cert Stash study material that helped to prepare for my exam efficiently.
Nadia Robin –
Got the job done for 1Z0-829.
Clara Becker –
Useful resource
MATEO KOWALCZYK –
Use this to pass
Stan Bergeron –
Passed my 1Z0-829