Eladio Rocha
Quiz by , created 18 days ago

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.

1
0
0
Eladio Rocha
Created by Eladio Rocha 18 days ago
Close

Back-of-the-Envelope Estimation

Question 1 of 10

1

What is the purpose of back-of-the-envelope estimation in system design?

Select one of the following:

  • 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.

Explanation

Question 2 of 10

1

Why is understanding the power of two important in system design calculations?

Select one of the following:

  • 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.

Explanation

Question 3 of 10

1

According to latency numbers, which of the following is the fastest operation?

Select one of the following:

  • Disk seek

  • L1 cache reference

  • Reading 1 MB from the network

  • Compressing 1K bytes with Zippy

Explanation

Question 4 of 10

1

If a system needs to store 100 TB of new data every day for 1 year, approximately how much storage will be required?

Select one of the following:

  • 36.5 PB

  • 10 PB

  • 3.65 PB

  • 100 PB

Explanation

Question 5 of 10

1

What is the peak QPS (Query Per Second) if the base QPS is 5,000?

Select one of the following:

  • 2,500

  • 5,000

  • 10,000

  • 7,500

Explanation

Question 6 of 10

1

What conclusion can be drawn about disk seeks compared to memory references?

Select one of the following:

  • 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.

Explanation

Question 7 of 10

1

What is the approximate annual downtime for a system with 99.99% availability?

Select one of the following:

  • 52.60 minutes

  • 7.31 hours

  • 31.56 seconds

  • 5.26 minutes

Explanation

Question 8 of 10

1

If a system processes 200 million transactions per day, what is the approximate query per second (QPS)?

Select one of the following:

  • 1,000

  • 2,300

  • 10,000

  • 5,800

Explanation

Question 9 of 10

1

Why is compressing data before sending it over the internet recommended?

Select one of the following:

  • It reduces compression time.

  • It decreases network latency.

  • It minimizes the amount of data transmitted, saving bandwidth.

  • It ensures data integrity during transfer.

Explanation

Question 10 of 10

1

Which of the following tips is NOT recommended for back-of-the-envelope estimation?

Select one of the following:

  • Use approximations for quick calculations.

  • Label units clearly for clarity.

  • Focus on solving complex equations accurately.

  • Write down assumptions for reference.

Explanation