Back-of-the-Envelope Estimation

Description

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 by Eladio Rocha, updated 18 days ago
Eladio Rocha
Created by Eladio Rocha 18 days ago
1
0

Resource summary

Question 1

Question
What is the purpose of back-of-the-envelope estimation in system design?
Answer
  • 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.

Question 2

Question
Why is understanding the power of two important in system design calculations?
Answer
  • 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.

Question 3

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

Question 4

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

Question 5

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

Question 6

Question
What conclusion can be drawn about disk seeks compared to memory references?
Answer
  • 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.

Question 7

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

Question 8

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

Question 9

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

Question 10

Question
Which of the following tips is NOT recommended for back-of-the-envelope estimation?
Answer
  • Use approximations for quick calculations.
  • Label units clearly for clarity.
  • Focus on solving complex equations accurately.
  • Write down assumptions for reference.
Show full summary Hide full summary

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
B5 - Growth and Deveolopment
blairzy123
GCSE REVISION TIMETABLE
megangeorgia03
GCSE - AQA: C1.1 The Fundamental Ideas in Chemistry
Olly Okeniyi