I will usually under or over answer for those kinds of reasons... If the specific case is pretty narrow, I'll write either a thorough answer to a more broad scope, or a specific answer with some additional info on alternatives.
Sometimes I will write a very broad answer, especially when it's apparent the person doesn't seem to have looked into finding anything, and just asked a question on SO, which happens a lot.
Sometimes I will write a very broad answer, especially when it's apparent the person doesn't seem to have looked into finding anything, and just asked a question on SO, which happens a lot.