What can a police officer ask you if you are a police officer?

If you are a police officer you would not need to ask.
A police officer doing his duty will treat another police officer as any member of the public (if they are out of uniform and off duty).