Aside from the fact there should be no women in the military: she might be great - she might be terrible - she might be a mediocre quota. And that is one of the big problems with race based preferences - it taints everything good.
I doubt her promotion is race based. There are exceptional women with a mind to lead well..though few and far in between because so many today think they deserve promotions because they’re women. This does not at all look like that for the General...of the Marine’s no less! It’s really quite huge!