Kubernetes and Cloud Native Associate (KCNA)Cloud Native ArchitectureMedium

A development team is building a new cloud-native application that consists of several independent microservices. They want to ensure that these services can communicate with each other efficiently and securely, regardless of the underlying networking complexities. They also need to implement features like traffic management, policy enforcement, and mutual TLS without modifying the application code. Which architectural component would best fulfill these requirements?

  1. ALoad Balancer
  2. BMessage Broker
  3. CService Mesh
  4. DAPI Gateway
Show answer & explanation

Correct answer: C. Service Mesh

A Service Mesh is designed to handle inter-service communication, providing capabilities like traffic management, policy enforcement, and mTLS at the infrastructure layer, abstracting these concerns from the application code.

Why the other options are wrong

  • A. A Load Balancer distributes network traffic across multiple servers.
  • B. A Message Broker facilitates asynchronous communication between services using message queues or topics.
  • D. An API Gateway manages external client requests and routes them to internal services.

Service Mesh

A dedicated infrastructure layer that handles service-to-service communication, observability, security, and reliability in a microservices architecture.

  • Manages inter-service communication.
  • Provides traffic management (routing, retries).
  • Enforces security policies (mTLS, access control).
  • Enables observability (metrics, tracing, logging).
  • Abstracts network concerns from application code.

Memory trick: Mesh your services for seamless, secure, and smart talks.

More Cloud Native Architecture questions