Java Senior Interview Questions

6,025 java senior interview questions shared by candidates

write a program for give taks using in AI 1. Build a small functional app showing integration between backend, AI logic, and optionally frontend/dashboard. 2. Use an AI code assistant (mandatory) like Copilot or Cursor — and maintain a log of prompts, AI suggestions, and your actions. 3. Implement simple AI logic (simulation) — e.g., categorize incidents, suggest severity, or generate summaries (no real ML model needed). 4. Include data storage (DB + CRUD) for the events/incidents and AI-generated insights. 5. Choose one flexible module — either a Backend API or a Frontend Dashboard. 6. Show good design & architecture — modular code, proper API flow, clean database structure. 7. Write a clear README — setup steps, design decisions, AI usage log, prompt strategy, assumptions, and future improvements. 8. Demonstrate prompt engineering skills — how effectively you guided the AI, refined responses, and used templates/rules (conceptually). 9. Focus on clarity and functionality — working, readable, and well-documented code matters more than perfection. second round : tell me about projects in brifly with explaination. mostly situation base quetions.(if this hapens and what you will do) do you know deployement. how can you do cicd pipline.( ci-cd.yml) how can you do docker containarization.(dockerfile) how can you use kubernets and rate limiter .(k8s.yml) if one instance is going to failler and then what happens and what will you do ? how whould know which service is going to be down ?

sr java developer

Interviewed at Motadata

3.8
Oct 13, 2025

write a program for give taks using in AI 1. Build a small functional app showing integration between backend, AI logic, and optionally frontend/dashboard. 2. Use an AI code assistant (mandatory) like Copilot or Cursor — and maintain a log of prompts, AI suggestions, and your actions. 3. Implement simple AI logic (simulation) — e.g., categorize incidents, suggest severity, or generate summaries (no real ML model needed). 4. Include data storage (DB + CRUD) for the events/incidents and AI-generated insights. 5. Choose one flexible module — either a Backend API or a Frontend Dashboard. 6. Show good design & architecture — modular code, proper API flow, clean database structure. 7. Write a clear README — setup steps, design decisions, AI usage log, prompt strategy, assumptions, and future improvements. 8. Demonstrate prompt engineering skills — how effectively you guided the AI, refined responses, and used templates/rules (conceptually). 9. Focus on clarity and functionality — working, readable, and well-documented code matters more than perfection. second round : tell me about projects in brifly with explaination. mostly situation base quetions.(if this hapens and what you will do) do you know deployement. how can you do cicd pipline.( ci-cd.yml) how can you do docker containarization.(dockerfile) how can you use kubernets and rate limiter .(k8s.yml) if one instance is going to failler and then what happens and what will you do ? how whould know which service is going to be down ?

Viewing 1721 - 1730 interview questions

Glassdoor has 6,025 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.