It's just anecdotal, but the longest-lived people I have known were active, and did hard labor-- usually in the sunlight every day, just about up 'til the day they died. And many of them ate what I call a farmhand's or lumberjack's diet- eggs, meat, pancakes, bacon... plenty of vegtables, often cooked in some sort of fat, fried food. But they kept moving, until they could move no more.
I met a family in Ohio where two sisters and brother lived to 100,102,103.... All were bright and active until the end (the last died of complications from a broken hip or would probably still be alive)
Most people do not give genetics enough respect because there's no way to improve your genes. Still I suppose diet and exercise couldn't hurt.