If you can't concentrate while people are working on computers near you, I don't think you'll do well in any workplace that is based around knowledge work.
This is why I prefer working alone at night and am massively more productive. In any case, what's being tested in an exam setting is one's understanding of the course material, not whether they are a good fit for your idea of a normal workplace.
We're no longer limited by this and can avoid the productivity drag by universally permitting remote work.
Not every company is an open office hellscape.
... Including a university. Literally everywhere you work as a student is serenaded by keyboard sounds.
I had tons of exams like that. Its not an issue as the computers simply do not have loud mechanical keyboards connected
Change the keyboards to silent. Allow headphones. Still beats the collective waste of forcing to hand write