Flashcardsfor IT Certifications

D1: Architectural Patterns

AWS Associate AWS Certified Developer – Associate exam practice questions · 11 flashcards

Question
Event-driven architecture?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Architectural Patterns practice questions and answers
  1. Event-driven architecture?
    Components react to events (state changes) published by producers, typically via EventBridge, SNS, SQS.
  2. Microservices architecture?
    Application split into small, independently deployable services communicating via APIs/events.
  3. Monolithic architecture?
    Single deployable unit containing all functionality; simpler but harder to scale/deploy independently.
  4. Choreography?
    Services react to each other's events with no central controller (e.g. via EventBridge).
  5. Orchestration?
    A central coordinator (e.g. Step Functions) directs the workflow steps.
  6. Fan-out pattern?
    One message delivered to many consumers, e.g. SNS topic → multiple SQS queues.
  7. Stateless vs stateful?
    Stateless services keep no session data locally (store it in DynamoDB/ElastiCache); stateful keep it in memory, hindering scaling.
  8. Tightly vs loosely coupled?
    Tightly coupled components depend directly on each other; loosely coupled communicate via queues/events and tolerate failures.
  9. Synchronous vs asynchronous?
    Synchronous waits for a response (API call); asynchronous hands off work (queue/event) and continues.
  10. Choreography vs orchestration trade-off?
    Choreography: loosely coupled, harder to trace. Orchestration: visible, central control, easier error handling.
  11. Saga pattern?
    Manages distributed transactions as steps with compensating actions on failure (often Step Functions).