I think this is unfortunately one of those questions where there's no canonical answer, and so the answer you get from each person really only tells you about their beliefs and not much more.
The majority of professional philosophers are physicalist, but it's only JUST a majority, as small of a majority as you could get. https://survey2020.philpeople.org/survey/results/4874
Thus, if you cared what the bulk of professionals in philosophy think, they think knowledge is encoded in physical brains, but only 52% believe that, and they obviously may be wrong.
There's still a lot of work to be done in understanding cognition and consciousness and how our minds work. It's not called "the hard problem" for nothing - it's really really hard!