In an Oscar-nominated performance, Reese Witherspoon plays Cheryl Strayed, a woman hiking the Pacific Crest Trail who wrote about her experience in her memoir "Strayed." (Her last name is a pseudonym. I don't know if she chose it before or after she strayed from the norm to become the desperate junkie we see in the movie's flashbacks.)
Early on during her hike, somewhere between the town of Mojave and Kennedy Meadows, she sees and hears a rattlesnake rattling on the trail. It startles her, but she keeps calm and remains still and slowly walks around it, then runs away as fast as she can. I was surprised to see this behavior in a movie because it is so unexpected to see someone do exactly what you should do when you encounter a rattlesnake in the middle of a trail (except for the running - since a rattlesnake is not able to race after you.) A wise choice like this regarding a snake is not what we see in 99% of movies that show one, as you can see in nearly all of the other films on my list, because it doesn't have enough "action." Why have the protagonist avoid a problem when you can show them violently obliterate it. I don't think Strayed wrote about seeing a rattlesnake in her memoir, but she did mention a few times that she was afraid she might see one, so this scene was probably meant to show that she encountered and overcame one of her fears on her journey. (For any of us who have encountered many rattlesnakes on many trails, it seems rather insignificant, and certainly not nearly as impressive as the rest of her journey.)
The snake used in the movie is apparently an Eastern Diamond-backed Rattlesnake which is not found in California. I thought it was a Mojave Rattlesnake that might be found on that part of the trail, but I've been convinced otherwise. We never see Reese Witherspoon in a shot with the snake so the legs and feet and back we are probably someone else standing in for her.