When in public and you’re asked what you do for a living, take a minute to read the room before responding. Do whatever you must to buy that time - act distracted by their attire and ask about it, whatever. In cut throat and competitive environments, it may not be in your best interest to be specific at first. Social climbers often ask this question to gauge how much you make. If you make more than them and/or carry more status, they might figure they can take advantage of your higher standing.