Hey there!
Your answer is hyperbole.
Hyperbole is using exaggerations to put more emphasis, while it is not supposed to be taken literally.
In this sentence, the statement, "it took her two seconds to finish the test," is an exaggeration. It is meant to emphasize that she finished the test much faster than everyone else.
Hope this helps!