Deutsche Bank interview questions with answers (technology graduates)
Last updated 2026-11-19
Deutsche Bank hires technology graduates in India for its Technology, Data & Innovation teams in Pune and Bangalore. Candidates commonly describe interviews built around core Java, databases, concurrency and practical engineering topics such as messaging and caching, followed by a conversation about motivation and teamwork.
The thirteen questions below are practice in that style, with worked answers. They are not past questions. The online test is covered in Deutsche Bank coding round questions.
| Typical roles | Technology, Data & Innovation graduate (Pune, Bangalore) |
|---|---|
| Rounds, as commonly reported | Online assessment, technical interviews, HR or managerial round |
| Heavy topics | Java, SQL, concurrency, DSA, messaging, Linux |
| Hiring news | See Hiring status below |
Rounds as commonly reported
Candidates commonly report an online assessment with aptitude and coding, then one or two technical interviews and a final HR or managerial discussion. For campus hiring, the bank's own page says you apply through your placement cell, so the first steps depend on your college.
In technical interviews, questions often follow your resume. A project that uses a database invites SQL and indexing questions; one that uses threads invites concurrency questions. Prepare to explain trade-offs, not definitions.
What to prepare
- Java collections, memory model, concurrency and immutability.
- SQL joins, subqueries, grouping and locking. See SQL window functions interview questions.
- Messaging, caching, REST and basic Linux commands.
- Behavioural stories on mistakes, prioritisation and teamwork. See how to crack the technical interview.
Hiring status
For news that changes month to month, see Deutsche Bank hiring, which is updated from sourced reports. This page keeps only the facts below, each with its source.
Confirm eligibility and routes on Deutsche Bank's own students and graduates careers site and with your campus placement cell.
- Deutsche Bank's 2027 Summer Internship in Technology, Data & Innovation in Pune and Bangalore is open to penultimate-year students graduating in 2028.
- The 2027 Graduate Programme in Technology, Data & Innovation (Pune, Bangalore) shows a July 2027 start. In India, hiring runs through partner campuses between July and December: you apply through your campus and placement cell with a short application form and your CV.
- The India eligibility table says studies completed between 1 January 2027 and 1 July 2028 and no more than 12 months of full-time relevant experience; the bank's global graduate page gives a different window, so confirm with your placement cell.
Deutsche Bank interview questions with answers (technology graduates): questions with worked answers
1 Describe the Java memory areas and what lives in each.
mediumEach thread has its own stack holding frames with local variables and references. Objects live on the shared heap, which the garbage collector manages in young and old generations. Class metadata, static structures and the method area sit in metaspace (native memory since Java 8). A StackOverflowError means deep recursion exhausted a thread stack; an OutOfMemoryError for heap means live objects no longer fit. Local primitives are on the stack; the object an array variable points to is on the heap.
2 ArrayList versus LinkedList: when is each the right choice?
easyArrayList is backed by an array: O(1) random access and amortised O(1) append, O(n) insert or remove in the middle because elements shift. LinkedList gives O(1) insert and remove at a known node but O(n) to reach it, and uses more memory per element plus poor cache locality. In practice ArrayList wins for nearly all workloads, including many insertions, because of memory locality. Use ArrayDeque for queue and stack behaviour instead of LinkedList.
3 How do you create an immutable class in Java, and why would a bank want one?
mediumMake the class final, fields private and final, set them only in the constructor, provide no setters, and defensively copy any mutable input or output such as a Date or a List. Immutable objects are thread-safe without locks and safe to share, cache and use as keys, which suits values such as a trade or a money amount. Java records give a compact form for simple cases.
javaimport java.util.*; final class Trade { private final String id; private final List<String> legs; Trade(String id, List<String> legs) { this.id = id; this.legs = List.copyOf(legs); } String id() { return id; } List<String> legs() { return legs; } }4 How do you size a thread pool, and what goes wrong with an unbounded one?
mediumFor CPU-bound work use about the number of cores, since more threads only add context switching. For I/O-bound work use more, roughly cores x (1 + wait time / compute time), then measure. Create pools with ThreadPoolExecutor and a bounded queue and a rejection policy. Executors.newCachedThreadPool can create unlimited threads under load and exhaust memory, and an unbounded queue hides overload until memory runs out. Always shut the executor down.
5 SQL: list employees who earn more than the average salary of their own department.
mediumUse a correlated subquery that computes the average for the same department, or join to a grouped derived table. The derived-table version usually performs better because the average is computed once per department instead of once per row. Check how NULL salaries and departments should be treated.
sqlSELECT e.name, e.dept_id, e.salary FROM Employee e JOIN (SELECT dept_id, AVG(salary) AS avg_sal FROM Employee GROUP BY dept_id) d ON e.dept_id = d.dept_id WHERE e.salary > d.avg_sal;6 Why do banks use message queues such as Kafka or MQ, and what do at-least-once and exactly-once delivery mean?
hardQueues decouple producers from consumers, absorb bursts, and let services fail and recover without losing events. At-least-once delivery means a message is never lost but may be delivered twice after a retry, so consumers must be idempotent, for example by recording processed message ids. Exactly-once is achieved in practice with idempotent producers and transactional processing within a particular system, and is expensive. At-most-once may lose messages. For a payment event, at-least-once plus an idempotent consumer is the common design.
7 What is cache-aside, and how do you handle stale data?
mediumWith cache-aside the application checks the cache first, loads from the database on a miss and writes the result into the cache. Writes go to the database and then invalidate or update the cache entry. Staleness is controlled with a time-to-live, explicit invalidation on update, and by deciding which data can be stale at all: reference data tolerates minutes, account balances do not. Name the failure modes: a thundering herd on expiry and inconsistency between the database and the cache after a failed invalidation.
8 Given an application log, how would you find the ten most frequent IP addresses with a 500 status using Linux commands?
easyFilter lines with grep or awk, extract the IP field, then sort, count unique values and sort numerically in descending order. The sort before uniq is essential because uniq only collapses adjacent duplicates. Assume the IP is the first field and the status is the ninth, as in common web server formats, and say so.
textawk '$9 == 500 {print $1}' access.log | sort | uniq -c | sort -rn | head -109 Explain the Strategy and Observer design patterns with a banking example.
mediumStrategy swaps an algorithm at run time behind an interface: a FeeCalculator interface with implementations for domestic and international transfers lets the transfer service choose one without conditionals. Observer lets objects subscribe to events: when a payment is settled, the notification, ledger and audit components each react without the payment class knowing about them. Both reduce coupling and make adding behaviour a new class rather than an edit to existing code. Mention that Spring events and Java's functional interfaces implement these patterns in practice.
10 Compare optimistic and pessimistic locking. When would you choose each?
hardPessimistic locking takes a lock when reading (SELECT ... FOR UPDATE) so no one else can change the row until you commit; it is safe but reduces concurrency and risks deadlock. Optimistic locking reads without locking and checks at update time that a version column has not changed, retrying on conflict. Choose optimistic when conflicts are rare, for instance profile updates, and pessimistic when conflicts are common and retries are costly, such as decrementing a scarce inventory count. JPA offers both through @Version and lock modes.
11 Why Deutsche Bank, and why technology rather than a front-office role?
easyDescribe what draws you to bank technology: scale, risk, regulation and the chance to work on real data platforms. Name one concrete interest, for example data engineering or cloud migration, and connect it to your projects. Avoid facts about the bank that you cannot support from its own materials. Give a clear statement of what you want to learn in the first two years, and keep it to a minute.
12 Tell me about a mistake you made on a project and how you handled it.
mediumChoose a real mistake with a bounded impact, such as a wrong assumption about input data or a missed edge case found late. Say how you noticed, whom you told and when, how you fixed it, and the checks you added afterwards. Interviewers in banking prefer people who surface problems early and own them, so avoid blaming the tools or the team.
13 How do you prioritise when you have several tasks due at the same time?
easyClarify the deadlines and the consequences of delay, estimate each task, and do first what is both urgent and blocking others. Communicate early with whoever depends on you if something must slip, and agree what to cut instead of working silently late. Give an example from a semester or project where you did this, with the actual outcome.
Frequently asked questions
Which technologies does Deutsche Bank ask about?
Candidates commonly report Java, SQL, data structures and practical topics such as messaging, caching and Linux. Prepare whatever your resume lists in depth.
How do I apply for the graduate programme?
The bank's India page says hiring runs through partner campuses and you apply via your campus and placement cell. Check the bank's own site and your placement cell.
Is there a coding test?
An online assessment with coding and aptitude is commonly reported, but the format varies. Check your invitation.
Where is the latest hiring news?
See Deutsche Bank hiring for sourced notes, and the bank's own careers site for current rules.
Sources
Related guides
More in Company Interview Questions
- Directi Coding Round Questions With Solutions
- Directi Interview Questions and Answers
- Dream11 Coding Round Questions with Solutions
- Dream11 Interview Questions and Answers
- DXC Technology coding round questions
- DXC Technology interview questions and answers
- EPAM Coding Round Questions
- EPAM Interview Questions with Answers
- EY coding round questions
- EY interview questions and answers
- Fidelity Investments coding round questions with solutions
- Fidelity Investments interview questions with answers (engineers)