Skip to content

D3-04 — Design patterns

Domain: D3
Domain weight: 14٫0%
Section: AI Software Engineering

  • Factory
  • Singleton
  • Pipeline Pattern

Be able to explain the concept, distinguish it from neighboring concepts, apply it to a scenario, and identify at least one important trade-off or failure mode.

This directly maps the Pipeline Pattern in an ML context. Factory and Singleton remain general software-engineering patterns within the study-guide scope.

Create one concrete example for Design patterns and explain:

  • the problem/context,
  • the expected output or decision,
  • a common implementation mistake,
  • how you would validate the result.
  1. What problem does this topic address?
  2. When is it inappropriate?
  3. What evidence would show it is working?
  4. How could it appear in a scenario question?

Continue to the D3 lab for integrated practice.