Starting out, I would recommend a few things.
First, don’t spend a ton of money on your first bass. You may find it’s not for you and it may end up in your closet. At least until you finally sell it, which you will eventually regardless of whether you take up the instrument or not. Which brings me to...
Second, buy used. You will get much more bang for your buck getting a used bass in good to excellent condition. Like cars, basses take a big hit to price after they are bought when new. Use that to your advantage. Also like cars, more expensive basses generally have more quality in the build that results in more comfort, nicer sound, and better looks. That’s not to say an inexpensive bass won’t play or sound good, just that you generally get what you pay for. Speaking of looks...
Third, get a bass that looks good to you, not what you think others think is cool. You want it to look so good that when you see it sitting across the room, you have to get up and go play it.
Finally, with regards to active vs passive, it probably doesn’t matter much either way as a beginner. Actives have a slight advantage in a live stage setting, but also have drawbacks. Personally, I would get a passive bass if I had to choose one to be my first back when I started bit knowing what I know now. I’d find out what a few bass players play from bands you like and check out what they play if you like their sound.
Good luck!