Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. In this case, "ridiculously" modifies the adjective "easy" by describing the degree to which the test is easy.
The phrase implies that the test is extremely easy, almost to the point of being absurd.