How Realistic Is to Get Into Same University for Graduate Degree

Well my dd applied to grad schools for theoretical CS and for the most part picked departments where they did such work and even specific research groups within that field were the ones she was most successful at. But the uni she was at does allow you to change areas and she did change to Machine Learning.