S90.02 Sample Questions

S90.02 Sample Questions & Answers

XML and JSON data formats tie with REST and HTTP concepts for the heaviest weight, alongside SOAP, WSDL and WS-* technologies, cloud computing basics, service implementation mediums and roles, and message exchange patterns.

Launch the full S90.02 simulator →

Showing 10 of 20 free samples.

  1. Question 1Beginner

    Message Exchange Patterns and Service Activities · One-Way MEP

    A logistics company uses a workflow to process new shipments. The workflow starts when a client service sends a 'NewShipment' message. The workflow service must then process this message but does not need to send an immediate reply to the client. The client service's only concern is that the message is successfully delivered and accepted for processing. Which Message Exchange Pattern (MEP) best fits this interaction?

    Show answer & explanation

    Correct answer: B

    The One-Way MEP is ideal for this 'fire-and-forget' scenario. The service consumer sends a message to the service provider and does not expect a response. The interaction is complete once the message is sent. This decouples the client from the processing workflow, allowing for asynchronous communication. Request-Response would imply the client waits for a reply.

  2. Question 2Intermediate

    Cloud Computing Concepts · Rapid Elasticity

    An e-commerce platform experiences massive traffic spikes during holiday sales. The current infrastructure, based on a fixed number of large, vertically scaled servers, struggles to handle the load and is costly during off-peak times. The CTO wants to migrate to a cloud architecture that can automatically adjust capacity based on real-time demand to optimize both performance and cost. Which cloud computing characteristic is most central to achieving this goal?

    Show answer & explanation

    Correct answer: C

    Rapid elasticity is the ability to provision and release computing resources elastically, in some cases automatically, to scale rapidly outward and inward commensurate with demand. This directly addresses the need to handle traffic spikes during sales and scale down during quiet periods, thereby optimizing performance and cost. Measured Service is related, as it enables the pay-per-use model that makes elasticity financially viable, but elasticity is the core capability for adjusting capacity.

  3. Question 3Intermediate

    Service Implementation Mediums and Fundamentals · Service Agents and Intermediaries

    A service is designed to be a passive intermediary that logs all incoming messages to an audit trail before forwarding them to the final destination. The service must NOT alter the message content, headers, or structure in any way. This type of intermediary is best classified as a:

    Show answer & explanation

    Correct answer: C

    Service agents are classified as passive or active. A passive agent, such as a monitoring or logging agent, observes and processes message content without modifying it. An active agent, such as a data transformation or validation agent, actively modifies the message content. Since this service only logs the message and does not alter it, it is a passive service agent.

  4. Question 4Beginner

    SOAP, WSDL and WS-* Technologies · WSDL Structure

    When defining a technical service contract using WSDL, which part of the document separates the abstract definition of what the service does from the concrete details of how and where it is accessed?

    Show answer & explanation

    Correct answer: B

    The abstract definition in WSDL consists of , , and . These define the data types, the messages exchanged, and the operations, respectively, without specifying any protocol. The concrete definition consists of the (which specifies the protocol, like SOAP over HTTP) and (which specifies the endpoint address). Therefore, the and elements provide the concrete implementation details.

  5. Question 5Intermediate

    XML, JSON and Data Format Technologies · JSON Schema Validation

    A developer is writing a JSON Schema to validate incoming configuration files. The configuration requires a 'logLevel' property that must be one of the following exact string values: "DEBUG", "INFO", "WARN", or "ERROR". Which JSON Schema keyword should be used to enforce this constraint?

    Show answer & explanation

    Correct answer: D

    The enum keyword in JSON Schema is used to restrict a value to a fixed set of values. It must be an array with at least one element, where each element is unique. To meet the requirement, the schema would include "enum": ["DEBUG", "INFO", "WARN", "ERROR"]. The pattern keyword uses regular expressions, and const restricts the value to a single specific value, not a set.

  6. Question 6Beginner

    REST Services and HTTP Concepts · HTTP Status Codes

    A client application is interacting with a RESTful API. After a successful POST request to create a new resource at /orders, which HTTP status code should the server ideally return to indicate that the resource was created and to provide its new location?

    Show answer & explanation

    Correct answer: B

    The 201 Created status code is the most appropriate response for a successful POST request that results in the creation of a new resource. The server should also include a Location header in the response, containing the URI of the newly created resource (e.g., /orders/123). While 200 OK indicates success, 201 Created is more specific and idiomatic for resource creation.

  7. Question 7IntermediateSelect 2

    REST Services and HTTP Concepts · REST Architectural Constraints

    Which of the following are defining constraints of the REST architectural style? (Select TWO).

    Show answer & explanation

    Correct answers: B, D

    The stateless constraint means that each request from a client to the server must contain all the information needed to understand and process the request. The server should not store any client context between requests.

    The uniform interface constraint simplifies and decouples the architecture. It consists of four sub-constraints: resource identification (URIs), resource manipulation through representations (e.g., JSON), self-descriptive messages, and hypermedia as the engine of application state (HATEOAS).

  8. Question 8Advanced

    Cloud Computing Concepts · Horizontal vs Vertical Scaling

    A cloud architect is deciding between horizontal and vertical scaling for a new web application. The application is a stateless API gateway where traffic can increase by 100x during peak hours. The primary goal is to maintain high availability and responsiveness without over-provisioning resources. Which scaling approach is more suitable and why?

    Show answer & explanation

    Correct answer: C

    Horizontal scaling (scaling out) involves adding more instances of a service, typically behind a load balancer. For a stateless application with massive, unpredictable traffic spikes, this is the superior approach. It provides high availability (if one instance fails, others can handle the load) and superior elasticity. Vertical scaling (scaling up) has physical limits, often requires downtime, and creates a single point of failure.

  9. Question 9Intermediate

    SOAP, WSDL and WS-* Technologies · SOAP Message Structure

    The SOAP messaging framework is designed with extensibility as a core principle. How is this extensibility primarily achieved within the structure of a SOAP message?

    Show answer & explanation

    Correct answer: B

    The SOAP Header is an optional element within the SOAP Envelope designed specifically for extensibility. It allows for the addition of features and processing instructions that are not part of the core message payload. This is precisely how the entire suite of WS-* specifications (like WS-Security, WS-Addressing, WS-ReliableMessaging) adds functionality to SOAP messages, by defining specific header blocks.

  10. Question 10Advanced

    SOAP, WSDL and WS-* Technologies · UDDI Service Registries

    A software architect is designing a system where services must discover each other dynamically at runtime. The architect decides to use a centralized service registry based on the UDDI specification. Which part of the UDDI registry would a developer query to find services offered by a specific known business entity?

    Show answer & explanation

    Correct answer: D

    The UDDI registry is conceptually divided into sections. The White Pages contain business information such as name, address, and contact details, allowing users to discover services based on a known business identity. The Yellow Pages categorize businesses by industry or location (like a phone book's yellow pages). The Green Pages provide the technical details about the services themselves, including pointers to their WSDL contracts.

Ready for the real thing?

The full S90.02 simulator has every exam-style question, timed mode, and instant scoring.

Go to the S90.02 simulator →