This paper presents methods to prevent cheating and leaking using internet of things. Related technologies are used to minimize or prevent cheating and leaking through some proposed solutions. Before the exam, RFID is integrated into the student card to identify the student's information record. During the exam, a sound sensor is used to monitor the sounds inside the exam hall. The last stage, which is after the exam, a motion sensor was used to secure the location of exam papers to avoid any unauthorized person infiltrating the place by sending an alarm sound or a light warning. The solutions include an integrated Arduino Mega 2560 board, an MFRC522 RFID reader, in addition to an ESP8266 Board. The modern software tools supported are the Arduino Integrated Development Environment (IDE), XAMPP, Apache HTTP Server, MySQL and PHP MyAdmin.Cheating and leaking have become common and students depend on them more than their studies. In our study, we may have found a way to reduce the reliance on cheating and reinforce values in students by relying on learning, even at the 85% level, through connectivity devices and mobile testing devices, in addition to audio programming and student reallocation. It has a good effect in reducing cheating factors