The knock sensor for GMC sonoma is located at the back of cylinder head.
The knock sensor for the right side should be in the back of the right side cylinder head. #5 .
The car will not start?
Car will not crank?
Car has no spark?
How to troubleshoot car battery?
How to test starter solenoid?
http://schematicsdiagram.blogspot.com/2011/06/how-to-test-starter-solenoid.html
--------------------
How to test cars starter?
http://schematicsdiagram.blogspot.com/2011/06/how-to-test-cars-starter.html
How to replace starter in car?
http://schematicsdiagram.blogspot.com/2011/06/how-to-replace-starter-in-car.html
The knock sensor for the right side should be in the back of the right side cylinder head. #5 .
See the image below for better idea and location:---
This will help you out.
-----------
For more car related problem troubleshooting:---
This are the sections, you can go through and click the link to read its troubleshooting.
---------
The car will not start?
-----------------
Car will not crank?
-----------
Car has no spark?
-------------
How to troubleshoot car battery?
-----------------