Production operations
19 questions in 5 subtopics.
Incident response for Java services
A Java service gradually slows down over two days and then crashes withOutOfMemoryError: Java heap space. How would you find the leak?You are on call and a Spring Boot service's p99 latency jumped from 200 ms to 8 seconds, while CPU is low. What do you collect first and what are you looking for?After a deployment, a Spring Boot service's CPU goes to 100 percent on all pods and stays there, and requests time out. How do you find the cause quickly?You are incident commander for an outage where checkout fails across three Java services after a dependency upgrade was deployed to two of them. Describe how you run the incident from detection to resolution.Mean time to recovery for Java services in your organisation is high because each team investigates differently and many lack diagnostics. What would you standardise?Deployment strategies
Explain rolling, blue-green and canary deployments for a Spring Boot service and one risk of each.You need to rename a column used by a Spring Boot service with six replicas, with zero downtime. Describe the deployment and database migration sequence.Design a progressive delivery standard for 100 Java services, including automated canary analysis and rollback.Your company deploys most Java services once every two weeks in a coordinated release train, and releases often fail. Some leaders fear that deploying more often will increase risk. As the senior technical leader, how do you make the case and plan the change?Configuration management
How does Spring Boot resolve configuration fromapplication.yml, profiles, environment variables and command-line arguments, and which wins?Design configuration and secrets management for Spring Boot services on Kubernetes, where some values change at runtime and secrets must rotate.Design the configuration management approach for 200 Spring Boot services across four environments and three regions, so that configuration is reviewable, consistent and safe to change.A misconfiguration pushed to all regions at once caused a global outage at your company. As the senior technical leader, what changes would you make to how configuration is treated?Capacity planning
Use Little's law to estimate how many concurrent requests a Spring Boot service handles at 400 requests per second with an average latency of 150 ms, and what that means for thread and connection pool sizes.Marketing expects traffic to triple during a sale in six weeks. How do you plan capacity for a set of Java services and their database?Capacity planning in your organisation is reactive and done per team. How would you introduce a capacity planning process across services?Cost of running Java at scale
Your cloud bill for 300 Java services is rising 30 percent per year. What JVM and platform levers would you use to reduce cost?Your organisation runs Java workloads for 40 teams on shared Kubernetes clusters, and nobody can say what a given service costs. Design a cost visibility programme that leads teams to reduce waste.The CFO asks whether to rewrite core Java services in another language to save cloud cost. As the senior technical leader, how do you respond?No question matches these choices.