sure-fire
Certain to work, be effective, or have a particular outcome; foolproof. Always used before a noun. Coming in to work drunk is a sure-fire way to get yourself fired, Tom. We've developed a sure-fire method of teaching grammar to grade-schoolers in a way that they will not ignore or forget.