Question 1
Topic: Design & Architecture with SOA,Services & Microservices
Skill tested: Applies service-orientation principles to replace tightly coupled application silos.
A retailer is replacing a set of departmental applications that each implement their own customer validation, pricing rules, and order submission. The departments currently exchange nightly files, and each application must be changed independently when a business rule changes. The retailer wants services that can support multiple business processes without making every consumer dependent on internal implementation details. Existing systems must remain operational during migration, so a single replacement application is not feasible. Which design approach best addresses the underlying problem?
Business-aligned services expose capabilities through explicit contracts while allowing consumers to compose those capabilities for different processes. This reduces the dependency on departmental application internals and avoids replicating rules in every consumer. Separate wrappers in A preserve the silos and duplicated logic. C centralizes logic but requires the coordinated replacement the scenario rules out and risks creating a monolith. Standardized files in D may improve interoperability, but they retain batch coupling and do not make capabilities directly reusable.