Design Resilient Architectures

Inventory and ordering microservices share database tables, so inventory schema changes frequently require coordinated releases. Which change BEST allows independent releases while preserving inventory's control over its data?

Show the answer

Correct answerB. Give inventory its own schema accessed through its service API.

AWhy not this: Read replicas retain the shared schema dependency and do not establish data ownership.

BWhy this is right: An API provides a stable contract while inventory controls its internal schema and data.

CWhy not this: Independent container deployments do not remove coupling caused by direct access to shared tables.

DWhy not this: Separate load balancers isolate request routing, not database schema dependencies.

Service-owned data accessed through an API hides the internal schema and reduces release coupling. Separate ECS services enable independent compute scaling but do not remove dependencies on shared tables.