No. Nothing can 100% prevent a site hack. Hackers are a crafty, nasty bunch. No matter how tight the security, there is always a chance that they can get in. This is why daily backups and hacker protection to restore your site in case of an attack are critically important.