Microsoft interview question

5. How databases implement atomicity