Honestly it would help me to see what the actual wording of your question is. But you would use the approach you mention if the question was something like:
If you dissolve 1 gram of acetic acid in 1 L of water at 25 C, what will be the pH? (Ka for acetic acid is whatever.)
You need to use a table here because you're not given equilibrium concentrations - you're given a starting amount BEFORE equilibrium is reached, and you need to see what the equilibrium concentration of [H] is to see what the pH is. So you'd need to see how much of your starting material is lost (and products gained) once equilibrium is reached.
However if you're told what the pH is up front then equilibrium has already been reached and you can find equilibrium concentrations of the other species in solution by simple application of the equilibrium constant. You're not given a starting amount so you don't have to worry about find how much is lost during equilibrium. (Now, if they asked you what the amount of ethanoic acid was that they started with to get a pH of 5, then you'd have to back calculate it using the table approach you mentioned.)
Does that make sense?