Cloud Flashcards

(7 cards)

1
Q

Explain about Cloud Native Design Patterns

A

Cloud-native design patterns are proven, reusable solutions to common architectural challenges when building applications specifically for cloud environments. These patterns take full advantage of cloud characteristics like scalability, elasticity, resilience, automation, and managed services.

🔹 Key Characteristics of Cloud-Native Design

Before the patterns, here’s what makes a system cloud-native:
* Microservices-based (vs. monoliths)
* API-first and loosely coupled
* Scalable and elastic
* Resilient to failure
* Observable (metrics, logs, traces)
* Automated deployments (CI/CD)
* Runs on containers, serverless, or managed services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain about Decomposition Patterns as Cloud Native Design Patterns

A

🧱 1. Decomposition Patterns

For splitting a system into smaller, manageable pieces.

  • Microservice
    Decompose app into independent services, each with a single responsibility.
  • Service per Team
    Each team owns and deploys its own services, aligning org and architecture.
  • Backend for Frontend (BFF)
    Custom APIs for each frontend (mobile/web) to reduce over-fetching.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Explain about Integration Patterns as Cloud Native Design Patterns

A

🔁 2. Integration Patterns

For enabling services to talk to each other reliably.

  • API Gateway,
    Entry point for all client requests; handles routing, security, rate limiting.
  • Service Mesh
    Adds observability, traffic control, and security between services.
  • Message Broker / Event Bus
    Use async communication (e.g., Kafka, SNS/SQS, EventBridge) for decoupling.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Explain about Scalability and Recillience Patterns as Cloud Native Design Patterns

A

🔄 3. Scalability and Resilience Patterns

For building fault-tolerant and scalable systems.

Pattern
Description
Circuit Breaker
Stop calls to a failing service temporarily to prevent cascading failure.
Retry with Backoff
Retry failed requests with increasing delay.
Bulkhead
Isolate parts of a system so that a failure in one doesn’t crash others.
Queue-based Load Leveling
Use queues to buffer workload spikes and protect backends.
Auto-scaling
Automatically scale resources based on demand (e.g., AWS Auto Scaling, K8s HPA).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain about Deployment and Infrastructure Patterns as Cloud Native Design Patterns

A

☁️ 4. Deployment and Infrastructure Patterns

For automating and managing infrastructure and deploymen

Pattern
Description
Immutable Infrastructure
Replace instances rather than patching them (e.g., blue/green, canary).
Infrastructure as Code (IaC)
Define infra in code (e.g., Terraform, CloudFormation).
CI/CD Pipelines
Automate building, testing, and deploying code.
Containerization
Package app and dependencies together (e.g., Docker, Kubernetes).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain about Observability and Management as Cloud Native Design Patterns

A

📊 5. Observability and Management Patterns

For monitoring, logging, and tracing cloud-native apps.

Pattern
Description
Centralized Logging
Aggregate logs from all services for analysis (e.g., ELK stack, CloudWatch Logs).
Distributed Tracing
Trace requests across microservices (e.g., AWS X-Ray, Jaeger).
Health Checks
Expose health endpoints for orchestration systems to monitor app state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain about Serverless Patterns as Cloud Native Design Patterns

A

🧪 6. Serverless Patterns (if using FaaS)

For event-driven or function-based architectures.

Pattern
Description
Function Chaining
Chain multiple functions together in a workflow (e.g., AWS Step Functions).
Event Sourcing
Record all changes as a sequence of events.
Fan-Out / Fan-In
Split tasks into parallel executions and gather results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly