System Architecture & Design Flashcards
7 cards from real CTP 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 Architecture & Design flashcards as text
Which deployment strategy runs two identical production environments and switches traffic from the old one to the new one all at once, allowing instant rollback?
Answer: Blue-green deployment
Blue-green deployment keeps two environments and flips traffic between them for fast cutover and rollback.
A database is split so that customers A–M are stored on one server and N–Z on another. What technique is this?
Answer: Sharding (horizontal partitioning)
Sharding distributes rows across servers based on a key so each server holds a subset of the data.
What does it mean for an API operation to be idempotent?
Answer: Calling it multiple times with the same input has the same effect as calling it once
Idempotent operations produce the same end state regardless of how many times they are repeated.
Which pattern deploys a helper container alongside each service instance to handle logging, proxying, or security without changing the service code?
Answer: Sidecar pattern
A sidecar runs next to the main service to provide supporting capabilities, as used in service meshes.
Low coupling and high cohesion are desirable because they primarily improve what?
Answer: Maintainability and ease of change
Loosely coupled, highly cohesive modules can be changed and tested independently, improving maintainability.
Instead of storing only the current state, a system stores every change as an immutable sequence of events and rebuilds state by replaying them. What is this pattern?
Answer: Event sourcing
Event sourcing persists all state changes as events, enabling audit trails and state reconstruction.
Which consistency model guarantees that, if no new updates occur, all replicas will converge to the same value over time?
Answer: Eventual consistency
Eventual consistency allows temporary divergence but ensures replicas converge once updates stop.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Editorial policy