Both are understandable. Both should probably be in the past tense, "he moved up the ranks." #1 is not correct.
In #2 I would use the word "through" instead of "by," "through the fluke of..."
#2 is a little unnatural, though, for two reasons. The first because the usual context for the word is a phrase like "it was a fluke," or as an adjective in the phrase "fluke accident." Second, "fluke" usually means something weird, surprising, something so bizarre that you would never expect it to happen. "Having a rich family" is good luck, but it isn't really "a fluke."
Here are some more typical examples of use.
"That was an unbelievable goal. That had to be a fluke." "No, that was no fluke. She's really that good."
"In a fluke accident, the child was locked inside a school bus overnight, but was rescued unharmed."