Be open to everything as a junior. But in your first three years, lean towards something specific
Do you mean pick a direction after three years? Cause < 3 years is junior (unless you’re working at a consultancy giant meat grinder then that would be senior and close to retirement from consultancy).