When checking fuel pump operation, both specifications must be checked and met. The fuel filter is the key to a properly functioning fuel delivery system. This is more true with fuel injection than with carbureted cars. Fuel injectors are more susceptible to damage from dirt because of their close tolerances, but also fuel injected cars use electric fuel pumps. When the filter clogs, the electric fuel pump works so hard to push past the filter, that it burns itself up.
Most cars use two filters.
One inside the gas tank and one in a line to the fuel injectors or carburetor. Unless some severe and unusual condition occurs to cause a large amount of dirt to enter the gas tank, it is only necessary to replace the filter in the line.