Sometimes it’s hard to distinguish between factual knowledge and just cleverness. There’s no reason a bumpkin fresh off the farm can’t be curious about what makes something tick, so they look under it or break it open - and whaddya know, they find a hidden thing. It’s really up to the DM to say no, your character wouldn’t know to do that. The intelligence you show when you figure out a puzzle or a trap could make total sense as the same spark that made the naive character want to leave the farm and explore the big wide world.
Sometimes it’s hard to distinguish between factual knowledge and just cleverness. There’s no reason a bumpkin fresh off the farm can’t be curious about what makes something tick, so they look under it or break it open - and whaddya know, they find a hidden thing. It’s really up to the DM to say no, your character wouldn’t know to do that. The intelligence you show when you figure out a puzzle or a trap could make total sense as the same spark that made the naive character want to leave the farm and explore the big wide world.