。
Can you tell a wolf from a dog?
Literal
Wolf [and-と] dog [possessive-の] distinction [subject-が] attached [question-ますか]?
区別がつく ('to be able to distinguish') is an idiom — literally 'the distinction attaches.' The potential is built into つく here. A simple question about categorization.