How to prevent cheating in online assessment?

So much has been changed since the emerging of online assessment. From the process of traditional hiring, the hiring manager no longer get most of the stress and effort to be able to come up with hiring the best candidates for specific job posts. Online assessment saves time, energy and resources.