Eladio Rocha
Quiz by , created 19 days ago

Overview of scalable system architectures, comparing vertical and horizontal scaling, their advantages, limitations, and practical applications, including the role of load balancers and stateless web servers.

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

Scalable System Architectures

Question 1 of 11

1

In which scenario is a single-server design most appropriate?

Select one of the following:

  • For highly critical commercial applications

  • For large-scale systems with significant traffic

  • For small, low-priority tools or personal websites

  • For applications requiring high availability

Explanation

Question 2 of 11

1

What is a key drawback of a single-server design for commercial systems?

Select one of the following:

  • High cost of scaling

  • Single point of failure

  • Complexity of setup

  • Redundant database connections

Explanation

Question 3 of 11

1

What does vertical scaling involve?

Select one of the following:

  • Adding more servers to distribute the load

  • Increasing the capacity of an existing server

  • Implementing a load balancer to manage traffic

  • Dividing a database into multiple shards

Explanation

Question 4 of 11

1

What is a limitation of vertical scaling?

Select one of the following:

  • It requires complex database partitioning.

  • It is limited by the maximum capacity of a single server.

  • It cannot handle stateless requests efficiently.

  • It increases the number of servers to maintain.

Explanation

Question 5 of 11

1

How does horizontal scaling differ from vertical scaling?

Select one of the following:

  • Horizontal scaling increases the size of servers, while vertical scaling adds more servers.

  • Horizontal scaling involves adding more servers, while vertical scaling increases the size of existing servers.

  • Horizontal scaling reduces server maintenance, while vertical scaling increases it.

  • Horizontal scaling focuses on database optimization, while vertical scaling focuses on application layers.

Explanation

Question 6 of 11

1

What component is essential for horizontal scaling to distribute traffic across servers?

Select one of the following:

  • Database replicas

  • A load balancer

  • A central storage system

  • An additional web server

Explanation

Question 7 of 11

1

Why must web servers in a horizontally scaled system be stateless?

Select one of the following:

  • To ensure they can share storage efficiently

  • To allow any server to handle any user request independently

  • To improve CPU utilization across the system

  • To minimize database load during high traffic

Explanation

Question 8 of 11

1

What is a primary advantage of horizontal scaling over vertical scaling?

Select one of the following:

  • It reduces system complexity.

  • It eliminates single points of failure.

  • It is more cost-effective for small-scale systems.

  • It requires fewer machines to maintain.

Explanation

Question 9 of 11

1

In which scenario is vertical scaling likely sufficient?

Select one of the following:

  • A globally distributed e-commerce platform

  • A personal website with low traffic

  • A real-time video streaming service

  • A high-frequency financial trading application

Explanation

Question 10 of 11

1

What is a downside of horizontal scaling?

Select one of the following:

  • It limits the ability to add more servers.

  • It increases the likelihood of server failure.

  • It introduces more components to maintain.

  • It restricts redundancy in the system.

Explanation

Question 11 of 11

1

What design principle should guide the choice of system architecture?

Select one of the following:

  • Prioritize redundancy regardless of cost.

  • Build the simplest architecture that meets the requirements.

  • Always opt for horizontal scaling, even for small systems.

  • Avoid using load balancers to minimize complexity.

Explanation