What interviewers are testing
This question is a preparation check. Interviewers have a strong prior that most candidates apply broadly and are not particularly interested in this specific company. A generic answer confirms that prior. A specific answer signals genuine interest and that you are likely to show up motivated.
There is also a cultural fit dimension. How you describe your attraction to the company reveals your values and priorities. If your stated reasons do not resonate with what the company actually values, that is information for both sides of the table.
How to research before you answer
Read the company website but do not stop there. Read recent press coverage. Listen to founder or leadership interviews. Read employee reviews on Glassdoor with a critical eye. If the company is public, read their most recent earnings call transcript. Check their engineering or product blog if they have one. Look at the LinkedIn profiles of people who have recently joined to understand team structure.
The goal is to find two or three specific things that are both genuinely interesting to you and not obvious to anyone who spent five minutes on the homepage. The more specific your answer, the more credible it sounds.
How to structure your answer
Cover three things: why this company (mission, product, market position, or culture), why this role (specific responsibilities and how they fit your skills), and why now (what makes this the right next step for you). Keep the whole answer to 60 to 90 seconds.
Example: "I have followed your company for about two years since I read the case study on how you rebuilt your data infrastructure. The technical depth your engineering team demonstrated and willingness to share knowledge publicly is something I genuinely admire. The data engineering role maps well to the systems work I have been doing, and the scale of your data problem is a step up from my current environment, which is exactly what I am looking for."
Mistakes that weaken your answer
Generic flattery. "You are a leader in the industry" says nothing specific and signals you have not done research. These openers hurt more than a straightforward answer. Focusing only on what you get out of it. An answer entirely about learning opportunities and career development sounds transactional. Balance what attracts you to the company with what you believe you can contribute.
What if you are not that excited?
Find something genuine, even if modest. "I respect the scale of the engineering problems here and think working on them would make me a significantly better engineer" is honest and credible. You do not need to claim it is your dream company. You need to give a reason to believe you will show up motivated.
If you genuinely cannot find anything specific to say that is not generic, that is often a signal worth paying attention to about your own enthusiasm for the role before you accept it.