Is livestock a compound word?
Yes it is. It has the words "live" and "stock" or the words "lives" and "tock".
Bamboo is not a compound word. A compound word is essentially a word that is created by putting two independent words together, that could stand alone if you were to break the compound word into two. An example of a compound word is dragonfly, or bookworm! Since the word bamboo does not break into two words that can stand on their own, you can know that it is not a compound word.