Your approach is pretty much standard practice in the engineering world. People in this industry like to claim that answers to those kind of questions can be faked, but you can't fake depth. At some point, if you know what you are doing[1], you will make them look like an idiot if they have been lying.
[1] If you don't know what you are doing, you have no business giving an interview. That's another big problem this industry has.
[1] If you don't know what you are doing, you have no business giving an interview. That's another big problem this industry has.