Question 180
Microservices exchange confidential API data inside a cluster. Perimeter firewalls cannot inspect these east-west calls, and the design requires both endpoints to authenticate each other and encrypt their service-to-service traffic. Which mechanism BEST satisfies both requirements?
Explanation
Correct Answer
A north-south perimeter firewall protects entry into or exit from the cluster, often using network policies at the edge. East-west requests between services can bypass that inspection point entirely. Even when a firewall filters traffic, it does not necessarily provide mutual cryptographic identity confirmation and encrypted application transport for each internal call. Issue certificates through a trusted workload identity process, and do not trust an identity merely because TLS negotiated successfully.
Incorrect Answers
Mutual TLS establishes an encrypted transport session in which both microservices authenticate peer identities using appropriately trusted certificates. It protects confidential east-west API traffic against passive observers and gives each endpoint cryptographic evidence of the other’s identity. Enforce authorization based on workload identity and rotate certificates securely, because mTLS alone does not decide which API operation is permitted. The case demands both encryption and bilateral authentication inside the cluster.
IP-based microsegmentation can restrict which source networks or workloads connect to particular ports, reducing lateral movement. Those flow rules do not inherently authenticate each service as a cryptographic peer or encrypt its payload. Workload IP addresses may also change during orchestration. Segmentation complements, but cannot replace, mutual TLS for both explicit requirements.
Separate container or kernel isolation boundaries can limit some classes of host compromise but do not automatically protect application messages exchanged across the cluster network. A container runtime does not by itself supply peer certificate authentication or transport encryption between microservices. The requested controls belong on the service communications path.