← All KCNA Flashcard Decks

Cloud Native Patterns Flashcards

7 cards from real KCNA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 Cloud Native Patterns flashcards as text
  1. What is the primary purpose of a service registry in a microservices architecture?

    Answer: Tracks the network locations of service instances for dynamic discovery

    A service registry maintains a dynamic list of available service instances and their addresses, enabling service discovery in environments where instances change frequently.

  2. Which pattern allows a new microservice to gradually take over functionality from a monolith without requiring a big-bang rewrite?

    Answer: Strangler Fig

    Strangler Fig wraps the monolith and incrementally routes functionality to new microservices, eventually replacing the monolith entirely.

  3. What does the principle of 'loose coupling' mean in microservices design?

    Answer: Services have minimal dependencies on each other's internals and can change independently

    Loose coupling means services interact through well-defined interfaces without knowledge of each other's implementation, enabling independent deployment and evolution.

  4. In Event Sourcing, how is the application state stored?

    Answer: As an ordered log of domain events rather than current state snapshots

    Event Sourcing stores every change as an immutable event, reconstructing current state by replaying the event log from the beginning.

  5. Which cloud native pattern involves deploying a proxy alongside a legacy application to add capabilities like logging or TLS without modifying its code?

    Answer: Sidecar

    The Sidecar pattern attaches a companion container to the main application to extend or enhance it without changing the application's code.

  6. What is the key advantage of using asynchronous messaging between microservices over synchronous REST calls?

    Answer: Services are decoupled and can operate independently even when the other is unavailable

    Asynchronous messaging decouples services in time — a producer can send messages even when consumers are down, improving resilience.

  7. In cloud native architectures, what is the role of a service mesh control plane?

    Answer: Manages and configures the sidecar proxies across all services

    The control plane in a service mesh (e.g., Istio's istiod) configures and manages the data plane sidecar proxies, distributing routing rules and policies.