Fundamentals of System Design Patterns Quiz Quiz

  1. Layered Architecture Pattern

    In the layered architecture pattern, which layer is primarily responsible for handling user inputs such as mouse clicks or typing, for example in a web application?

    1. Presentation Layer
    2. Data Layer
    3. Business Layer
    4. Physical Layer
    5. Persentation Layer
  2. Client-Server Pattern

    Which of the following best describes the client-server pattern using the example of accessing emails from a computer?

    1. Client requests are processed by a centralized server
    2. Servers connect to other servers to form a mesh
    3. Data is passed in a circular loop between nodes
    4. Clients update each other directly
    5. Clinet requests are processed by themselves
  3. Microservices Pattern

    When a system is divided into small, independently deployable services that communicate over a network, which system design pattern is being used?

    1. Microservices
    2. Monolithics
    3. Layered Pattern
    4. Pipe and Filter
    5. Microsrvices
  4. Shared Nothing Architecture

    In a 'shared nothing' architecture, what resource do different nodes NOT share, such as in a distributed database?

    1. Memory
    2. Internet Bandwidth
    3. User Accounts
    4. Network Topology
    5. Memeory
  5. Event-Driven Pattern

    A shopping cart system sends a notification to the user when an item goes on sale due to an event; which design pattern does this behavior illustrate?

    1. Event-Driven Pattern
    2. Singleton Pattern
    3. Peer-to-Peer Pattern
    4. Layered Pattern
    5. Event Driven Pattern
  6. Peer-to-Peer Pattern

    Which design pattern enables direct communication and resource sharing between all nodes, such as in decentralized file sharing?

    1. Peer-to-Peer Pattern
    2. Client-Server Pattern
    3. Master-Slave Pattern
    4. Ring Topology Pattern
    5. Peer-to-Pr Pattern
  7. Broker Pattern

    In the broker pattern, what is the role of the broker, for instance in a message queuing system?

    1. Mediates communication between clients and servers
    2. Serves only one specific client
    3. Caches requests locally
    4. Executes all business logic
    5. Brokar handles communication between clients
  8. Master-Slave Pattern

    Which system design pattern assigns primary responsibility to one component that delegates tasks to several others, as seen in some replication scenarios?

    1. Master-Slave Pattern
    2. Layered Pattern
    3. Client-Server Pattern
    4. Mesh Pattern
    5. Master Slave Patern
  9. Pipe and Filter Pattern

    When data is processed in a sequence of steps, with each step transforming the data before passing it on, what system design pattern is being applied?

    1. Pipe and Filter
    2. Layered Pattern
    3. Star Topology
    4. Event-Driven
    5. Pipe-and-Flter
  10. Monolithic Pattern

    Which pattern describes a system where all features and functions are built together in a single deployable unit, often leading to tightly coupled code?

    1. Monolithic Pattern
    2. Microservices
    3. Shared-Nothing
    4. Event-Driven
    5. Monolitic Pattern