S90.09 Sample Questions

S90.09 Sample Questions & Answers

Designing around business domains and the hurdles microservices bring ties with cloud and container technologies for the top share, next to service-oriented design principles, DevOps practices, integration patterns, and service security and governance.

Launch the full S90.09 simulator →

Showing 10 of 20 free samples.

  1. Question 1Intermediate

    DevOps and Automation · DevOps Stages and Toolchains

    A DevOps team is building a CI/CD pipeline for a microservice. A key goal is to ensure that any code change passes a series of automated quality gates before it can be deployed to production. The pipeline must support rapid feedback to developers and prevent buggy code from reaching users. The following diagram shows a proposed pipeline structure. Which stage is missing that is critical for enabling a zero-downtime deployment strategy and immediate rollback capability?

    flowchart LR A[Commit Code] --> B{Build & Unit Test} B --> C{Static Code Analysis} C --> D[Integration Test] D --> E[Deploy to Staging] E --> F{User Acceptance Test} F --> G[Deploy to Production]
    Show answer & explanation

    Correct answer: C

    The diagram shows a direct 'Deploy to Production' step. To achieve zero-downtime and fast rollback, a progressive deployment strategy is needed. A canary deployment would release the new version to a small subset of users first, while a blue-green deployment would deploy the new version to a parallel production environment. Both allow for validation in a live environment before a full cutover and provide an immediate rollback path by simply redirecting traffic back to the old version. This stage is essential for mitigating deployment risk.

  2. Question 2Intermediate

    Service-Oriented Design Fundamentals · Service Delivery Lifecycle Integration

    When designing a new, agnostic utility service for currency conversion, an architect must decide on a versioning strategy. The service will be used by many independent consumer applications across the enterprise. The primary goal is to allow the service to evolve without breaking existing consumers. Which versioning approach best supports this goal?

    Show answer & explanation

    Correct answer: B

    URI versioning is a common and clear method for supporting multiple, potentially breaking, versions of a service concurrently. This allows existing consumers to continue using the older, stable version (v1) while new consumers can adopt the new version (v2). It gives consumers control over their migration timeline, preventing the service evolution from breaking them and thus achieving the primary goal.

  3. Question 3Intermediate

    Cloud and Container Technologies · Technology Drivers for Cloud-based Deployments

    A cloud architect is deciding between using a container orchestration platform like Kubernetes or a Serverless/FaaS platform like AWS Lambda for a new event-processing service. The service will process uploaded images to extract metadata. The workload is expected to be very spiky, with long idle periods followed by sudden bursts of thousands of concurrent requests. Cost optimization for idle time is a major priority. Which platform is the better choice and why?

    Show answer & explanation

    Correct answer: B

    Serverless (FaaS) platforms are ideal for spiky, event-driven workloads. The key benefits that match the requirements are the 'scale-to-zero' capability, which means no resources are consumed and no costs are incurred during idle periods, and the automatic, massive scaling in response to event bursts. This directly addresses the cost optimization and scalability requirements more effectively than a Kubernetes cluster, which would require a minimum number of nodes to be running continuously.

  4. Question 4IntermediateSelect 3

    DevOps and Automation · Microservice Automation, Logging and Monitoring

    An operations team is struggling to troubleshoot performance issues in a distributed microservices environment. When a user reports a slow API call, it's difficult to identify which downstream service is the bottleneck because logs from each service are stored in separate files on different virtual machines. What combination of practices is essential for establishing effective observability in this environment? (Select ALL that apply)

    Show answer & explanation

    Correct answers: A, B, D

    Aggregating logs from all services into a single, searchable platform (like the ELK stack or Splunk) is the first step to being able to analyze behavior across the entire system.

    This is crucial for understanding the path of a request as it travels through multiple services. By propagating a unique correlation ID, tracing tools (like Jaeger or Zipkin) can visualize the entire call graph and pinpoint latency in specific downstream services.

    Collecting time-series metrics (like request latency, error rates, resource utilization) from each service and visualizing them in dashboards (using tools like Prometheus and Grafana) allows the team to spot anomalies and correlate performance degradation with system events.

  5. Question 5Advanced

    Service-Oriented Design Fundamentals · Service Composability

    A team is designing a service that aggregates data from two other services, Service A (product details) and Service B (inventory levels), to provide a complete view for a web storefront. Service A has a 99.5% availability SLA, and Service B has a 99.0% availability SLA. Assuming the services fail independently, what is the maximum theoretical availability of the new aggregator service if it relies on synchronous calls to both services to fulfill a single request?

    Show answer & explanation

    Correct answer: C

    When services are composed synchronously, their availabilities are multiplied to calculate the composite availability. The aggregator service is only available if BOTH Service A AND Service B are available. Therefore, the composite availability is calculated as: 0.995 * 0.990 = 0.98505, or 98.505%. This demonstrates how synchronous dependencies in a service composition decrease overall availability.

  6. Question 6Beginner

    Microservices and Domain-Driven Design · Domain-Driven Design and Microservices

    In Domain-Driven Design (DDD), what is the primary role of a 'Bounded Context' when defining the boundaries for microservices?

    Show answer & explanation

    Correct answer: B

    A Bounded Context is a core pattern in DDD that defines the boundary where a specific domain model applies. Inside this context, terms and concepts have a precise, unambiguous meaning (the ubiquitous language). This makes it a natural and effective boundary for a microservice, ensuring the service has a clear, well-defined responsibility and a consistent internal model.

  7. Question 7Intermediate

    Cloud and Container Technologies · Containerization vs. Virtualization

    A system architect is designing a Docker image for a new Java-based microservice. To minimize the attack surface and reduce the image size, the architect wants to use a multi-stage build. Which of the following best describes the process of a multi-stage Docker build?

    graph TD subgraph Build Stage [Build Stage (FROM maven:3.8-jdk-11)] A[Copy Source Code] --> B[Run Maven Build] B --> C[Generate JAR file] end subgraph Final Stage [Final Stage (FROM openjdk:11-jre-slim)] D[Copy JAR from Build Stage] --> E[Set Entrypoint] end C --> D
    Show answer & explanation

    Correct answer: B

    This is the correct definition of a multi-stage build. It uses one or more intermediate stages to perform build-time tasks, leveraging images that contain compilers and other tools. The final stage starts from a clean, minimal base image and copies only the necessary runtime artifacts from the previous stages. This ensures the final image contains only the application and its runtime dependencies, drastically reducing its size and attack surface by excluding all build tools.

  8. Question 8Beginner

    DevOps and Automation · Microservice Operations

    A project requires a mechanism to store and retrieve structured configuration data for a fleet of microservices, such as database connection strings and feature flags. This data needs to be updated dynamically without requiring a service restart. The solution should also provide a history of changes. Which technology fulfills the role of a ________?

    Show answer & explanation

    Correct answer: B

    A distributed configuration store is designed specifically for this purpose. Tools like Consul's Key-Value (KV) store or etcd provide a centralized, highly available location to store configuration data. Services can watch for changes and update their configuration dynamically, and these systems typically offer versioning or an audit trail of changes.

  9. Question 9Intermediate

    Integration and Messaging · Service Integration Patterns

    A legacy inventory management system exposes its functionality via a proprietary binary protocol over TCP. A new set of RESTful microservices needs to interact with this system. An architect wants to avoid embedding the complex legacy integration logic within each microservice that needs inventory data. Which enterprise integration pattern is most suitable for encapsulating the logic required to communicate with the legacy system?

    Show answer & explanation

    Correct answer: C

    The Adapter pattern is the ideal solution. It involves creating a dedicated service or component that acts as a translator between the modern REST/JSON world and the legacy binary protocol. This new adapter service exposes a clean, modern REST API to the other microservices and encapsulates all the complexity of dealing with the legacy system. This prevents the legacy protocol logic from 'corrupting' the design of the new microservices, hence it's also known as an Anti-Corruption Layer.

  10. Question 10Beginner

    Security and Governance · WS-Security Standards

    The WS-Security specification is primarily concerned with applying security measures at which layer of the OSI model?

    Show answer & explanation

    Correct answer: B

    WS-Security operates at the Application Layer (Layer 7). It provides message-level security by embedding security information (like signatures and encryption details) directly within the SOAP message header. This is distinct from transport-level security (like TLS/SSL), which operates at a lower layer and only protects the communication channel.

Ready for the real thing?

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

Go to the S90.09 simulator →