In 5e Alignment has gone back to being a roleplaying aid for the most part. Thankfully it no longer has much in the way of mechanical heft.
There are some standout exceptions such as the Book of Exalted Deeds, Tome of Vile Darkness, and a handful of other things. But in these cases it's generally fairly easy to gauge a person's alignment for that purpose based on how they've making choices up til then.
In my opinion, the Personality Traits, Ideals, Bonds, and Flaws are much better RP guide than alignment ever was. And while the question of "what alignment are you?" has come up twice (once because Ravenloft and once because Book of Exalted Deeds...different campaigns), I mostly just don't bother with alignment until I need to in playing and in running I never even really looked at my players' alignments and told them I probably wouldn't.