I think your answer is A.
Onomatopoeia is a figure of speech which imitates sounds heard in nature. Having that in mind, the example of that figure in this poem would be moaning and groaning. The moaning and the groaning of the bells is a reference to the moaning and the groaning that animals and humans can produce.
Explanation:
he must be brave and loyal to his flock as was david in the bible .he must know and debend upon god for strenght and gidence