Skill 1.1.1
Describe architectural patterns (for example, event-driven, microservices, monolithic, choreography, orchestration, fanout)
Key Concepts
A monolithic application is built and deployed as a single unit, which is simple to start with but forces every change to redeploy everything and makes it hard to scale parts independently. Microservices split the application into small services that own their data and are deployed independently, typically on Lambda or containers behind API Gateway or a load balancer.
In an event-driven architecture, components publish events when something happens and other components react to them, using services such as EventBridge, SNS, SQS and DynamoDB Streams. Fan-out delivers one event to many consumers, usually with SNS feeding several SQS queues or an EventBridge rule with several targets.
When several services take part in a business process, they can be coordinated in two ways. With choreography, each service reacts to events and emits new ones, with no central controller; this is loosely coupled but harder to follow end to end. With orchestration, a central coordinator such as AWS Step Functions calls each step in order, handling retries and branching, which makes the flow visible and easier to manage.