We had an open position for a ML engineer in our team. Among other questions that arised during the interviews depending on the candidate, I thought of some questions to give to everyone for testing their knowledge and seeing how they think.

Here I’ll share them. I am not worried of spoilering the solutions, actually there is not right answer, because I doubt a candidate would land on this blog while preparing the interview for a future similar role. In the unlikely case it happened, they would have the merit of having researched so that is still a good thing.

First thing to do with a dataset

A colleague of another department enters in our office and gives you a CSV containing a dataset with 100k records. What is the first thing you do?

Normal Answer: I open it and start to check if there are empty or anomalous values. Then I start to make some exploratory analysis and plots to see how the variables behave.

Good Answer: I ask them what they need.

I would say that 80% of the people say something along the lines of the normal answer. It’s already good that they don’t say train-a-neural-network and for sure I appreciate they want to take a look at the data before importing keras or scikit-learn. But it’s even better if they realize that the most important thing is to understand the business case and/or the pain point of the colleague.

Synthetic data

What is your opinion on synthetic data for model training?

Here there is not a wrong or right answer for sure. And what you think is biased by your experience with “fake data”. My personal opinion up to not too long ago it was that they were only good for making toy models, prepare interfaces for the model caller and build a first prototype of the application. Now I have mixed feelings due to NVIDIA Omniverse and generative AI.

Anyway, back to the question if you reply that they are useful not just for toy model because the data is realistic my next question is “Why if you have a system that can generates data in such a realistic way you need to train a ML model?”

Explain in simple words a ML model

Explain with simple words what logistic regression/linear regression/regression tree is

That’s actually a good pre-screening question that the recruiter can ask on the phone. If you on your resumee you list CNN and LLMs but can’t say a word about one of this algorithm that is a red flag. On the other hand, if you start talking about weights and math that needs a STEM degree to be understood you are still off track because you need to communicate information to non-tech audience.

The person that we ended up hiring gave good answers to the last questions, and took sometime (and prompting on my side) to provide the answer that I expected to the first question so that this is a little inside joke now.