← All practice quizzes
Quiz: Validation and Errors
5 questionsNo time limitPass: 60%+10 XP on first pass
Reject bad input with Bean Validation (@NotBlank, @Min, @Size and @Valid), turn exceptions into clean JSON errors with @RestControllerAdvice, and use RFC 9457 ProblemDetail for 400, 404 and 409 responses.
Log in to take the quiz
Free account · see your score, answers and explanations, earn XP