Getting Agreement of serving minimum service signed by New Employees

JHR
Many companies get new incumbents to sign a bond type of service agreement stating they would render minimum 2 years of service failing which they impose financial penalty. Is this practice legally valid?
If you are knowledgeable about any fact, resource or experience related to this topic - please add your views. For articles and copyrighted material please only cite the original source link. Each contribution will make this page a resource useful for everyone. Join To Contribute