Business Logic Placement Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Design Technical Architecture

What you'll be asked

  1. Which layer is typically responsible for enforcing core domain rules and calculations in a standard N-tier architecture?
  2. When deciding whether to place logic in the database (via stored procedures) versus the application tier, which scenario best favors the application tier?
  3. Why is it generally discouraged to place complex business logic directly in the Presentation (UI) layer?
  4. In a distributed microservices architecture, which approach is recommended for handling business logic that involves multiple services?
  5. You are designing a system where data integrity is paramount. You have a choice between enforcing a complex business rule via application code or via database constraints (triggers/check constraints). Which is the most robust strategy?

Answers and explanations come after you submit.