PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Cloudflare

Design an encrypted log collection system

Last updated: May 28, 2026

Quick Overview

This question evaluates competence in distributed systems design, secure transport and storage, encryption and key management, scalability, and observability for log/event collection across multiple edge data centers.

  • medium
  • Cloudflare
  • System Design
  • Software Engineer

Design an encrypted log collection system

Company: Cloudflare

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

## Scenario Design a **log collection system** that gathers logs/events from services running in **multiple edge data centers** and delivers them to a central platform. ### Requirements - **Multi-region/edge ingestion:** Logs originate from many edge data centers. - **Secure transport:** Logs must be **encrypted in transit** while being collected and forwarded. - **(Typically expected) Secure storage:** Consider encryption at rest and access control. - The initial prompt may be underspecified; you should clarify: - Is this primarily **real-time streaming** (e.g., alerting) or **batch analytics** (warehouse/data lake), or both? - Expected throughput (events/sec, peak factors), average event size, and retention period. - SLA/SLOs: end-to-end latency, durability (acceptable loss), and availability. - Compliance constraints (PII, GDPR/CCPA, data residency). - Query patterns (search by trace id, full-text search, aggregations). ### Deliverable Propose an end-to-end architecture including: - Edge collection/agent design - Cross-DC transport - Central ingestion, buffering, storage - Encryption/key management approach - Failure handling, backpressure, and observability

Quick Answer: This question evaluates competence in distributed systems design, secure transport and storage, encryption and key management, scalability, and observability for log/event collection across multiple edge data centers.

Cloudflare logo
Cloudflare
Jan 22, 2026, 12:00 AM
Software Engineer
Onsite
System Design
7
0
Loading...

Scenario

Design a log collection system that gathers logs/events from services running in multiple edge data centers and delivers them to a central platform.

Requirements

  • Multi-region/edge ingestion: Logs originate from many edge data centers.
  • Secure transport: Logs must be encrypted in transit while being collected and forwarded.
  • (Typically expected) Secure storage: Consider encryption at rest and access control.
  • The initial prompt may be underspecified; you should clarify:
    • Is this primarily real-time streaming (e.g., alerting) or batch analytics (warehouse/data lake), or both?
    • Expected throughput (events/sec, peak factors), average event size, and retention period.
    • SLA/SLOs: end-to-end latency, durability (acceptable loss), and availability.
    • Compliance constraints (PII, GDPR/CCPA, data residency).
    • Query patterns (search by trace id, full-text search, aggregations).

Deliverable

Propose an end-to-end architecture including:

  • Edge collection/agent design
  • Cross-DC transport
  • Central ingestion, buffering, storage
  • Encryption/key management approach
  • Failure handling, backpressure, and observability

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Cloudflare•More Software Engineer•Cloudflare Software Engineer•Cloudflare System Design•Software Engineer System Design
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
  • Compare Platforms
  • Discord Community

Support

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

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.