Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Remote Browser Isolation Service

Design a service that opens untrusted web pages inside disposable remote browser sessions and streams a safe interactive view to users.

Problem statement

For this exercise, assume an organization wants users to open untrusted public web pages without executing the page on their devices. A user starts an isolated browsing session for a URL, receives an interactive rendered view, sends keyboard and pointer input, and can close or reconnect to the session.

The service must prevent a page from reaching private networks or another tenant, keep session state ephemeral, and destroy all session resources after the bounded lifetime. File downloads, browser extensions, saved credentials, and long-term browsing history are out of scope.

What to build

  1. An authenticated user can start one isolated browsing session for an allowed public HTTP or HTTPS URL and receive a stable session identifier.
  2. The user can receive an interactive rendered view and send ordered keyboard, pointer, and viewport events without page code executing on the user's device.
  3. A temporarily disconnected user can reconnect to the same still-active session and recover a current frame without creating a second browser instance.
  4. The service terminates expired, closed, or policy-violating sessions and verifiably removes their compute, network, and ephemeral storage resources.

At scale

  • For this exercise, assume 20,000 concurrent sessions and peaks of 500 new session requests per second across several regions.
  • For this exercise, target two seconds p95 from an admitted request to the first usable frame and 250 milliseconds p95 from user input to the corresponding rendered update within a healthy region.
  • For this exercise, cap sessions at 30 minutes, allow reconnect for 60 seconds, and remove terminated session resources within one minute.
  • For this exercise, one availability-zone failure must not admit unsafe traffic or leak session state; existing sessions in that zone may terminate with an explicit outcome rather than migrate transparently.