Q1. What is a race condition?
A race condition happens when two or more processes read and write the same shared data at nearly the same time, and the final result depends on which one finishes first. The classic fingerprint is two requests passing the same availability check and both committing a change meant for only one. It shows up only under concurrent load, which is why single-user testing misses it.