Question 1
Topic: Understand DevOps principles and effectively work with containerization services
Skill tested: Selects a microservices boundary that supports independent deployment and data ownership.
A retail platform is being split from a single application into services. The checkout team needs to deploy frequently, while inventory changes are governed by a separate team and release schedule. Today, both capabilities share one relational schema, and checkout directly updates inventory tables. The organization wants independent deployment without introducing distributed transactions or a shared database as the long-term integration mechanism. Which design best supports the requirement?
Independent service ownership includes ownership of the service's data. A versioned API or domain event lets checkout interact with inventory through a stable contract, so each team can evolve and deploy its service without direct coupling to another service's schema. Separate images alone do not create independent service boundaries, and direct SQL access preserves the original coupling. Distributed transactions add coordination and availability complexity, contrary to the stated goal of avoiding them.