1Z0-829 • Timed Hard Questions
This is a timed practice session. You have 15 minutes to answer 25 questions — approximately 1 minute per question, matching real 1Z0-829 exam pace. Answer every question before time expires.
Time remaining
15: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.
A financial application uses Java SE 17 with a custom date format. The requirement is to parse strings like "2023-12-31T23:59:59.999Z" into an Instant. The existing code uses SimpleDateFormat with pattern "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" and then calls parse(). It works fine in single-threaded testing, but in production under load, intermittent parsing failures occur with DateTimeParseException or wrong values. The application is multi-threaded and reuses the same formatter instance. Which single change should be made to fix the issue while maintaining performance?