0 day streak
Anonymous · shared experience1 Oct 2025 · 4 views

EPAM Systems: Python decorators, exceptions and multiple inheritance

Interview question #EPAM Systems Other

What was asked. A rapid set of Python and backend questions, several with short code to reason about.

  • What a decorator is, and what prints when two decorators are stacked on one function.
  • Why except blocks go from specific to general, shown with ValueError, ZeroDivisionError and a catch-all.
  • What happens when you raise a new exception from inside an except block using raise ... from.
  • With two parent classes defining the same method, which one the child calls (method resolution order).
  • What context managers are and how app and request context work in a Flask app.
  • How dependency injection works in a Flask app with an ORM.
  • Monolith vs microservices, how to deploy microservices, how they talk to each other, and when to use events.

What mattered. Predicting output for the decorator and inheritance snippets, not just defining terms.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.