Skip to content
RED SAG Skills

Easy Database Administrator questions

159 questions · 5 points each for a correct first answer.

  1. 1.Purpose of a primary keyeasy
  2. 2.Third normal formeasy
  3. 3.When a B-tree index helpseasy
  4. 4.Durability in ACIDeasy
  5. 5.INNER JOIN vs LEFT JOINeasy
  6. 6.Full vs incremental backupeasy
  7. 7.Least privilege for an app usereasy
  8. 8.DELETE vs TRUNCATEeasy
  9. 9.Filtering rows where a value is NULLeasy
  10. 10.COUNT(*) vs COUNT(column)easy
  11. 11.What a foreign key enforceseasy
  12. 12.WHERE vs HAVINGeasy
  13. 13.Data type for moneyeasy
  14. 14.Stopping SQL injectioneasy
  15. 15.Logical vs physical backupeasy
  16. 16.Proving backups workeasy
  17. 17.RPO and RTOeasy
  18. 18.Why a write-ahead log existseasy
  19. 19.Read-only access for analystseasy
  20. 20.What pg_hba.conf controlseasy
  21. 21.View vs materialized vieweasy
  22. 22.What ROLLBACK undoeseasy
  23. 23.UNION vs UNION ALLeasy
  24. 24.Row order without ORDER BYeasy
  25. 25.Why add a read replicaeasy
  26. 26.Seeing what is running noweasy
  27. 27.Cancel or terminate a sessioneasy
  28. 28.Why InnoDB over MyISAMeasy
  29. 29.Gaps in auto-increment IDseasy
  30. 30.Storing event timeseasy
  31. 31.Rejecting bad valueseasy
  32. 32.FATAL: too many clientseasy
  33. 33.Finding slow MySQL querieseasy
  34. 34.Encrypting client connectionseasy
  35. 35.Downtime allowed by 99.9%easy
  36. 36.Error budget for a 30-day montheasy
  37. 37.Replicas after a bad DROP TABLEeasy
  38. 38.The 3-2-1 backup ruleeasy
  39. 39.Spotting a single point of failureeasy
  40. 40.Active-passive vs active-activeeasy
  41. 41.Making a PostgreSQL server a standbyeasy
  42. 42.Copying data for a new replicaeasy
  43. 43.Failures a 3-node quorum surviveseasy
  44. 44.Why keep a delayed replicaeasy
  45. 45.Turning a standby into the primaryeasy
  46. 46.RDS backup retention limiteasy
  47. 47.Where an RDS point-in-time restore goeseasy
  48. 48.What a pilot light setup keeps runningeasy
  49. 49.Planning the way backeasy
  50. 50.Planned switchover vs failovereasy
  51. 51.Worst-case data loss from backupseasy
  52. 52.What an RPO of zero requireseasy
  53. 53.Adding replicas to fix slow writeseasy
  54. 54.Partitioning vs shardingeasy
  55. 55.Why run DR game dayseasy
  56. 56.Eleven nines of durabilityeasy
  57. 57.Removing a server without dropping userseasy
  58. 58.Keeping a shop usable during DB failovereasy
  59. 59.Rebuilding the stack in a new regioneasy
  60. 60.Restoring one dropped tableeasy
  61. 61.Kafka topic replication for HAeasy
  62. 62.Stopping calls to a failing dependencyeasy
  63. 63.Standby fell too far behindeasy
  64. 64.Servers flapping in and out of a pooleasy
  65. 65.What hot standby meanseasy
  66. 66.Seeing connected standbyseasy
  67. 67.Grandfather-father-son retentioneasy
  68. 68.Index on a yes/no columneasy
  69. 69.How InnoDB stores table rowseasy
  70. 70.What an InnoDB secondary index points toeasy
  71. 71.LIKE with a leading %easy
  72. 72.What a hash index supportseasy
  73. 73.Cost of extra indexes on insertseasy
  74. 74.EXPLAIN versus EXPLAIN ANALYZEeasy
  75. 75.type = ALL in MySQL EXPLAINeasy
  76. 76.Index for a date rangeeasy
  77. 77.Indexes created automaticallyeasy
  78. 78.Index not used on a tiny tableeasy
  79. 79.Duplicate-looking indexeseasy
  80. 80.Index Cond versus Filtereasy
  81. 81.What ANALYZE doeseasy
  82. 82.COLLSCAN in a MongoDB planeasy
  83. 83.One composite or two single indexeseasy
  84. 84.What Seq Scan meanseasy
  85. 85.Fast MAX on an indexed columneasy
  86. 86.Writes for one inserteasy
  87. 87.Indexing the join columneasy
  88. 88.ORDER BY random()easy
  89. 89.Order of fields in a MongoDB indexeasy
  90. 90.A unique index used for searcheasy
  91. 91.What UPDATE does under MVCCeasy
  92. 92.Applying a minor PostgreSQL releaseeasy
  93. 93.Which part is the major versioneasy
  94. 94.Applying a pg_hba.conf changeeasy
  95. 95.CREATE USER vs CREATE ROLEeasy
  96. 96.Where roles liveeasy
  97. 97.Where is the MySQL query cacheeasy
  98. 98.Emoji fail to save in MySQLeasy
  99. 99.Sizing the InnoDB buffer pooleasy
  100. 100.Data type for rupee amountseasy
  101. 101.Loading 5 crore rows quicklyeasy
  102. 102.Emptying a staging tableeasy
  103. 103.Real size of a tableeasy
  104. 104.Spotting indexes no one useseasy
  105. 105.Remote clients cannot connecteasy
  106. 106.VACUUM vs ANALYZEeasy
  107. 107.Capping query time for one roleeasy
  108. 108.Role for a monitoring agenteasy
  109. 109.Same MySQL user, different hosteasy
  110. 110.Where to move from MySQL 8.0easy
  111. 111.Old client fails to log in to MySQL 8.4easy
  112. 112.Extension missing in another databaseeasy
  113. 113.Where new databases come fromeasy
  114. 114.Password file ignored by psqleasy
  115. 115.Client TLS mode that stops spoofingeasy
  116. 116.NOT IN returns no rowseasy
  117. 117.Counting rows with NULL phoneseasy
  118. 118.Where big text values goeasy
  119. 119.Getting disk back from a MySQL tableeasy
  120. 120.Binary logs filling the diskeasy
  121. 121.Granting one set of rights to many MySQL userseasy
  122. 122.Recording who logged ineasy
  123. 123.Big table read by full scanseasy
  124. 124.Which postgresql.conf is in useeasy
  125. 125.Checking if the server accepts connectionseasy
  126. 126.Consistent mysqldump without lockseasy
  127. 127.What C in ACID meanseasy
  128. 128.What I in ACID meanseasy
  129. 129.Statements without BEGINeasy
  130. 130.What a phantom read iseasy
  131. 131.PostgreSQL default isolationeasy
  132. 132.Undoing part of a transactioneasy
  133. 133.Locking a row you will changeeasy
  134. 134.Not waiting for a locked roweasy
  135. 135.Rolling back a CREATE TABLEeasy
  136. 136.DDL in a MySQL transactioneasy
  137. 137.Lock taken by a plain SELECTeasy
  138. 138.Does VACUUM block the appeasy
  139. 139.ACID vs eventual consistencyeasy
  140. 140.Stopping negative wallet balanceseasy
  141. 141.When others see your changeseasy
  142. 142.Setting the level for one transactioneasy
  143. 143.BEGIN inside a transactioneasy
  144. 144.Guarding a reporting transactioneasy
  145. 145.Two uncommitted writes to one roweasy
  146. 146.Undoing a TRUNCATEeasy
  147. 147.Trigger failure and the main writeeasy
  148. 148.Why long transactions hurteasy
  149. 149.Deleting 5 crore old rowseasy
  150. 150.Insert or update in one statementeasy
  151. 151.now() inside a long transactioneasy
  152. 152.Client retries a payment requesteasy
  153. 153.What a saga does on failureeasy
  154. 154.When row locks are releasedeasy
  155. 155.Holding a lock while the user decideseasy
  156. 156.How committed work survives a crasheasy
  157. 157.Open transaction during a crasheasy
  158. 158.Lock wait vs deadlockeasy
  159. 159.What optimistic locking meanseasy