Look this up in the NEC……. "IF" you are asking a question like this, it is proof that you are not qualified so call a professional.
I've asked all sorts of dumb questions here. Shame me if you want.
Better to point out I'm doing it wrong and point me to NEC so I learn something. Which has happened to me many times.
Part of the "joy" of this forum is that there are a lot of credential-educated professionals that will give their non-binding, unofficially licensed options about how THEY would do something, subject to your local rules and regs.. You get what you're paying for.
"IF" you were an electrical contractor who served an apprenticeship, obtained his license and now pays insurance you would understand why I don’t tell anyone how to do an electrical job like this over the internet
...Then qualify your answers.. Or (politely) go to a forum where non-sparkies can't ask questions, because those exist.
Everyone on GJ knows then answer is 90A MHF that has to be in conduit once it reaches the dwelling.
2" conduit is what I run, works fine for 90A MHF 2-2-2-4 feeder. Too rocky here to run direct burial.