Security Architecture

A payments application runs as many microservices on one flat network. A compromised low-risk service reached the card-processing service. Which change BEST contains this while keeping services independently deployable and able to call it by API?

Show the answer

Correct answerA. Per-service network policies plus mutual authentication between services

AWhy this is right: Limiting and authenticating service-to-service calls blocks lateral movement yet still permits required API calls.

BWhy not this: Merging discards the microservice design and does not by itself add internal separation.

CWhy not this: Moving one service to another provider does not stop the flat network path to the card service and adds multicloud complexity.

DWhy not this: An air gap means no connectivity, so the card service could no longer be called by API.

Per-service network policies and mutual authentication restrict which services may call the card service, which stops lateral movement and keeps independent deployment. An air gap would block the API calls the service must receive.