Hi,
the googlebot searches known URLs once in a while.
Since the Bot was on your site while Moodle was active it knows these URLs and trys to access them to search for new content.
Your server replies "404" --> not found
Theres no security risk with these Bot visits. They will stop in the future when google got the 404 error several times.