This question reveals how you think about your work: whether you focus on activity or outcomes, and whether your idea of success fits the team's. A good answer is specific and balanced.
Lead with results that matter to the business or the people you serve: a goal hit, a problem solved, a customer who renewed. Activity (hours worked, emails sent) is a weak measure on its own.
Strong answers also include the quality of the process: did the team stay healthy, was the work maintainable, did people want to work with you again?
Use the language of the job. A sales candidate might talk about pipeline and win rate; an engineer about reliability and shipped features; a teacher about student progress.
"I measure success in two ways. First, did we reach the goal we agreed on, ideally with a number attached, like cutting page load time below two seconds. Second, did we get there in a way the team could repeat, without burning out or leaving a mess for the next person. On my last project we hit both, and the same process became our template."
If you've had a project that hit the metric but felt like a failure in another way, saying so briefly shows maturity.
To rehearse answers like this with feedback, you can try Linkjob, an AI interview copilot I help build.
Disclosure: I'm part of the Linkjob AI team.