Service-Oriented Architecture (SOA) Quiz

Q1. An e-commerce company changed the internal database structure of its product-catalog service for optimization, but the service’s interface (contract) to consumers remained unchanged and no clients were affected. Which SOA design principle is demonstrated by this scenario?




Q2. A widely used Order service needs to offer new features without disrupting existing consumers. What is the best approach to modify the service in line with SOA best practices?




Q3. Instead of hard-coding service endpoints, a company uses a central directory where services register themselves and clients look up services by name at runtime. What SOA component or concept does this describe?




Q4. In an enterprise SOA, a central ESB handles all message routing and transformations but becomes a performance bottleneck. Which alternative integration approach can alleviate this “God ESB” problem?




Q5. Service A places a request for Service B on a message queue because the operation is long-running and Service B may be offline. Which advantage of asynchronous messaging does this illustrate?




Q6. A financial service requires each SOAP message to be encrypted and signed end-to-end, even through intermediaries. Which security standard best meets this requirement?




Q7. An organization uses SAML tokens in WS-Security for internal SOAP services but is building public REST APIs for partners. Which authentication approach is more appropriate for these new REST services?




Q8. A booking service’s payment succeeds, but the subsequent hotel-reservation call fails. Without distributed XA transactions, which pattern maintains consistency?




Q9. Operations struggles to identify slow services and ensure SLA compliance in a complex SOA. What should be implemented to address this?




Q10. SOA governance enforces a single canonical model and routes every call through a central ESB, causing long design cycles and bottlenecks. Which governance pitfall is exemplified?




Q11. A user-profile service maintains no session state; every request contains all needed data and is processed independently. Which SOA principle does this illustrate?




Q12. Three teams independently built customer-profile services, duplicating functionality. Which SOA principle was neglected?




Q13. A team created hundreds of ultra-fine-grained services, leading to chatty, high-latency communication. Which design guideline could have prevented this?




Q14. A business process involving Services X, Y, Z can use a central orchestrator or event-driven choreography. To minimize tight coupling and a single point of failure, which approach is more suitable?




Q15. A company moving from traditional SOA to microservices keeps a centralized ESB for all communication. Why is this problematic?




software-architecture