Eladio Rocha
Quiz von , erstellt am vor 18 Tage

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
Erstellt von Eladio Rocha vor 18 Tage
Schließen

Back-of-the-Envelope Estimation

Frage 1 von 10

1

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

Wähle eine der folgenden:

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

Erklärung

Frage 2 von 10

1

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

Wähle eine der folgenden:

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

Erklärung

Frage 3 von 10

1

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

Wähle eine der folgenden:

  • Disk seek

  • L1 cache reference

  • Reading 1 MB from the network

  • Compressing 1K bytes with Zippy

Erklärung

Frage 4 von 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?

Wähle eine der folgenden:

  • 36.5 PB

  • 10 PB

  • 3.65 PB

  • 100 PB

Erklärung

Frage 5 von 10

1

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

Wähle eine der folgenden:

  • 2,500

  • 5,000

  • 10,000

  • 7,500

Erklärung

Frage 6 von 10

1

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

Wähle eine der folgenden:

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

Erklärung

Frage 7 von 10

1

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

Wähle eine der folgenden:

  • 52.60 minutes

  • 7.31 hours

  • 31.56 seconds

  • 5.26 minutes

Erklärung

Frage 8 von 10

1

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

Wähle eine der folgenden:

  • 1,000

  • 2,300

  • 10,000

  • 5,800

Erklärung

Frage 9 von 10

1

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

Wähle eine der folgenden:

  • It reduces compression time.

  • It decreases network latency.

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

  • It ensures data integrity during transfer.

Erklärung

Frage 10 von 10

1

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

Wähle eine der folgenden:

  • Use approximations for quick calculations.

  • Label units clearly for clarity.

  • Focus on solving complex equations accurately.

  • Write down assumptions for reference.

Erklärung