cam shaft position sensor on 2008 Kia Optima

where is the cam shaft position sensor located and what code will it show, if it is bad? kia is 2.4l vin3.. i was told you had to pull the engin, i always thought it to be located near the cam/dampner pully?? Thank You

Asked by for the 2008 Kia Optima
2 answers
Part OEM Part Price
Camshaft Position Sensor
Camshaft Position Sensor 3935025000 $114.74

Labor Skill
Level Mfg.
Warranty Standard
Camshaft Position Sensor
Replace B 0.3 0.4
As you can see, it pays .4 hours to replace. are you sure that it was the cam sensor and not another sensor.?

it is on tha rear of tha cylinder head