Q.How much water do I give my Yucca plant. It is approximately 4 foot?
I know nothing about a yucca plant. I just received it as a gift. I do not know how much water to use when watering.

Certified GKH Gardening Expert
These are quite drought tolerant. I would only give it water when the top two inches of soil are completely dry. This will vary since the conditions around it will affect the time it takes to dry out.
As for how much to use when you water... I would make sure that your container has good drainage and that extra water is allowed to leave the container. Sitting in water will certainly lead to infection. If there is no drain hole/s then I would recommend changing pots. Leave a drip pan under it so that you can throw out any extra water that sits after watering. The amount that you water will have to be learned over time. Eventually you will get to where you won't need a drain pan, or holes, as you will know exactly how much water a particular soil is capable of holding.
They don't seem to be sensitive to tap water, so this is fine to use, but rainwater is always a safe bet.
This article will give you more information on the care of yucca: https://www.gardeningknowhow.com/ornamental/foliage/yucca/growing-yucca-indoors.htm