Quiz
Scaling Systems from Zero to Millions of Users
Perguntas do quiz (13)
1What is the role of DNS in the request flow to a web application?
- ARoutes HTTP requests to the load balancer.
- BProvides the IP address of the requested domain.
- CCaches static content for faster delivery.
- DDirectly manages connections between users and servers.
2Why is JSON a commonly used API response format for mobile applications?
- AIt supports relational joins.
- BIt requires less storage space than XML.
- CIt is simple and easy to parse.
- DIt is compatible with relational databases by default.
3What is a primary disadvantage of vertical scaling for databases?
- AIt does not improve database redundancy.
- BIt requires splitting data into multiple shards.
- CIt increases latency for read operations.
- DIt prevents adding more memory to the server.
4In the context of sharding, what is the function of a sharding key?
- AIt defines relationships between tables in a database.
- BIt determines how data is distributed across shards.
- CIt improves the cache hit ratio for frequently accessed data.
- DIt ensures low latency for all database queries.
5How does a load balancer improve system reliability?
- ABy storing session data for web servers.
- BBy caching database queries for faster responses.
- CBy routing traffic to available servers when one fails.
- DBy replacing offline servers with new hardware.
6Which caching strategy is most suitable for frequently accessed data that changes rarely?
- AWrite-through cache.
- BRead-through cache.
- CWrite-behind cache.
- DCache-first strategy.
7What is the primary advantage of a stateless web tier?
- AIt reduces the need for load balancers.
- BIt simplifies scaling and improves fault tolerance.
- CIt allows servers to store session data locally.
- DIt requires fewer web servers to handle traffic.
8What challenge does a stateful architecture introduce when scaling horizontally?
- AIncreased dependency on CDN services.
- BAll user requests must be routed to the same server.
- CDifficulty in maintaining database consistency.
- DInefficiency in handling write-heavy traffic.
9What is the purpose of geoDNS in a multi-data center setup?
- ATo replicate data across different regions.
- BTo cache data closer to the user.
- CTo route traffic to the nearest data center.
- DTo load balance traffic between multiple servers.
10What is a critical challenge in implementing a multi-data center setup?
- AManaging server-side caching policies.
- BSynchronizing data across data centers.
- CAdding redundancy to the load balancer.
- DHandling high write-to-read traffic ratios.
11What is the primary function of a message queue in system design?
- ATo handle join operations in sharded databases.
- BTo distribute and decouple asynchronous tasks.
- CTo maintain consistency across data centers.
- DTo balance traffic between database shards.
12How does sharding improve database scalability?
- ABy adding redundancy to the data tier.
- BBy distributing data across multiple servers.
- CBy reducing the number of write operations.
- DBy enabling dynamic joins across databases.
13What is a common approach to mitigating the “celebrity problem” in sharded databases?
- AIncreasing the CPU capacity of affected shards.
- BAllocating specific shards to high-traffic users.
- CUsing vertical scaling to handle additional load.
- DImplementing sticky sessions at the web tier.
Informações
- Descrição
- A comprehensive guide to designing scalable systems, covering topics like load balancing, caching, database replication, sharding, CDN usage, and stateless architecture to support millions of users efficiently.
- Autor
- Eladio Rocha
- Idioma
- Español
- Visualizações
- 25
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz