Religious exam questions share online, ministry investigates