If you are being asked yes or no questions, the decision has already been reached. Politically, it is best to figure out what the decision is and then support it by whatever argument or rhetoric that seems plausible.
If the question is "can you do X?" then the important part of the conversation, defining what X is, has already taken place. You're just there to support the decision that has already been made. Sometimes your job as an employee is telling the boss what all their options are, and sometimes it is telling the boss that what they are already doing is correct.
If you are your own boss, you are necessarily one step removed from the politics. You can do your customer relationship management directly. Customers that ask "Can you do X?" without first asking "Can you help us decide what X should be for us?" can be refused, or quoted a higher price. Self-employed contracting is in some ways a wholesale rejection of politics, rather than learning how to play better. your main concern is "How do I pay my bills?" rather than "How do I avoid getting fired, and possibly get promoted?" As long as you have enough paying customers, you can more safely uphold your professional ethics.
Politics isn't about doing the right thing. It's about picking the least-wrong thing from a restricted list of bad options.