Fundamental SOA & Service-Oriented Computing (S90-01A) Free Sample Questions

20 free sample questions202 in the full practice test

Try simulator

S90.01 Sample Questions

  1. Question 1

    A logistics company is designing a ShipmentTracking service. The initial design requires client applications to know whether a shipment is being transported by ground, air, or sea to call the correct internal endpoint (/trackGround, /trackAir, /trackSea). An architect flags this as a violation of a core service-orientation principle. Which principle is primarily being violated, and what is the best remedy?

    Answer and explanation

    Correct answer: B

    The Service Abstraction principle is violated because the service's internal logic (the different transport methods) is exposed to its consumers. Consumers should interact with a simplified, consistent contract. The best remedy is to create a single track endpoint that accepts a shipment ID. The service itself would then be responsible for looking up the transport method and routing the request internally, completely hiding this complexity from the client.

  2. Question 2

    A financial services firm is architecting a system for processing loan applications. The process involves multiple stages: credit check, risk assessment, document verification, and final approval. Each stage is implemented as an autonomous service. The firm requires a central point of control to manage the overall flow, handle complex conditional logic (e.g., require extra verification if risk is high), and provide detailed auditing for each application's journey. Which service composition style should be used to meet these requirements?

    Answer and explanation

    Correct answer: C

    Service orchestration is the correct choice when a business process requires central control, complex conditional logic, error handling, and transactional integrity across multiple service invocations. A central orchestrator (or composition controller) explicitly defines and executes the workflow, which directly addresses the firm's requirements for management and auditing. Choreography would be unsuitable as it lacks a central point of control and makes tracking the overall process state difficult.

  3. Question 3

    During the service-oriented analysis of a university's enrollment system, the following business entities have been identified: Student, Course, and Professor. The system needs to provide reusable capabilities to create, read, update, and delete information for each of these entities. According to standard service layer design, what type of services should be created to encapsulate these core business entities?

    Answer and explanation

    Correct answer: D

    Entity services are designed to manage specific business entities and are typically based on CRUD (Create, Read, Update, Delete) operations. Since Student, Course, and Professor are core business entities, creating corresponding entity services (e.g., Student Service, Course Service) is the standard approach. This promotes high reusability as many different business processes will need to interact with these fundamental entities.

  4. Question 4

    A large enterprise has a service inventory with hundreds of services. A new regulatory requirement mandates that any service accessing Personally Identifiable Information (PII) must log access requests to a central, immutable audit log. Which of the following approaches is the BEST way to implement this non-functional requirement across the service inventory while upholding service-orientation principles?

    Answer and explanation

    Correct answer: C

    This approach is the most aligned with SOA governance and principles. It centralizes the implementation of the cross-cutting concern (auditing) and applies it declaratively via policy. This preserves service autonomy, as the services themselves are unaware of the auditing logic. It avoids invasive code changes, ensures consistent application of the rule, and allows the policy to be updated in one place. Modifying each service is brittle and violates the principle of separation of concerns.

  5. Question 5

    An e-commerce company wants to achieve extreme agility in updating its business logic for promotions and pricing. They have a ProductCatalog service and an OrderProcessing service. They want to avoid redeploying these core services every time a new promotion (e.g., '10% off on Tuesdays', 'buy one get one free') is introduced. Which design pattern provides the best solution for externalizing this frequently changing logic?

    Answer and explanation

    Correct answer: C

    The Rules Centralization pattern addresses this exact problem. By externalizing the volatile promotion and pricing logic into a dedicated Business Rules Engine (BRE), the core services (ProductCatalog, OrderProcessing) can simply invoke the BRE to get decisions. This allows business analysts to update the rules in the BRE without requiring any code changes or redeployments of the services, thus achieving the goal of extreme agility.

  6. Question 6

    A healthcare provider is building a Patient Portal. They have existing, independent legacy systems for Appointments, Billing, and Medical Records. To accelerate portal development, they need to expose a single, simplified, and unified contract for patient information, hiding the complexity of interacting with the three separate backend systems. Which design pattern is most appropriate for this scenario?

    Answer and explanation

    Correct answer: B

    The Service Façade pattern is specifically designed to introduce a coarse-grained service that provides a simplified, unified interface to a collection of finer-grained or disparate backend systems. In this case, a PatientDataFacade service would accept a patient ID and then orchestrate calls to the Appointments, Billing, and Medical Records systems, aggregating the results into a single response. This perfectly matches the requirement to hide backend complexity and provide a simple contract for the new portal.

  7. Question 7

    Multiple answers

    When designing a service contract, which of the following elements are essential for achieving a standardized contract that promotes loose coupling? (Select TWO).

    Answer and explanation

    Correct answers: A, C

  8. Question 8

    A service composition for fulfilling a customer order fails intermittently. The composition involves a ProcessOrder orchestrator that calls three services in sequence: CheckInventory, ProcessPayment, and InitiateShipping. The architect suspects a 'race condition' where CheckInventory reports an item is in stock, but by the time ProcessPayment completes, another process has already claimed the last item. This indicates a failure in managing the consistency of the business transaction. Which design pattern specifically addresses the need to manage state and lock data across multiple service invocations in a long-running business transaction?

    Answer and explanation

    Correct answer: B

    The Process Centralization pattern, often implemented using concepts like sagas and compensation, is designed to manage long-running transactions that span multiple autonomous services. To solve the race condition, the orchestrator could first place a 'hold' on the inventory item (a reservation). If the payment fails, a compensation logic (e.g., ReleaseInventoryHold) is triggered to revert the business transaction. This ensures consistency without requiring distributed ACID transactions, which are generally avoided in SOA.

  9. Question 9

    True or False: Adopting a 'contract-first' design approach means that the underlying service logic must be fully implemented and tested before the service contract (e.g., WSDL or OpenAPI spec) is published to the service registry.

    Answer and explanation

    Correct answer: B

    This statement is false. The 'contract-first' approach advocates for designing and standardizing the service contract before the development of the underlying service logic begins. This allows for parallel development, as service consumers can build against the stable, published contract while the service provider team works on the implementation. It prioritizes the interface over the implementation details.

  10. Question 10

    A team is developing a CurrencyConversion utility service. The service is highly reusable and is called by numerous other services within the enterprise. To maximize scalability and simplify the architecture, the lead architect insists that the service must not retain any information about past conversion requests from any specific consumer. Which service-orientation principle is being strictly enforced?

    Answer and explanation

    Correct answer: C

    Service Statelessness is the principle that services should not manage or retain state information specific to any ongoing consumer activity. By not retaining history, the service treats every request as a brand-new interaction. This design greatly enhances scalability and resilience, as any instance of the service can handle any request, simplifying load balancing and failover.

Register free to unlock 10 more sample questions

Lifetime One

Own this practice test forever.

$79.99
$75.99
one-time
  • Full access to 202 questions
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • Brainy AI Assistant
  • Lifetime updates

Two

Any 2 exams per month.

$20.00/exam
$39.99
/month
  • 2 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 1,000 Brainy AI Credits
  • Cancel anytime

Premium Twelve

Any 12 exams over 3 months.

$15.00/exam
$179.99
/3 months
  • 4 active exam slots
  • Study, Timed & Flashcard Modes
  • All past and future versions i
  • Detailed Explanations
  • Study Tracking & Past Attempts
  • 15,000 Brainy AI Credits
  • Dedicated support
  • Friend seat included — full access

Trusted by professionals at

NvidiaSupabaseGitHubOpenAITursoClerkClaude AIAmazon