Learning Partner

Bristlecone Angular + Java Interview Questions for 8+ years

Shared question set for 8+ years of experience, Technical round. Topics and wording follow the supplied notes; these are questions, not official company guidance.

  1. How do you monitor your application in production?
  2. Grafana shows continuously increasing memory, but CPU is normal. How would you investigate?
  3. CPU and memory are normal, but users report the application is hanging. What could be the issue?
  4. Database queries are slow. How would you optimize them apart from indexing?
  5. Given {1,1,1,1,2,2,3,4,4,4}, return the two most frequent elements.
  6. Implement the solution using Java Streams.
  7. What is the time complexity? How would you optimize it?
  8. Design a notification service supporting SMS, WhatsApp and Push. Is if-else appropriate, or can it be improved?
  9. In the Strategy pattern, how are implementations selected, and in what sequence are methods called?
  10. Where is sendNotification() defined? How would the client invoke it?
  11. A dropdown triggers an API call on every selection. How would you prevent unnecessary requests?
  12. The UI works correctly, but the same API is called twice. How would you investigate?
  13. How would you handle duplicate API requests on the backend?
  14. The database update succeeds, but the application crashes before publishing an event to Kafka. How would you prevent inconsistency?
  15. Explain the Transactional Outbox pattern in detail.
  16. How would you deploy a Spring Boot application without downtime?
  17. Explain Blue-Green and Canary deployments.
  18. A container starts successfully but exits after a few seconds. How would you troubleshoot?
  19. What is the difference between liveness and readiness probes?
  20. If the readiness probe fails, does Kubernetes restart the container?
  21. What is the significance of ChangeDetectionStrategy.OnPush?
  22. If an object passed through @Input() is mutated without changing its reference, why might the UI not update?

Browse Angular + Java question sets