This question has options. Does the word "serve" have the same definition in the next two sentences?

They serve a restricted role on the bench.

He had served in financial planning positions.

Choices: - different meanings; - the same meaning;
the same meaning