0–2 years · Junior — Java · Spring Boot · REST APIs · JPA / Hibernate · SQL · Microservices
Identifies a specific decision about performance tuning; explains the metrics used to gauge effectiveness; describes how it was monitored over time; outlines the corrective actions taken and the impact; avoids attributing blame to others.
What would you change in your approach to performance testing now?
Inspects the caching layer configuration for expiry settings; checks cache hit/miss ratios to evaluate effectiveness; examines data update patterns to ensure cache invalidation is correctly implemented; reviews logs for cache-related errors.
How do you redesign the caching strategy to ensure data freshness without sacrificing performance?
Confirms the batch job's success status and logs; checks for any data transformation logic that could have filtered out records; investigates database transaction logs for any rollbacks; examines source data for completeness.
You discover that the job processed duplicate data entries. How do you prevent this from occurring again?
Validates the service endpoint URLs and configurations; checks for network connectivity issues between services; verifies the health status of both microservices; inspects the logs for any error messages indicating the nature of the failure.
The failing service has a recent deployment that might contain breaking changes. How do you handle this situation?
Identifies critical sections of code that manipulate shared data; reviews the use of synchronized blocks or locks; checks for race conditions in code logic; considers using atomic variables or concurrent collections; tests with thread contention scenarios to reproduce the issue.
If synchronisation is not possible, what alternatives might ensure thread safety?
Monitors connection pool usage metrics; checks the maximum pool size configuration; reviews the number of active connections and idle connections; ensures proper release of connections after use; inspects for long-running queries that may be holding connections.
What configuration changes could help alleviate connection timeout issues?
Load six more — you will get questions you have not seen first.
Give me six more →Say your answer out loud before revealing. Reading the answer first feels like learning and is not.