Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Explain CNN Architecture for Image Classification

EasyMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Your question is Explain CNN Architecture for Image Classification. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

ShopVision, an e-commerce catalog platform, wants a junior ML engineer to explain and prototype a convolutional neural network (CNN) for classifying product images into catalog categories. The goal is not just to define CNN layers, but to show how the architecture maps to a real image classification workflow and how you would evaluate it in practice.

Dataset

You are given a labeled image dataset of product photos collected from the mobile seller app.

Feature GroupCountExamples
Image pixels150,000 imagesRGB images resized to 128x128
Metadata (optional, not required)3upload_device, aspect_ratio, brightness_score
Labels12 classesshoes, bags, watches, shirts, electronics
  • Size: 150K images, 12 target classes
  • Target: Multiclass product category
  • Class balance: Moderately imbalanced; largest class is 18%, smallest is 4%
  • Missing data: ~2% corrupted or unreadable images; some images have inconsistent lighting/backgrounds

Success Criteria

A good solution should:

  • Achieve top-1 accuracy >= 82% on a held-out test set
  • Clearly explain the role of convolution, activation, pooling, and fully connected layers
  • Show a training pipeline that can run on a single GPU within a reasonable time budget
  • Include overfitting controls and a clear evaluation approach

Constraints

  • Inference latency should stay under 30 ms/image in batch serving
  • The model should be simple enough for an interview explanation
  • Training budget is limited to a single mid-range GPU
  • The team prefers an architecture that is easy to debug and extend

Deliverables

  1. Explain the core CNN architecture and why each layer is used.
  2. Build a baseline CNN for multiclass image classification.
  3. Describe preprocessing and augmentation choices.
  4. Evaluate the model with appropriate classification metrics.
  5. Discuss tradeoffs between a simple custom CNN and transfer learning.