Edit: I can see I'm in the minority here, but I still feel this way. The Marines didn't even test with moving targets until very recently. It's possible, but it does require above-average and recently used skill. If it were trivial, all 3 of the testers would have gone 3/3 on all their runs (only the best runs were shown). Only 1 of the 3 made all three shots.
It’s both fairly pedestrian and nobody would be talking about it today if he had missed all three. 4 presidents out of 44 where successfully assassinated in office. Ronald Reagan was shot and suffered a punctured lung, but survived.
Andrew Jackson survived an attempt due to a misfire. Gerald Ford was similarly fortunate as the assassin’s gun failed to fire.
Franklin Roosevelt was shot at but only a bystander died, Harry Truman pardoned an assassin who stormed where he was staying.
Theodore Roosevelt was shot while campaigning for reelection but wasn’t the current president at the time. He was hit, but the bullet first hit his eyeglass case and his speech so he survived.
That’s 9 attempts serious enough made history, and presumably several others failed earlier.
It takes some skill, but nowhere near what would qualify as a serious marksmen. According to the US army the average soldier can hit a man sized target at 900 feet about 10% of while at 300 feet it’s closer to 50/50 which is roughly where 2 out of 3 shots puts him. People talk about the car being a moving target but people where beside the car, it was barely moving.
As far as Oswald's service records show, he wasn't great, but wasn't bad. I guess there's no way to know how much he practiced afterward.