How would you know that a 10 month old child is infected with TB?

You would not. This is not always an easy diagnosis and can only be made by an experienced physician. Requires cultures and other testing.