Commonwealth Bank of Australia Data Scientist Campus Guide: MCQs, One SQL Query and One Python Question
Prepare for Commonwealth Bank of Australia data scientist interviews with reported assessment patterns, interview questions, and preparation advice.
On this page
Last reviewed November 16, 2026.
For students applying for data science roles.
Built by the Codinzhub team from CBA online assessment questions that IIT students shared on Codinzhub on October 30 and 31, 2026. Each one is one student's memory of their paper, so use this as a map, not a promise.
The 30-second version. CBA's data science OA at IIT Roorkee had 25 to 35 MCQs, 1 SQL query and 1 Python coding question. The MCQs mix probability (including Bayes' rule) and data interpretation. The SQL was simple (an average with no join), and the coding question was maximum product subarray.
How this guide was built. The OA comes from IIT Roorkee students' posts on Codinzhub. No interview rounds have been posted yet, so that section is marked as research.
Other CBA campus roles: Graduate engineer · Data scientist
Round-by-round breakdown
Stage 1: Online assessment
At a glance
- Length: about an hour
- Questions per round: 25 to 35 MCQs, 1 SQL, 1 Python
- What was asked: Bayes' rule, data interpretation, a single-table average, maximum product subarray
- Most common: the maximum product subarray
What students were asked:
| Part | Question (our summary) | How to approach it | Practice |
|---|---|---|---|
| MCQ | 20% travel by bus, 80% of them arrive at 9 a.m.; given someone arrived at 9, what is the chance they took the bus? | Bayes' rule | Data Science MCQs |
| SQL | Three tables given, but use only MenuItems to return the average price | SELECT AVG(Price) FROM MenuItems; do not join | SQL, Find the Average |
| Python | Largest product of a contiguous subarray (n up to 100,000, values −10 to 10) | Track both the max and min product ending at each index | Maximum Subarray Product, Maximum Product Subarray |
Watch out. With values up to 10 and n up to 100,000, the product can be enormous. Check how the answer should be returned (it may need big integers or a cap).
More questions: Browse Commonwealth Bank of Australia questions.
Stage 2: Second OA with an AI assistant (OA-2)
At a glance
- Length: 30 minutes
- Questions per round: 2, the second unlocks after the first
- What was asked: write code for a problem using an AI assistant, then debug errors in the same problem
- Most common: a limit of 50 prompts
What to expect. At IIT Guwahati on November 5, 2026, shortlisted data science students took a second OA. Question 1: solve a problem by prompting an LLM, with at most 50 prompts. Finish it to unlock question 2: debug errors in code for the same problem. Code Generation (OA-2) · Debugging (OA-2)
Stage 3: Interviews
What to expect. From our research: expect a technical round on statistics, ML basics, SQL and your projects, then an HR or manager round.
More from Codinzhub: every college and every year
These are the other 2 questions and experiences for this role on Codinzhub, from all colleges and drives, newest first.
| Question or experience | College or drive | Type | Posted |
|---|---|---|---|
| Sql join easy question | Indian Institute of Technology | OA question | 2026-11-01 |
| Bitmask DP | Indian Institute of Technology | OA question | 2026-11-01 |
The Codinzhub Next-Round Playbook
- Practise conditional probability questions until Bayes' rule is quick.
- Read SQL questions carefully; one said not to join, and joining would have been wrong.
About this guide
This guide is researched and written by the Codinzhub team from what IIT students shared on Codinzhub, plus research into CBA's hiring where student reports are missing. Questions are our own short summaries; the practice links open the full question on Codinzhub. Sat this OA or the interviews? Share your experience on Codinzhub and we will update the guide.
Keep track of what you’ve learned.