15 to 30 random questions in 15 to 30 minutes, by the level you choose: er, keys, sql, joins, normalization, transactions and indexing. After you submit you get your score, your strong and weak topics, and the right answer with an explanation for every question.
Want to revise first? Read the DBMS interview questions and answers.
The test covers 12 topics across three levels. Each attempt picks 15 to 30 questions at random, by the level you choose, so every attempt is different.
One question from each level, the way they appear in the test. A new set comes on the 1st of every month. Try it, then open the answer.
Answer: 4. A superkey is any set that contains a candidate key. With A fixed in, B and C can each be in or out, so there are 2 x 2 = 4: A, AB, AC and ABC. Counting by brute force over all 7 non-empty subsets gives the same 4.
fees:
student paid
Asha 60
Bilal 80
Chitra NULL
Dev 100
SELECT AVG(paid)
FROM fees; Answer: 80. AVG skips NULLs, so it adds 60 + 80 + 100 = 240 and divides by the 3 non-NULL values, giving 80. If the missing fee should count as 0, write AVG(COALESCE(paid, 0)), which divides by 4 and returns 60.
Answer: Analysis, redo, undo. Analysis scans from the last checkpoint to rebuild the dirty page and transaction tables. Redo repeats history from the earliest needed LSN so the database is as it was at the crash. Undo then rolls back the losers, newest change first.
Take the full DBMS mock test: 15 to 30 questions and 15 to 30 minutes, by level.
A question counts as right only when you pick exactly the right option, or all the right options where it says so; a question left blank counts as wrong. Your score is the share of the test's questions you got right (15 to 30, by level). The result also scores every topic, so you know what to revise before the interview.
Yes. The DBMS mock test is free. You need a free CoreHRx Jobs account to start it, so your score and the topics to work on are saved.
It depends on the level: Easy has 15 questions in 15 minutes, Medium has 20 questions in 20 minutes, Hard has 30 questions in 30 minutes. They are multiple-choice questions picked at random from a larger bank of DBMS questions at your level, so every attempt is different.
The questions cover SQL Queries, Normalization, Concurrency Control, Indexing and Hashing, ER Model, Transactions and ACID, Functional Dependencies, Joins, Keys and Relational Model, Relational Algebra, Recovery, Query Processing. Your result shows how you did in each topic.
Easy: Keys, ER basics, normal forms and simple SQL queries. Medium: Joins, normalization, transactions and indexing. Hard: Concurrency control, recovery, query plans and tricky normal-form cases. Start with Easy and move up.
Only your best DBMS score, and only when it is 60% or more. It shows on the job applications you send on CoreHRx. Lower scores stay private.
Yes, up to 10 tests a day. Each attempt picks questions you have not seen recently first.