Facebook is a dream company for many data scientists. However, many are caught off guard by the unique business-focused interview process and role for data scientists at Facebook.
Today, we’ll show you what to expect and help you practice the data science interview questions you’ll need to ace your Facebook data science interview.
Here’s what we’ll cover today:
Practice dozens of hands-on practice problems and brush up on your fundamentals all in one place.
Data scientist is a senior role at Facebook that focuses heavily on business problems rather than engineering. Your focus will be product and market analysis to help Facebook make data-driven business decisions. This makes Facebook’s data science jobs a unique hybrid of product data analysts and data scientists.
Your day to day responsibilities will include:
These unique challenges will expose you to varied practical applications of data useful for quickly advancing your resume and career. The role also comes with one of the highest starting salaries for a non-executive position at Facebook, ranging anywhere from $120k-$190k according to Glassdoor.
Facebook is looking for candidates with a mixed background in both computer science and business analytics.
The Facebook data scientist interview has 3 parts: the initial phone screening, the technical screening, and onsite interviews.
Throughout the various stages, Facebook interviewers will be testing how you think when approaching problems. Projecting your strong problem-solving skills and showing your consideration for possible obstacles is essential.
Interviewers will be listening for how your solutions and processes are optimized for scalability. Facebook collects a lot of data compared to many other tech companies, so they’re especially interested in your ability to work with big data and vast structured databases.
Finally, interviewers will want to see you approach problems from a product perspective, rather than just engineering. This means focusing on the practical application of suggestions, “what metrics can we use to gauge user involvement”, rather than the technical aspects like “how can we more efficiently store data”.
These technical aspects are still important to mention but your priority should always match the business/product focus of the role.
Set up on LinkedIn or by email, the initial screening is a 30-minute phone interview with a recruiter to discuss Facebook, your desired position/team, and clarify that you’re interested in the unique business-focused data science role that Facebook offers.
This is where you can hear more about the role and decide if it’s a good fit for you.
This is another virtual screening that tests your product sense and technical skills with SQL.
The product sense portion is a video interview with a current data scientist at Facebook designed to assess your ability to approach and breakdown a problem.
Finding the correct solution is not as important as effectively breaking down the problem, considering all the influencing factors, and presenting a course of action (not just data findings).
When preparing for this portion, practice:
Here are some questions you can expect to encounter:
In this section, you’ll be given a data set and two questions to solve in code over 20 minutes (10 minutes per question).
You must solve both questions in SQL or Pandas code using a code editor called Coderpad. However, SQL is preferred as it is the standard for Facebook’s data science tools.
You’ll not be able to execute your code, so practice SQL syntax to ensure minimal syntax errors.
Along with coding each solution, you’ll have to explain the application and shortcomings of each solution. Facebook, more than other heavy data science companies like Amazon, is looking for data scientists with excellent communication skills.
For example, you may receive two tables with information about a certain Facebook Group’s activity: a usage log that contains data on each person’s time spent on the page for the last year and another table that includes the name, date of birth, occupation, and hometown of each member.
You’d then be asked to create SQL programs to find:
Prepare for your interview right with dozens of hands-on practice problems and a comprehensive data science project. Educative’s text-based courses are made by current data scientists to let you know exactly what to expect on interview day.
The final stage of the interview is a 2.5 hour series of interviews at either the Menlo Park, Seattle, or the New York Facebook campus. There are 4 different 30-minute interviews that each cover a different case study. There’s also a 30-40 minute lunch break to discuss the role with a current data scientist.
You have the entire 30-minute interview to answer each question:
The SQL technical question will be similar in format to the technical screening questions; you’ll receive a data set and be asked to solve problems using SQL. However, this SQL question tends to be more difficult and has a longer solution than those in the technical screening.
The product interpretation question asks you to measure product performance with details like target KPIs and how to implement a/b testing. You might be asked just to walk through this or you may have to create a high-level plan of the implementation.
An example problem for this would be:
“How would you measure the performance of X new feature?”
The quantitative analysis question is a basic statistics problem that tests if you understand the basics of statistical data analysis. Many candidates find this to be the easiest part of the interview as it is simply a baseline that you’ve not forgotten the fundamentals.
Example questions for this are things like:
- What is Bayes’ theorem and when would you use it?
- What is hypothesis testing?
- What is p-value and how do you interpret it in context?
- List assumptions about data in the context of linear regression.
- How would you explain the application of probability to your product manager?
The applied data question asks you to consider a solution at a high-level. You’ll outline your process, list any assumptions you have, describe possible shortcomings and how you’ve prepared for them, and explain how you reached your conclusions. The interviewer will ask follow-up questions during the process to see how deeply you’re thinking about this solution.
Questions for this section are intentionally broad, such as:
- Do people interact more or less on Facebook with their siblings?
- How would you measure interaction?
- How would you determine if people are siblings?
- How could Facebook use this information?
- How does activity vary depending on the season? What region/s are you looking at? How would you weight activity, is a comment worth more than a like?
- What factors would you use to distinguish users?
- How could Facebook use this information?
Between two of these interviews, you’ll get a casual 30-40 minute interview with a current data scientist to ask them about their day-to-day responsibilities, challenges, and anything else you’re curious about.
This is essentially a behavioral interview to see if you’ve got the right mindset and excitement to fit the company. Ask them insightful questions that show you’re thinking about the job, and turn your charm up to 11!
Some good questions to ask are:
- What was the most difficult project of your career and how did you solve it?
- What are the unique benefits of being a Facebook data scientist?
- What tips do you wish you had when you started working at Facebook?
- What is your favorite Facebook feature to work on and why do you like it?
As you approach your interview, remember:
The best way you can prepare for this interview is with hands-on practice.
To let you brush up on your fundamentals and data science skills right, Educative has created the course Grokking Data Science. This course includes over 10 hours of learning material from statistics fundamentals, to advanced machine learning. In the end, you’ll cement your learning with experience by completing a real-world machine learning project.
With this course, you’ll be able to walk into your Facebook interview with confidence!
Join a community of more than 1.4 million readers. A free, bi-monthly email with a roundup of Educative's top articles and coding tips.