This is a timed practice session. You have 10 minutes to answer 9 questions — approximately 1 minute per question, matching real 1Z0-829 exam pace. Answer every question before time expires.
9
Questions
10 min
Time limit
Free
No signup
Time remaining
10:00
Exam-pace drill
Allow 1 minute per question. On the real 1Z0-829 exam you have approximately 72 seconds per question — this session trains you to maintain that pace under pressure.
Question 1 of 90 answered
medium
A developer is designing a method that processes a stream of Employee objects. The method needs to group employees by department and then, within each department, sort by salary in descending order, and collect the top 3 highest-paid employees per department into a list. Which approach correctly accomplishes this using streams?