Define microservices architecture.
An architectural style that structures an application as a collection of loosely coupled services.
True or false: Monolithic architecture is easier to scale than microservices.
FALSE
Monolithic architecture can be harder to scale due to its tightly integrated components.
What is a key feature of client-server architecture?
It separates client requests from server responses, allowing for distributed processing.
Fill in the blank: Monoliths are typically built as a _______ unit.
single
Define service-oriented architecture (SOA).
An architectural pattern that allows services to communicate over a network to fulfill business processes.
What is a primary benefit of microservices?
They enable independent deployment and scaling of individual services.
True or false: Serverless architecture eliminates the need for server management.
TRUE
Serverless architecture allows developers to focus on code without managing servers.
What does API Gateway do in microservices?
It acts as a single entry point for managing requests to multiple microservices.
Fill in the blank: Load balancing distributes traffic across multiple _______.
servers
Define event-driven architecture.
An architecture that uses events to trigger and communicate between decoupled services.
What is a disadvantage of monolithic applications?
They can become complex and difficult to maintain as they grow.
True or false: Peer-to-peer architecture relies on a central server.
FALSE
In peer-to-peer architecture, each node can act as both client and server.
What is the role of containers in microservices?
They package applications and their dependencies for consistent deployment across environments.
Fill in the blank: Distributed systems consist of multiple _______ working together.
computers
Define hybrid architecture.
An architecture that combines elements of both monolithic and microservices approaches.