I was a consultant for many years. You can definitely buy yourself time (see below), but always make sure you understand why the question is being asked, and how your answer will be used. Sometimes people just ask questions in meetings to sound important.
• If it's theoretically possible to answer:
"You know, that is such a great question, and I want to be able to give you a thoughtful answer. Let me take it offline and get back to you tomorrow with [a concrete plan|my recommendations|a few options|a potential solution]."
• If it's impossible to answer in the moment (you need to access data or run a report): "That would be interesting to see! I could probably crunch that for you in ___ days/hours. Right now I'm currently working on ____. Should I put that work on pause while I get the answer for you?" or
"I'd have to spend a little time to dig into that. Should we add it to the backlog?"
• If they're expecting an assessment/judgment/snap decision: "Fair question, but it's a bit more nuanced than you might think, so I'd like to look at it more closely. If I answer now, you're just getting my own bias."
• If it's something unexpected/random (happens often): "Oh, I hadn't considered that. Can you give me a little insight about the reason for the question? I'd love to know what's behind your interest in ____." or
"Ah, interesting. Are you just asking out of curiosity, or is there a deeper reason for the question?" or
"Wow, I would be curious to know the answer to that too. Why do you ask?"
• If it's a technical question, especially a "gotcha" question: "You know, I am honestly flattered that you think I would know that off the top of my head, but I'm actually a big believer in documentation and researching best practices. I can check for you."
• If you don't understand what they'll do with the answer: "We can certainly get an answer on that, but just so I know how best to respond, can you help me understand how this will be used as an input? Put another way, what's the action or behavior this will change?"
• If it sounds like they're fishing for a specific answer: "It's a good question, but I get the sense that you already have an idea in mind. What are your thoughts?"
• If it's an aggressive or hostile question: "I get it, it's frustrating. Before I answer, do you want to press pause and talk about what's really going on?" or
"Happy to answer, but if this is about me or my performance, why don't we take it offline so you can give me some feedback 1:1."
Honestly the list is endless