The word that would best replace the word "obstacle" in the context of the passage is C. hurdle.
The term "hurdle" suggests a challenge or difficulty that needs to be overcome, which aligns with the context of the Central Pacific Railroad Company facing challenges while constructing the railway through the Sierra Nevada mountains.