Back to Oracle Certified Professional Java SE 17 Developer 1Z0-829 questions

Scenario-based practice

Select Two (Multi-Select) Questions

Practise Oracle Certified Professional Java SE 17 Developer 1Z0-829 practice questions — original exam-style scenarios covering every exam domain, with detailed explanations, wrong-answer analysis, and common exam traps.

20
scenario questions
1Z0-829
exam code
Oracle
vendor

Scenario guide

How to approach select two (multi-select) questions

Multi-select questions tell you to 'Choose TWO' or 'Choose THREE'. Getting partial credit is not a thing — you must select all correct answers with no incorrect ones. The stem always states how many to choose, so trust it. These questions require precision, not best-guess elimination.

Quick answer

Select Two (Multi-Select) Questions questions test whether you can apply the concept in context, not just recognise a definition.

How the topic appears in realistic exam-style scenarios.

Which detail in the question changes the correct answer.

How to eliminate plausible but wrong options.

How to connect the question back to the wider exam objective.

Related practice questions

Related 1Z0-829 topic practice pages

Scenario questions usually connect to one or more exam topics. Use these links to review the underlying concepts behind the scenario.

Practice set

Practice scenarios

Question 1mediummulti select
Full question →

Which TWO statements about the switch statement in Java are correct?

Question 2hardmulti select
Full question →

Which THREE statements are true about the java.util.Collection and java.util.stream.Stream APIs? (Choose three.)

Question 3mediummulti select
Full question →

Which TWO of the following are checked exceptions in Java?

Question 4easymulti select
Full question →

Which TWO statements are true about the Java Platform Module System (JPMS) introduced in Java 9?

Question 5hardmulti select
Full question →

Which THREE are valid ways to package a Java 17 application for distribution? (Choose three.)

Question 6mediummulti select
Full question →

Which THREE are benefits of using the NIO.2 API over the java.io API?

Question 7mediummulti select
Full question →

Which TWO statements about java.io and java.nio.file packages are true?

Question 8hardmulti select
Full question →

Which TWO are correct about parallel streams in Java? (Choose TWO.)

Question 9mediummulti select
Full question →

Which THREE statements are true about the Boolean class? (Choose three.)

Question 10hardmulti select
Full question →

Which THREE statements are true about loops in Java?

Question 11hardmulti select
Full question →

Which TWO statements about the try-with-resources statement are correct? (Choose two.)

Question 12hardmulti select
Full question →

Which TWO are true about the PriorityQueue class?

Question 13hardmulti select
Full question →

Which THREE statements about lambda expressions are true? (Choose three.) A. A lambda expression can be assigned to a functional interface variable. B. A lambda expression can access final or effectively final local variables. C. A lambda expression can throw any checked exception. D. A lambda expression can be used to create an instance of an abstract class. E. A lambda expression can be used to implement multiple abstract methods.

Question 14mediummulti select
Full question →

Which TWO are valid lambda expressions? (Choose two.) A. (int a, int b) -> a + b B. a, b -> a + b C. (a, b) -> a + b D. (a, b) -> { a + b; } E. (int a, b) -> a + b

Question 15hardmulti select
Full question →

Which TWO statements about the Stream API are correct? (Choose two.) A. A stream can be traversed multiple times. B. The peek() method is an intermediate operation. C. The findFirst() method returns an Optional. D. The collect() method is an intermediate operation. E. The map() method returns a stream of the same type.

Question 16mediummulti select
Full question →

Which TWO statements are true about securing a Java application?

Question 17hardmulti select
Full question →

Which THREE are valid ways to read the contents of a text file into a String in Java?

Question 18hardmulti select
Full question →

Which TWO statements about Java serialization are true?

Question 19hardmulti select
Full question →

Which TWO statements are true about the sealed class feature in Java 17?

Question 20easymulti select
Full question →

Which TWO statements about the switch statement in Java are true?

These 1Z0-829 practice questions are part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style 1Z0-829 questions with detailed explanations, topic-based practice, mock exams, readiness tracking, and study analytics.