Preparing your design workspace

Loading the problem and your latest saved attempt…

Design Multi-Cloud Blob Malware Scanning

Scan newly written objects across multiple cloud blob stores, quarantine unsafe content, and expose auditable verdicts.

Problem statement

For this exercise, assume that an application uploads an object, receives a pending safety state, and later learns whether the exact immutable version is safe, unsafe, or unscannable. Receive or discover new immutable object versions from several blob providers.

Fetch each version through least-privilege adapters and run versioned malware detectors. Quarantine unsafe or unresolved versions and release only a matching safe verdict. Rescan retained objects after detector updates without losing historical verdict evidence.

Assume 50 million new objects per day, objects up to 5 GB, and a tenfold burst after bulk imports. Produce a verdict for 99 percent of objects under 100 MB within five minutes. Retain verdict and detector-version evidence for one year; provider and scanner failures must not silently release content.

Preserve this invariant: a verdict is bound to exact content identity and detector version; missing evidence fails closed rather than authorizing release. Keep unrelated product features and company-specific infrastructure outside the first version.

What to build

  1. Receive or discover new immutable object versions from several blob providers.
  2. Fetch each version through least-privilege adapters and run versioned malware detectors.
  3. Quarantine unsafe or unresolved versions and release only a matching safe verdict.
  4. Rescan retained objects after detector updates without losing historical verdict evidence.

At scale

  • For this exercise, assume 50 million new objects per day, objects up to 5 GB, and a tenfold burst after bulk imports.
  • For this exercise, produce a verdict for 99 percent of objects under 100 MB within five minutes.
  • For this exercise, retain verdict and detector-version evidence for one year; provider and scanner failures must not silently release content.