There are two ways that anchors achieve their holding ability - by burying e.g. Danforth, Plow, and Bruce, or by hooking - e.g. Fisherman, Grapnel, or Bruce. Different sea bottom conditions will suit one type over another. Voyaging vessels should have a primary anchor for general all purpose anchoring, a backup or spare to the primary, and an oversize anchor for storm conditions. Ideally, at least one would be a burying type, and one a hooking type. Good ground tackle is inexpensive insurance for any boat, and it will give you peace of mind. When anchoring in the lee of a reef at night, be prepared for unpredictable wind changes, which can be quite localised and severe.
With a burying type anchor, it is essential to have the correct scope ratio to suit depth of water and conditions. To ensure maximum burying effect, the pull on the anchor shank must be horizontal. If there is any pull in an upward direction, the anchor will not be fully effective. Therefore, the rode must be of sufficient length to create the correct catenary effect or sag.
When anchoring, head into the wind or current, which will assist the setting of the anchor. In reef situations, endeavour to set the anchor over an open sandy area to avoid fouling the rode on coral.