Should we allow inner component scrolling? or let the screen stretch and use browser scroll?

Our testing web application currently displays inner component scrolling when the question's body exceeds a specific size (to prevent browser scrolling).

Should we allow the content to be stretched, thus delegating scrolling to the browser?

To emphasize, we have a test application where candidates should review the question's content in the most convenient way.

The following images are attached; with inner component scroll and with browser scroll

inner component scroll

browser scroll

Highly appreciate your thoughts,