Spark knock or ping is quite common on these engines. It's caused by the engine running a little lean. There are lots of potential causes, but the common ones appear to be
1) Dirty mass air flow sensor. Easy enough to clean, just be careful not to damage the sensor's filaments.
2) Leaking lower intake manifold (or other vacuum leak). The lower intake manifold bolts come loose and usually just need to be retightened, though occasionaly the gasket will need to be replaced.
If those don't fix it, then look at anything that could cause the engine to run lean.
This all assumes that the problem is spark knock, which is different from valve lifter noises. If you think it's valve noise, then you need to be concerned with things like oil pressure, level, flow.