Meta Data Manipulation (SQL/Python) Interview Questions
Meta Data Manipulation (SQL/Python) interview questions are a central part of Meta’s hiring for data scientist, data engineer, and analytics roles and usually emphasize practical, product-focused problem solving over abstract algorithm puzzles. What’s distinctive is the scale and product context: interview problems mirror real-world analytics tasks with messy data, session/event tables, and metrics design. Interviewers evaluate accuracy, clarity, and maintainability of your SQL or pandas code, your handling of edge cases (NULLs, deduplication, sampling), and your ability to explain trade-offs between readability and performance using CTEs, window functions, joins, and vectorized Python operations. For interview preparation, expect a timed technical screen (often using a shared editor) with SQL and Python data-manipulation tasks, followed by deeper loop rounds combining coding, product-metrics reasoning, and behavioral questions. Practice end-to-end problems: translate a product question into concrete metrics, write and optimize queries or pandas pipelines, narrate assumptions, and validate results. Work timed problems in CoderPad-like environments, rehearse clarifying questions, and review common pitfalls such as filter vs HAVING, NULL behavior, and inefficient joins. Regular mock interviews and focused drills on window functions, groupings, merges, and missing-data strategies will give the confidence and fluency Meta typically looks for.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Count unconnected posts and reactions
You are analyzing a newly launched feed feature intended to improve engagement by showing more unconnected content. Assume the following tables: - pos...
Write SQL for reply-based recipient metrics
You work on a social product and are given two tables. Assumptions (use these unless you state otherwise): - All timestamps are in UTC. - A “reply” is...
Compute ad impression conversion rates
You are given two tables for an ads product. Table: ad_impressions | Column | Type | Description | |---|---:|---| | impression_id | STRING | Unique id...
Analyze spend cohort and source shifts
You work on an ads platform. Assume all timestamps are in UTC. Interpret last year as calendar year 2023 and this year as calendar year 2024. Tables: ...
Write SQL for call metrics
You have two tables. calls ( call_id BIGINT, sender_id BIGINT, receiver_id BIGINT, call_ts TIMESTAMP, picked_up BOOLEAN, call_type VARCHAR...
Compute High-Call Usage Rates
You are given two tables for a voice-calling product: users - user_id BIGINT - country_code STRING calls - call_id BIGINT - caller_id BIGINT - recipie...
Analyze advertiser spend by source
You are given two tables: advertisers - advertiser_id BIGINT - advertiser_type VARCHAR — examples: smb, enterprise, agency, internal - status VARCHAR ...
Write SQL for multi-account metrics
A consumer app allows one user to own multiple accounts. Use SQL to answer the following questions. Assume the database has these tables: accounts - a...
Count Recent High-Volume Call Users
Given the following tables: users - user_id BIGINT - country STRING - is_active BOOLEAN calls - call_id BIGINT - initiated_at TIMESTAMP - caller_id BI...
Find least active countries
You are given an ads activity table. Table: ad_activity - ad_id BIGINT — unique ad identifier - advertiser_id BIGINT — advertiser that owns the ad - c...
Count heavy callers in 7 days
You are given two tables. users - user_id BIGINT PRIMARY KEY - country_code STRING calls - call_id BIGINT PRIMARY KEY - caller_id BIGINT - recipient_i...
Write SQL for call pickup and usage metrics
You have two tables about 1:1 calls. Table 1: calls Each row is a call attempt. - sender_id (BIGINT) — user who initiated the call - receiver_id (BIGI...
Write SQL for seller and category metrics
Assume the following marketplace tables. Table: listing_interactions - buyer_id STRING - seller_id STRING - product_id STRING - interaction_date DATE ...
Compute this-year spend share of last-year whales
Context You work on an ads analytics dataset. Assume all timestamps are in UTC, and “last year” / “this year” refer to the previous/current calendar y...
Write SQL for seller and vehicle metrics
You are working with a marketplace dataset. Table 1: listing_interactions - buyer_id BIGINT - seller_id BIGINT - interaction_date DATE - product_id BI...
Write SQL for CTR and Revenue
You are given the following tables: ads( ad_id BIGINT, advertiser_id BIGINT, ad_type VARCHAR, -- values include direct and brand ad...
Write SQL for call analytics
You are given two tables. Table: calls - call_id BIGINT - sender_id BIGINT - receiver_id BIGINT - call_ts TIMESTAMP — stored in UTC - pickup CHAR(1) —...
Find multi-account buckets and unread rate
You are analyzing a product in which one user can own multiple accounts. Use the following schema: Table: accounts - account_id BIGINT - user_id BIGIN...
Write SQL for Pixel Signal Metrics
You are working on Meta Ads Pixel analytics. Assume all timestamps are stored in UTC, and analyze the last 30 complete calendar days. Tables 1. advert...
Write Call Analytics SQL Queries
Assume you are given two tables. Table: calls - call_id BIGINT - sender_id BIGINT - receiver_id BIGINT - call_time TIMESTAMP - pickup VARCHAR -- value...