The Ethics of Online Test Questions

Simple: stop looking for resources online. Then you won’t feel as though you have cheated.

You are perhaps a little too honest, my friend:-) And I don’t think your teacher was inappropriate. That’s a reflection of you feeling guilty for some odd reason. You still could have got any of the questions wrong, and 30% weren’t on the test.