Congratulations on your certification, and kudos to you for thinking ahead and gathering information to be prepared to deal with issues that might come up in your diving.
Getting back to an anchored boat can be a challenge. If the anchor is in the depth range where you are going to dive, it is good to start the dive by going down the anchor line. Follow it to the end! Note the depth of the anchor and study the features around where it is. If the site has any depth contour to speak of, returning to the depth of the anchor is a very good way to improve your chances of finding it.
If the viz is poor or you are very inexperienced, stay close to the anchor (assuming depth permits this). Make little forays out away from it, and then come back and try another direction. One of the things you'll learn about diving is that you don't have to cover a lot of ground to see a lot of interesting things; in fact, swimming too fast is a way to miss many camouflaged species!
If there is well-defined structure at the site, you can use that for navigational information. "Reef on the left shoulder going out, reef on the right shoulder coming back," was the dive briefing we got on all our dives in the Red Sea
If you are unfortunate enough that the boat has dropped the anchor somewhere where you don't want to go (as was the case with one of my dives this last weekend), you have to study other things you can use to make your life easier. If there is current, make sure you dive into the current, so that, if you surface away from the boat, the current will carry you back down to it. Try to study the place where you drop, to see if there are any easily recognizable features, and again, note the depth.
Finally, find out what the boat's procedure for retrieving a diver who can't make it back is going to be. Some boats have skiffs for picking up errant divers, but some don't, and will have to wait until they've got everybody who DID make it back on board, before pulling the anchor and chasing the lost ones. I would say that sort of boat is not ideal for beginners, but anybody diving off such a boat should have a large inflatable marker with them, so that if they can't get back, they can stay visible until the boat can come and get them.