Particularly with multiple-choice tests, this is not only possible, but in my experience common. It became a kind of running joke among my classmates that we know our teachers, not the material - over time we just learned the quirks of whoever designed the test and eliminated the wrong answers based on that.