CompTIA Cloud Essentials+ (CLO-002)Management and Technical OperationsMedium
A development team is implementing a microservices architecture and needs a way to manage the traffic between services, enforce security policies, and collect telemetry data consistently across all service communications. Which tool or concept would best address these requirements?
- ALoad balancer
- BContainer orchestrator
- CService mesh
- DAPI Gateway
Show answer & explanationAnswer & explanation
Correct answer: C. Service mesh
A service mesh provides a dedicated infrastructure layer for handling service-to-service communication, offering features like traffic management, policy enforcement, and observability (telemetry) for microservices.
Why the other options are wrong
- A. A load balancer distributes incoming network traffic across multiple servers but doesn't manage internal service-to-service communication with policies and telemetry.
- B. A container orchestrator manages the deployment, scaling, and operation of containers but doesn't inherently provide the advanced traffic management, policy, and telemetry features for service-to-service communication.
- D. An API Gateway manages inbound traffic to microservices, often handling authentication, throttling, and routing, but not typically internal service-to-service traffic management and observability.
Service Mesh
A dedicated infrastructure layer for handling service-to-service communication in a microservices architecture, providing capabilities like traffic management, security, and observability.
- Manages traffic between microservices.
- Enforces policies (e.g., security, retry logic).
- Collects telemetry data (logs, metrics, traces).
Memory trick: Mesh connects services, making them secure and observed.