InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 685–696 of 3610 questions

Backend & API EngineeringAdvanced1 min read

How do you validate business invariants?

Business invariants belong in domain/application logic, not only request DTOs, because they must hold regardless of whether data came from HTTP, a queue, or a scheduled job.