PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/ML System Design/Meta

Design recommendation and weapon-ad detection systems

Last updated: Mar 29, 2026

Quick Overview

This question evaluates proficiency in end-to-end ML system design, covering scalable recommendation systems and safety-focused ad classification with competencies in data engineering, modeling, serving, evaluation, monitoring, and operational trade-offs.

  • medium
  • Meta
  • ML System Design
  • Machine Learning Engineer

Design recommendation and weapon-ad detection systems

Company: Meta

Role: Machine Learning Engineer

Category: ML System Design

Difficulty: medium

Interview Round: Onsite

You are asked to design two end-to-end ML systems. ## 1) Personalized recommendation system Design a system that recommends items (e.g., videos/products/posts) to users in a large-scale consumer app. Your design should address: - **Product goal:** what you are optimizing for (e.g., engagement, watch time, conversions) and how you balance multiple objectives. - **Data:** user events, item metadata, candidate sources, freshness, cold start. - **Modeling approach:** candidate generation vs. ranking (and optional re-ranking), feature design, handling exploration. - **Serving:** latency budget, online features, approximate nearest neighbor (if used), caching, fallbacks. - **Training & evaluation:** offline metrics, online A/B testing metrics/guardrails, counterfactual concerns. - **Monitoring & iteration:** drift, bias/fairness, abuse and feedback loops. ## 2) Weapon ad detection / ad safety classifier Design an automated system that detects whether an ad (image/text/video/landing page) contains weapons or weapon-related content, and blocks or routes it for manual review. Your design should address: - **Input modalities:** text, image frames, video, OCR, landing-page text. - **Labels & taxonomy:** what counts as “weapon content,” policy nuances, borderline cases. - **Modeling approach:** multimodal models, thresholding, calibration, ensembling. - **Decisioning workflow:** automated block vs. allow vs. send to human review; appeal process. - **Metrics:** precision/recall tradeoffs, cost of false positives/negatives, SLA for review. - **Operations:** active learning, handling adversarial ads, monitoring, model updates. Assume millions of users/items for recommendations and high ad throughput (thousands to millions/day) for ad review. Clearly state any additional assumptions you need.

Quick Answer: This question evaluates proficiency in end-to-end ML system design, covering scalable recommendation systems and safety-focused ad classification with competencies in data engineering, modeling, serving, evaluation, monitoring, and operational trade-offs.

Related Interview Questions

  • Design an LLM-Based Coding Assistant - Meta (hard)
  • Design an LLM-Based Conversational Assistant (Chatbot) - Meta (hard)
  • Design an Automated Ticket Investigation Agent - Meta (hard)
  • Prevent Private Code Leakage in Coding Agents - Meta (medium)
  • Design a Code Review Agent - Meta (medium)
|Home/ML System Design/Meta

Design recommendation and weapon-ad detection systems

Meta logo
Meta
Dec 9, 2025, 12:00 AM
mediumMachine Learning EngineerOnsiteML System Design
7
0
Loading...

You are asked to design two end-to-end ML systems.

1) Personalized recommendation system

Design a system that recommends items (e.g., videos/products/posts) to users in a large-scale consumer app.

Your design should address:

  • Product goal: what you are optimizing for (e.g., engagement, watch time, conversions) and how you balance multiple objectives.
  • Data: user events, item metadata, candidate sources, freshness, cold start.
  • Modeling approach: candidate generation vs. ranking (and optional re-ranking), feature design, handling exploration.
  • Serving: latency budget, online features, approximate nearest neighbor (if used), caching, fallbacks.
  • Training & evaluation: offline metrics, online A/B testing metrics/guardrails, counterfactual concerns.
  • Monitoring & iteration: drift, bias/fairness, abuse and feedback loops.

2) Weapon ad detection / ad safety classifier

Design an automated system that detects whether an ad (image/text/video/landing page) contains weapons or weapon-related content, and blocks or routes it for manual review.

Your design should address:

  • Input modalities: text, image frames, video, OCR, landing-page text.
  • Labels & taxonomy: what counts as “weapon content,” policy nuances, borderline cases.
  • Modeling approach: multimodal models, thresholding, calibration, ensembling.
  • Decisioning workflow: automated block vs. allow vs. send to human review; appeal process.
  • Metrics: precision/recall tradeoffs, cost of false positives/negatives, SLA for review.
  • Operations: active learning, handling adversarial ads, monitoring, model updates.

Assume millions of users/items for recommendations and high ad throughput (thousands to millions/day) for ad review. Clearly state any additional assumptions you need.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More ML System Design•More Meta•More Machine Learning Engineer•Meta Machine Learning Engineer•Meta ML System Design•Machine Learning Engineer ML System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.