Senior · IT & Technology

Database Administrator (DBA) interview questions

Common interview questions and sample answers for Database Administrator (DBA) roles in IT & Technology across Oman and the GCC.

The 10 questions below are compiled from interviews our consultants have run with IT & Technology employers across Oman and the wider GCC. Each comes with a sample answer and what the interviewer is really listening for.

Category

Opening & warm-up

How interviewers test your communication and preparation right from the start.

Tell me about your DBA career and the environments you have worked in.

Sample answer

I've been a DBA for nine years. Started supporting Oracle 11g in production at an Indian banking IT services company, then moved into a mixed environment with SQL Server and PostgreSQL, and for the past five years I've been senior DBA at an Omani bank running primarily Oracle Exadata for core banking, with PostgreSQL on the digital-channels side and SQL Server for the data warehouse. I hold Oracle Certified Professional 19c and AWS RDS Specialty. My work splits roughly 50/50 between BAU (performance tuning, backups, patching) and project delivery (migrations, upgrades, new database builds).

What they're really listening for

Specific platform expertise and certifications.

Category

Behavioural (STAR)

Past-experience questions. Use the STAR framework: Situation, Task, Action, Result.

Walk me through a major production issue you resolved.

Sample answer

Last year our core banking response times degraded during peak hours. Branches were complaining of 30-second transaction times. I traced it to a missing index on a frequently-accessed transaction table that had grown rapidly after a feature launch. AWR reports showed full table scans accounting for 60% of database time. I created the index online during a low-traffic window using parallel and online options to avoid downtime. Response times dropped from 30 seconds to under 2. Post-incident I added the missing index analysis to our weekly health-check routine. The lesson: never assume your application team or vendor has indexed everything that needs indexing.

What they're really listening for

Specific diagnostic process and the discipline to institutionalise lessons.

Describe a migration or upgrade you led.

Sample answer

I led the migration of our core banking database from Oracle 12c to 19c with minimal downtime. Total database size 4TB, downtime tolerance 4 hours. I used Data Guard with logical standby for the migration: built a 19c standby, replicated changes for two weeks, ran a dry-run cutover, then the production cutover one weekend. Total downtime: 2 hours 40 minutes. Post-migration we had a brief performance regression on three reports because of changes in the optimiser between versions; tuned within the first week. The customer (our internal business) didn't notice anything other than slightly faster response times overall.

What they're really listening for

Migration discipline, downtime management, and post-migration monitoring.

Tell me about a time you disagreed with a developer or architect.

Sample answer

Our development team wanted to use UUIDs as primary keys on a transaction table that would grow to billions of rows. I disagreed: UUID indexes are wider, fragment worse than sequential integers, and harm performance at scale. I prepared benchmarks showing actual performance with both schemes on production-like data. The developers initially defended UUIDs because they were 'best practice' from their previous (web-app) world. After seeing the benchmarks, we agreed on a hybrid: a sequential primary key with a UUID secondary key for external API references. Lesson: argue with data, not opinions, and respect that 'best practice' is context-dependent.

What they're really listening for

Technical confidence and data-driven argumentation.

Category

Technical & role-specific

Questions that test your specific skills for this role.

How do you approach performance tuning a slow query?

Sample answer

Start with the execution plan. AWR if it's a recurring slow query, or autotrace if it's ad-hoc. Look at the plan for full table scans on large tables, missing indexes, suboptimal join orders, and wrong cardinality estimates. Then verify with actual stats: are the table statistics current? Often the optimiser is making bad decisions because statistics are stale. Index strategy: only add an index if the cost-benefit makes sense; indexes have write cost too. For complex queries I'll sometimes use a query rewrite (CTE or subquery factoring) to give the optimiser better choices. Last resort: hints. Generally hints are a smell that something is wrong elsewhere, but they're useful when you need to force a known-good plan.

What they're really listening for

A methodical approach showing you don't just guess.

Describe your backup and recovery strategy.

Sample answer

For core banking: nightly RMAN level-0 full backup, daily level-1 incrementals, archive log backups every 30 minutes. Backups go to local NAS and replicate to the DR site overnight. Retention: 35 days operational, monthly snapshots for 7 years for regulatory. RPO target 30 minutes via archive logs, RTO target 4 hours for major recovery. I test recovery quarterly: restore a copy of production to a sandbox and run validation queries. The test isn't optional; you discover gaps in your backup strategy only when you actually try to recover. Documentation includes runbooks for the on-call DBA so recovery isn't person-dependent.

What they're really listening for

Specific strategy with actual targets and a testing discipline.

How do you handle a security audit on your databases?

Sample answer

Audits in banking are intense. My pre-audit checklist: account inventory (every account justified, no orphans), privilege review (least privilege, no DBA shared accounts in production), encryption verification (TDE on for at-rest, network encryption in transit), audit-log review (DDL and DML audit captures who-changed-what), and patching status. I keep evidence ready: screenshots, scripts, output. During the audit I'm honest about gaps; auditors respect honesty far more than discovered cover-ups. After: any audit finding gets a fix plan with owner and date, tracked in a register reviewed monthly until closed.

What they're really listening for

Audit professionalism and a transparent approach.

Category

Situational

Hypothetical scenarios designed to test your judgement and approach.

A production database is corrupted. What is your first 30 minutes?

Sample answer

First 5 minutes: confirm the extent. Is it a single block, a tablespace, the whole database? Stop further damage; if active corruption is propagating, take the database down. Notify the on-call manager and start the incident channel. Minutes 5-15: determine recovery strategy. If single block, use block-media recovery from backup. If wider, plan tablespace or full database restore from the most recent backup, then apply archive logs forward. Minutes 15-30: start the restore in parallel with communicating to stakeholders. Throughout, log every step taken and the time, for the post-incident review. The clock is everything; act fast, but log faster.

What they're really listening for

Crisis response with structured priorities and good documentation discipline.

Category

Cultural fit & motivation

Why this role, why this company, and how you work with others.

How do you handle being on-call?

Sample answer

On-call is part of the role. I run a 1-in-4 rotation with three other DBAs. The key to sustainable on-call is preparation: runbooks for common issues, monitoring tuned to alert only on real problems, and a culture where the team can hand off cleanly. Most pages I get are resolvable within 20 minutes. The 5% that aren't, I escalate quickly to the senior DBA without ego; better to escalate early than make the wrong fix at 3am. I also push back when on-call becomes always-on; if we're getting paged every night, the problem is the system, not the DBA's stamina.

What they're really listening for

Willingness to take the work, with maturity about how it stays sustainable.

Category

Closing

The final stretch. Often where deals are won or lost.

What are your salary expectations?

Sample answer

For a senior DBA role in Oman banking I'd target OMR 1,500 to 1,900 total package depending on the on-call expectations and the seniority of the database estate. Banking DBA roles typically carry a premium for the regulatory exposure and 24x7 requirements. I'd expect a separate on-call allowance on top, around OMR 200 per on-call week. I'm on 60 days' notice from my current employer. Beyond pay I care about the platform; I'd take a slightly lower role on Exadata or RDS over a higher-paid role on ageing on-prem kit.

What they're really listening for

Researched range, banking-DBA pay awareness, and platform preference.

Practise these with AI

Get 5 fresh questions tailored to Database Administrator (DBA), type your answers, and get per-answer feedback from AI. Free, 10 minutes.

Start AI mock interview

Install Talent Arabia

Get instant access to jobs and career tools on your device.