Some people are born with the natural ability to figure out a song key by ear. But for most people it takes a lot of dedication and practice to master this.