Yes, client is aware of the endorsing peers that it sends the proposal to but the fabric-sdk does not. Fabric-sdk are node, java, python or any platform you use. Fabric-sdk just sends proposal to the endorsing peers list that the client told it to but the client needs to
be aware of the endorsing peers throught which it makes the transaction.
Go through the example in the following link for better understanding.
https://github.com/hyperledger/fabric-sdk-node/blob/master/test/integration/e2e/e2eUtils.js#L521-L535