Yesterday, I passed my exam 1Z0-829 JAVA SE 17. TBH, Wasn't easy to prepare but thanks to Daily Debian study material that helped to prepare for my exam efficiently.

Three of the 130 questions in this pack
Which statement is true?
- A. IllegalStateException is thrown if a thread in waiting state is moved back to runnable.
- B. A thread in waiting state consumes CPU cycles.
- C. After the timed wait expires, the waited thread moves to the terminated state.
- D. A thread in waiting state must handle InterruptedException.
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.
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?
- A. int sum = listOfNumbers.stream().reduce(0, Integer::sum) + 5;
- B. int sum = listOfNumbers.parallelStream().reduce(0, Integer::sum) + 5 ;
- C. int sum = listOfNumbers.parallelStream().reduce((m, n) -> m + n).orElse(5) + 5;
- D. int sum = listOfNumbers.parallelStream().reduce(5, Integer::sum);
- E. int sum = listOfNumbers.stream().reduce(5, (a, b) -> a+ b);
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.
Which statement is true about modules?
- A. Only unnamed modules are on the module path.
- B. Automatic and named modules are on the module path.
- C. Only automatic modules are on the module path.
- D. Only named modules are on the module path.
- E. Automatic and unnamed modules are on the module path.
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.
A free tool for this exam
Try Oracle 1Z0-829 free first
130 questions in the full pack- Free questions 11 real questions free on the site, every answer explained. Want them offline? The first 65 as one PDF, free by email. Free questionsDownload as PDF
- Full pack, $39.00 USD paid once All 130 questions, every answer explained, plus a questions-only PDF. Updates for life.Get the full pack
1Z0-829 exam questions with answers: all 130 for the Oracle Java SE 17 Developer.
Not sure yet? Take the free Oracle 1Z0-829 practice test first.
This pack is the complete set, covering every domain of the blueprint. Try the free questions below first.
- 130 exam practice questions: mapped to the 1Z0-829 exam objectives
- Complete answers and explanations, including why every wrong option is wrong
- Questions-only PDF: for timed practice
- Instant delivery: sent to your email immediately after purchase
- Free monthly updates for life
The 1Z0-829 exam is booked with an Oracle Technology Exam Subscription, which costs US$245 for one exam attempt. You pay for this PDF once, with a refund if you fail anyway.
1Z0-829 exam questions: the short answers
Is the 1Z0-829 being retired?
Yes. Oracle retires the 1Z0-829 on 28 February 2027. You can sit it until then, and this pack is for the 1Z0-829. An exam attempt gives you six months to take the exam, so book a date before it retires.
How many questions are on the 1Z0-829 exam?
50 multiple-choice questions in 90 minutes.
What score do I need to pass?
68%. Oracle sets the passing score for each exam version, and your result shows on screen when you finish.
If I fail, when can I sit it again?
Oracle lets you book a retake of a failed exam, but its retake policy does not state a waiting period. Each sitting needs a new exam attempt, US$245 through the Technology Exam Subscription, and you cannot retake an exam you have passed.
Can I take it online?
Yes. You book the 1Z0-829 on Oracle MyLearn and Oracle University proctors it online. You need a webcam and microphone, an English QWERTY keyboard and government-issued ID, and you check in at least 30 minutes before the start.
Do I need experience first?
Oracle lists no prerequisite or required experience for the 1Z0-829. Passing this one exam earns the Oracle Certified Professional: Java SE 17 Developer.
What makes this exam hard
The Java 17 OCP is a code-reading exam. Fifty questions, most of them asking what a snippet prints, engineered 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, operator promotion, string immutability and exactly when finally doesn't run. IDE-assisted developers fail it because the exam removes the IDE and keeps the ambiguity.
Java 17 is the LTS version employers name.
Before you buy
Free questions
11 real Oracle 1Z0-829 questions are free on the site, each with the answer explained. Want them offline? Download the first 65 as one PDF, free by email.
What you get for $39.00 USD
- All 130 questions, each with the correct answer and why the other options are wrong
- 2 PDFs: the full pack, plus a questions-only copy for timed practice
- Emailed the moment you pay
- Updated once a month, with free updates for life, emailed to the address you used at checkout
- Paid once
How a question works
Which of the following services runs on port 636?
- ASMTP
- BSyslog
- CTFTP
- DLDAPS
Why D is right LDAPS (LDAP Secure) runs on port 636 and provides encrypted LDAP connections over SSL/TLS.
What do I get?
Every pack comes as 2 PDFs: one with every answer explained, and a questions-only copy for timed practice. Products are delivered instantly as digital downloads, and every pack includes free updates for life.
How often are the questions updated?
Question sets are updated once a month. The date of the latest update is shown on every exam page.
Will I receive updates after purchasing?
Yes. All PDF purchases include lifetime updates. Updated versions are emailed automatically to the email address used during checkout.
What if an answer looks wrong?
We correct mistakes as we find them, and the monthly update sends those fixes to you. No question bank this size is ever completely flawless, so if something still looks off to you, check it against the vendor's own documentation and send it to support@dailydebian.com. We reply to every message, and the fix ships in the next update, free, for life.
Are your materials enough to pass the exam?
Most candidates use them as their main practice source. If you study with them and still fail, we refund you in full.
What happens if I fail my exam?
You get your money back. Email support@dailydebian.com within 14 days of receiving your results, with your order number and a copy of your official score report showing the fail. Requests are reviewed within 5 to 7 business days and approved refunds go back to the original payment method. Full terms are in the refund policy.
Do you have discount codes?
Yes, when you buy more than one exam pack. For 2 packs, use code BUY2 for 15% off. For 3 or more packs, use code BUY3 for 20% off. Enter the code in the discount box at checkout.
What payment methods do you accept?
Visa, Mastercard, American Express, UnionPay, Apple Pay, Google Pay, Shop Pay and PayPal. All prices are shown in your local currency at checkout.
Do you offer shipping?
No. All products are digital downloads. There is no physical shipping.
I did not receive my order after payment.
Contact support@dailydebian.com with your order number and payment confirmation details.
Read next: Oracle Certification Path: Which 1Z0 Exam Do You Need?