In technology, there is rarely one single, "correct" way to solve a problem. For any given challenge, there are multiple paths forward, each with its own unique set of benefits and drawbacks.
The ability to navigate these choices—to analyze multiple options, evaluate their trade-offs, and make a well-reasoned decision—is a hallmark of a senior contributor and technical leader. It's the difference between simply executing a task and architecting a solution.
Your answer to this question demonstrates your technical depth, your business acumen, and the rigor of your decision-making process.
The interviewer wants to see how you think. They are not just interested in the final decision, but in the process you used to get there. They are looking for:
A powerful story about technical decision-making follows a clear, three-part analytical framework. You can embed this directly into the "Action" part of your STAR story.
Clearly lay out the 2-3 distinct solutions you considered. This shows that you didn't just jump to the first idea that came to mind.
This is the most important step. Explain the key criteria you used to evaluate the options. This reveals your strategic thinking. Great criteria often include:
Describe how you evaluated the options against your criteria and made your final recommendation. Explain the key trade-off you were willing to make.
Describe the business or technical problem you needed to solve.
State your goal. It wasn't just to build the feature, but to choose the right long-term technical approach.
This is where you walk through your "Options, Criteria, Decision" framework.
Describe the positive outcome of your well-reasoned decision.
"We needed to build a search feature. I looked at a few options like Postgres and Elasticsearch. Elasticsearch seemed better, so we went with that. It worked out well."
(This lacks any detail about the decision-making process.)
(S) "We needed to add a real-time notification system to our application to alert users about important events. The existing system relied on inefficient polling, and we needed a more scalable solution.
(T) My task was to choose the right technology to build this new real-time infrastructure.
(A) I seriously considered two main options: using a managed service like Pusher or Ably, or building our own solution on top of WebSockets using a library like Socket.IO.
To make the right choice, I defined our criteria: 1) Scalability to handle 100,000 concurrent users, 2) Time to market, and 3) Long-term cost and engineering overhead.
I then did a time-boxed, one-day proof-of-concept for each. The managed service was incredibly fast to set up—I had a working prototype in two hours. However, the pricing model showed that it would become very expensive at our target scale. The self-hosted WebSocket solution took longer to set up, but the infrastructure costs were much lower, though it would require more ongoing maintenance from our team.
My final decision and recommendation was to go with the managed service. I presented to my manager that the key trade-off was cost versus speed. I argued that getting the feature to market three weeks faster was a huge competitive advantage for us, and the higher cost of the managed service was worth it for the first year. We could always migrate to a self-hosted solution later if the cost became prohibitive.
(R) My manager agreed with the analysis. We went with the managed service and were able to launch the entire real-time notification feature in under two weeks, which was a huge win for our Product team. It allowed us to quickly validate the feature's value with users before investing heavily in custom infrastructure."