System Design & Architecture Flashcards
7 cards from real CSI practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 System Design & Architecture flashcards as text
Which integration middleware pattern uses a central hub to route messages between systems, creating a hub-and-spoke topology?
Answer: Enterprise Service Bus (ESB)
An ESB acts as a central hub orchestrating message routing, transformation, and protocol mediation between connected spoke systems.
A system must handle 10,000 concurrent users during peak hours but only 500 during off-peak. Which architecture strategy best addresses this requirement?
Answer: Horizontal auto-scaling with elastic infrastructure
Horizontal auto-scaling dynamically adds or removes instances based on load, efficiently handling variable traffic without over-provisioning.
What is the key difference between synchronous and asynchronous integration patterns?
Answer: Synchronous waits for a response before proceeding; asynchronous sends and continues without waiting
Synchronous integration blocks the caller until a response is received, while asynchronous integration allows the caller to continue processing without waiting.
In database design for integrated systems, which normalization form ensures that every non-key attribute is fully dependent on the entire primary key?
Answer: Second Normal Form (2NF)
Second Normal Form (2NF) requires that all non-key attributes be fully functionally dependent on the complete primary key, eliminating partial dependencies.
Which architectural pattern stores state changes as an immutable sequence of events rather than the current state snapshot?
Answer: Event Sourcing
Event Sourcing persists every state change as an immutable event, allowing the current state to be rebuilt by replaying the event log.
When designing a RESTful API for a system integration, which HTTP status code should be returned when a resource is successfully created?
Answer: 201 Created
HTTP 201 Created is the correct response when a POST request successfully creates a new resource.
In a multi-tier architecture, what is the primary role of the middleware tier?
Answer: Handling business logic and mediating between presentation and data tiers
The middleware tier processes business logic, coordinates workflows, and serves as an intermediary between the presentation layer and data storage.