Back-of-the-Envelope Estimation

Descrição

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
Quiz por Eladio Rocha, atualizado 18 dias atrás
Eladio Rocha
Criado por Eladio Rocha 18 dias atrás
1
0

Resumo de Recurso

Questão 1

Questão
What is the purpose of back-of-the-envelope estimation in system design?
Responda
  • 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.

Questão 2

Questão
Why is understanding the power of two important in system design calculations?
Responda
  • 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.

Questão 3

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

Questão 4

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

Questão 5

Questão
What is the peak QPS (Query Per Second) if the base QPS is 5,000?
Responda
  • 2,500
  • 5,000
  • 10,000
  • 7,500

Questão 6

Questão
What conclusion can be drawn about disk seeks compared to memory references?
Responda
  • 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.

Questão 7

Questão
What is the approximate annual downtime for a system with 99.99% availability?
Responda
  • 52.60 minutes
  • 7.31 hours
  • 31.56 seconds
  • 5.26 minutes

Questão 8

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

Questão 9

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

Questão 10

Questão
Which of the following tips is NOT recommended for back-of-the-envelope estimation?
Responda
  • Use approximations for quick calculations.
  • Label units clearly for clarity.
  • Focus on solving complex equations accurately.
  • Write down assumptions for reference.

Semelhante

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
8 Técnicas de Como Estudar Online
Alessandra S.
Princípios Direito Penal
Carlos Moradore
Conjunções Subordinativas
Daniel Lima
Trauma - Abordagem inicial
Vanessa Palauro