Back-of-the-Envelope Estimation

Descripción

This quiz focuses on system design principles, including scalability, latency, availability, and storage estimations. It tests the ability to perform back-of-the-envelope calculations, a critical skill for estimating system capacity, performance, and resource requirements during the design process.
Eladio Rocha
Test por Eladio Rocha, actualizado hace 18 días
Eladio Rocha
Creado por Eladio Rocha hace 18 días
1
0

Resumen del Recurso

Pregunta 1

Pregunta
What is the purpose of back-of-the-envelope estimation in system design?
Respuesta
  • To provide exact performance numbers for implementation.
  • To estimate capacity or performance requirements using approximations.
  • To simplify system architecture by eliminating redundancy.
  • To benchmark the system against competitors.

Pregunta 2

Pregunta
Why is understanding the power of two important in system design calculations?
Respuesta
  • It simplifies compression algorithms.
  • It is the basis for all binary computations in distributed systems.
  • It ensures correct calculations for data volume units.
  • It is used to estimate latency in networking.

Pregunta 3

Pregunta
According to latency numbers, which of the following is the fastest operation?
Respuesta
  • Disk seek
  • L1 cache reference
  • Reading 1 MB from the network
  • Compressing 1K bytes with Zippy

Pregunta 4

Pregunta
If a system needs to store 100 TB of new data every day for 1 year, approximately how much storage will be required?
Respuesta
  • 36.5 PB
  • 10 PB
  • 3.65 PB
  • 100 PB

Pregunta 5

Pregunta
What is the peak QPS (Query Per Second) if the base QPS is 5,000?
Respuesta
  • 2,500
  • 5,000
  • 10,000
  • 7,500

Pregunta 6

Pregunta
What conclusion can be drawn about disk seeks compared to memory references?
Respuesta
  • Disk seeks are faster than memory references.
  • Disk seeks are significantly slower than memory references.
  • Disk seeks and memory references have similar latencies.
  • Disk seeks are not relevant for system design.

Pregunta 7

Pregunta
What is the approximate annual downtime for a system with 99.99% availability?
Respuesta
  • 52.60 minutes
  • 7.31 hours
  • 31.56 seconds
  • 5.26 minutes

Pregunta 8

Pregunta
If a system processes 200 million transactions per day, what is the approximate query per second (QPS)?
Respuesta
  • 1,000
  • 2,300
  • 10,000
  • 5,800

Pregunta 9

Pregunta
Why is compressing data before sending it over the internet recommended?
Respuesta
  • It reduces compression time.
  • It decreases network latency.
  • It minimizes the amount of data transmitted, saving bandwidth.
  • It ensures data integrity during transfer.

Pregunta 10

Pregunta
Which of the following tips is NOT recommended for back-of-the-envelope estimation?
Respuesta
  • Use approximations for quick calculations.
  • Label units clearly for clarity.
  • Focus on solving complex equations accurately.
  • Write down assumptions for reference.
Mostrar resumen completo Ocultar resumen completo

Similar

Scalable Systems and Database Redundancy
Eladio Rocha
Scaling Systems from Zero to Millions of Users
Eladio Rocha
CAP Theorem and Database Trade-offs
Eladio Rocha
Data Lakes and Big Data Systems
Eladio Rocha
Caching Strategies for High-Performance Systems
Eladio Rocha
Scalable System Architectures
Eladio Rocha
Habilidades Cuantitativas
Luis Gonzalez
Beneficios de la Lectura
Dira Rubio
Bloque I. A todo Pulmón - Derecho Contractual Europeo y de Consumo
BERTA LAURA
LITERATOS...
JL Cadenas
El Sistema Respiratorio
jruizzuniga