Another way to say "A dog can guard a yard." is "A dog can guard a garden."