Another way to say "A dog can guard a yard." is "A yard can be guarded by a dog."