🌍 Cloud Computing · subject
Cloud Computing Cloud Architecture and Design Syllabus
The Cloud Architecture and Design syllabus for Cloud Computing in full: 6 chapters and 27 topics, every one listed below, plus 50 Cloud Architecture and Design flashcards with answers.
Cloud Architecture and Design syllabus: all 6 chapters
Expand any chapter to see its topics and sub-topics.
-
Well-Architected Frameworks
6 topics- Operational Excellence Pillar
- Security Pillar
- Reliability Pillar
- Performance Efficiency Pillar
- Cost Optimization Pillar
- Sustainability Pillar
-
Scalability and High Availability
4 topics- Horizontal vs Vertical Scaling
- Fault Tolerance and Redundancy
- Multi-Region and Multi-AZ Deployments
- Disaster Recovery Strategies
-
Microservices Architecture
5 topics- Monolith to Microservices Migration
- Service Decomposition
- Inter-Service Communication
- Service Mesh
- API Gateways
-
Event-Driven and Messaging Patterns
4 topics- Message Queues
- Publish-Subscribe Systems
- Event Streaming with Kafka and Kinesis
- Decoupling and Buffering
-
Resiliency and Reliability Patterns
4 topics- Circuit Breaker Pattern
- Retry with Exponential Backoff
- Bulkhead and Throttling
- Chaos Engineering
-
Cloud Migration Strategies
4 topics- The 7 Rs of Migration
- Migration Assessment and Planning
- Data Migration Tools
- Hybrid and Phased Migration
Cloud Computing Cloud Architecture and Design flashcards — 50 questions with answers
What are the six pillars of the AWS Well-Architected Framework?
1) Operational Excellence, 2) Security, 3) Reliability, 4) Performance Efficiency, 5) Cost Optimization, and 6) Sustainability.
What is the focus of the Operational Excellence pillar?
Running and monitoring systems to deliver business value, and continually improving processes and procedures. Key ideas: perform operations as code, make frequent small reversible changes, anticipate failure, and learn from operational failures.
Name three design principles of the Operational Excellence pillar.
Perform operations as code (infrastructure and operations defined/automated), make frequent small reversible changes, refine operations procedures frequently, anticipate failure (pre-mortems), and learn from all operational failures.
What is the focus of the Security pillar?
Protecting data, systems, and assets. It covers identity and access management, detective controls, infrastructure protection, data protection (in transit and at rest), and incident response.
State the principle of least privilege in the Security pillar.
Grant each user, service, or component only the minimum permissions required to perform its function, and no more — reducing the blast radius of compromised credentials.
What does 'defense in depth' mean in cloud security?
Applying multiple layers of security controls (network, host, application, data) so that if one layer fails, others still protect the system.
What is the focus of the Reliability pillar?
Ensuring a workload performs its intended function correctly and consistently, and can recover from failures (infrastructure or service disruptions) and dynamically acquire resources to meet demand.
Name key design principles of the Reliability pillar.
Automatically recover from failure, test recovery procedures, scale horizontally to increase aggregate availability, stop guessing capacity, and manage change through automation.
What is the focus of the Performance Efficiency pillar?
Using computing resources efficiently to meet requirements and maintaining that efficiency as demand changes and technologies evolve — selecting the right resource types/sizes, monitoring, and making informed tradeoffs.
What is 'mechanical sympathy' in the Performance Efficiency pillar?
Understanding how a technology works internally and choosing the technology approach that best aligns with your workload's access patterns and goals.
What is the focus of the Cost Optimization pillar?
Avoiding unnecessary costs — understanding spending, selecting the most appropriate and right-sized resources, scaling to meet needs without overspending, and using managed services to reduce cost of ownership.
Name key design principles of the Cost Optimization pillar.
Adopt a consumption model (pay only for what you use), measure overall efficiency, stop spending on undifferentiated heavy lifting (use managed services), analyze and attribute expenditure, and implement cloud financial management.
What is the focus of the Sustainability pillar?
Minimizing the environmental impact of running cloud workloads — maximizing utilization, using more efficient hardware/software, reducing downstream impact, and adopting managed services to improve resource efficiency.
Give three design principles of the Sustainability pillar.
Understand your impact, establish sustainability goals, maximize utilization (right-size), anticipate and adopt new more efficient hardware/software, use managed services, and reduce the downstream impact of cloud workloads.
Compare horizontal scaling (scale out) versus vertical scaling (scale up).
Horizontal scaling adds more instances/nodes to distribute load; vertical scaling increases the resources (CPU, RAM) of a single instance. Horizontal offers near-limitless scaling and better fault tolerance; vertical is simpler but limited by max machine size and creates a single point of failure.
What is a key limitation of vertical scaling compared to horizontal scaling?
Vertical scaling is bounded by the maximum size of a single machine and usually requires downtime to resize; it also retains a single point of failure. Horizontal scaling has no hard upper bound and improves availability.
Define fault tolerance.
The ability of a system to continue operating correctly (possibly at reduced capacity) even when one or more of its components fail, typically achieved through redundancy and failover.
Define redundancy in system design.
Duplicating critical components or data so that a backup can take over if the primary fails, eliminating single points of failure.
What is the difference between active-active and active-passive redundancy?
In active-active, all redundant nodes serve traffic simultaneously (load shared, instant failover). In active-passive, a standby node stays idle until the active node fails, then takes over — cheaper but with failover delay.
What is a single point of failure (SPOF)?
A component whose failure causes the entire system to stop functioning. Eliminating SPOFs through redundancy is central to reliable architecture.
Show the other 30 Cloud Architecture and Design flashcards
What is an Availability Zone (AZ)?
One or more discrete, isolated data centers within a region, each with independent power, cooling, and networking, connected via low-latency links. Multi-AZ deployment protects against data-center-level failures.
What is the difference between Multi-AZ and Multi-Region deployment?
Multi-AZ spreads resources across isolated data centers within one region for high availability and low-latency failover. Multi-Region spans geographically separate regions for disaster recovery, lower global latency, and protection against region-wide outages, but adds complexity and data-replication cost/latency.
Why does cross-region replication introduce challenges that multi-AZ does not?
Regions are far apart, so replication incurs higher network latency, data-consistency tradeoffs (often eventual consistency), higher cost, and data-sovereignty/compliance considerations.
What are the four common Disaster Recovery (DR) strategies, ordered by cost and recovery speed?
1) Backup and Restore (cheapest, slowest), 2) Pilot Light, 3) Warm Standby, 4) Multi-Site Active/Active (most expensive, fastest). Speed and cost increase from backup/restore to active/active.
Define RTO (Recovery Time Objective).
The maximum acceptable time to restore a system to operation after a disruption — i.e., how long you can afford to be down.
Define RPO (Recovery Point Objective).
The maximum acceptable amount of data loss measured in time — i.e., how far back in time recovery data must reach (how much recent data you can afford to lose).
Contrast the Pilot Light and Warm Standby DR strategies.
Pilot Light keeps only core services (e.g., replicated database) running minimally in the DR site, scaling up the rest on failover. Warm Standby runs a scaled-down but fully functional copy always on, giving faster recovery at higher cost.
In DR strategies, which has the lowest RTO/RPO: backup-and-restore or multi-site active/active?
Multi-site active/active has the lowest (near-zero) RTO and RPO because a fully running duplicate serves traffic continuously; backup-and-restore has the highest RTO/RPO.
What is a monolithic architecture?
An application built as a single, unified, tightly-coupled deployable unit where all functionality (UI, business logic, data access) runs in one process/codebase and is deployed together.
What is a microservices architecture?
An architectural style structuring an application as a suite of small, independently deployable services, each owning a single business capability and communicating over lightweight protocols (e.g., HTTP/REST, messaging).
What is the Strangler Fig pattern for monolith-to-microservices migration?
Incrementally replacing pieces of a monolith by routing specific functionality to new microservices behind a facade/proxy, gradually 'strangling' the monolith until it can be retired — avoiding a risky big-bang rewrite.
Name two advantages and one disadvantage of microservices over monoliths.
Advantages: independent deployment/scaling of services and technology heterogeneity (fault isolation). Disadvantage: increased operational complexity — distributed systems bring network latency, data consistency challenges, and harder debugging/monitoring.
What is service decomposition, and by what principle are services typically bounded?
Service decomposition is breaking an application into distinct services. Services are typically bounded by business capability or Domain-Driven Design 'bounded contexts', keeping each service cohesive around one responsibility and loosely coupled from others.
What is a 'bounded context' in Domain-Driven Design?
An explicit boundary within which a particular domain model is defined and consistent. It maps well to microservice boundaries, ensuring each service owns its own model and data.
Contrast synchronous and asynchronous inter-service communication.
Synchronous (e.g., REST/gRPC request-response) has the caller wait for a reply, creating temporal coupling. Asynchronous (e.g., messaging/events) lets the sender continue without waiting, improving decoupling and resilience but adding eventual-consistency complexity.
What is gRPC and why is it used for inter-service communication?
gRPC is a high-performance RPC framework using HTTP/2 and Protocol Buffers for compact binary serialization. It offers low latency, strong typing via contracts, streaming, and is favored for internal service-to-service calls.
What is a service mesh?
A dedicated infrastructure layer that manages service-to-service communication, providing traffic management, load balancing, service discovery, observability, retries, and mutual TLS security — transparently, without changing application code.
In a service mesh, what is the sidecar proxy pattern?
A proxy (e.g., Envoy) deployed alongside each service instance that intercepts all inbound/outbound traffic, handling routing, security (mTLS), and telemetry. The collection of sidecars forms the mesh's data plane.
Distinguish the data plane and control plane in a service mesh.
The data plane consists of sidecar proxies that carry the actual service traffic. The control plane (e.g., Istio's istiod) configures and manages those proxies — distributing policies, certificates, and routing rules.
Name two popular service mesh implementations.
Istio (with Envoy proxies) and Linkerd; others include Consul Connect and AWS App Mesh.
What is an API Gateway and what functions does it provide?
A single entry point for client requests to backend services. It handles request routing, composition/aggregation, authentication/authorization, rate limiting/throttling, SSL termination, caching, and protocol translation.
How does an API Gateway differ from a service mesh?
An API Gateway manages north-south traffic (external clients to services) at the edge. A service mesh manages east-west traffic (internal service-to-service communication) within the cluster.
What is a message queue and what communication model does it enable?
A message queue stores messages sent by producers until consumers process them, enabling asynchronous, decoupled point-to-point communication. It buffers load, smooths spikes, and allows producers and consumers to operate independently.
In a point-to-point message queue, how many consumers process each message?
Exactly one consumer processes each message; once consumed and acknowledged, the message is removed from the queue (competing consumers share the workload).
What is the publish-subscribe (pub/sub) messaging model?
Publishers send messages to a topic without knowing subscribers; all interested subscribers receive a copy of each message. This one-to-many, fully decoupled model broadcasts events to multiple consumers.
Contrast message queues (point-to-point) with publish-subscribe.
In a queue, each message is delivered to a single consumer (work distribution). In pub/sub, each message is delivered to all subscribers of the topic (broadcast/fan-out).
What is event streaming and how does it differ from traditional message queues?
Event streaming captures events as an ordered, durable, replayable log that multiple consumers can read independently at their own offset, retaining events for a configured period. Traditional queues typically delete a message once consumed and don't support replay.
In Apache Kafka, what is a topic partition and why does it matter?
A partition is an ordered, append-only sub-log of a topic. Partitions enable parallelism (each consumed by one consumer in a group) and scalability; ordering is guaranteed only within a partition, not across the whole topic.
In Kafka, what is a consumer group and how does it relate to partitions?
A consumer group is a set of consumers sharing a subscription; Kafka assigns each partition to exactly one consumer in the group, so adding consumers (up to the partition count) increases parallel consumption. Multiple groups each get all messages independently.
Compare Apache Kafka and Amazon Kinesis for event streaming.
Both are distributed, partitioned, replayable streaming platforms. Kafka is open-source, self- or vendor-managed, uses topics/partitions with tunable retention. Kinesis is a fully managed AWS service using streams/shards with a default retention (24 hours, extendable up to 365 days), trading some control for reduced operational overhead.
Cloud Computing Cloud Architecture and Design FAQ
What is in the Cloud Computing Cloud Architecture and Design syllabus?
Cloud Computing Cloud Architecture and Design is split into 6 chapters: Well-Architected Frameworks, Scalability and High Availability, Microservices Architecture, Event-Driven and Messaging Patterns, Resiliency and Reliability Patterns and Cloud Migration Strategies. Together they contain 27 topics.
How many chapters are in Cloud Computing Cloud Architecture and Design?
6 chapters, containing 27 topics. The largest chapter is Well-Architected Frameworks, with 6 topics.
Are there flashcards for Cloud Computing Cloud Architecture and Design?
Yes — a 50-card Cloud Architecture and Design deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.