Choice "A" is correct. Subrogation is the right a surety has by which the surety succeeds to the creditor's rights against the principal when the surety pays the principal's obligations.
Choice "d" is incorrect. Exoneration is the right a surety has against the debtor to force the solvent debtor to pay a debt when the debtor refuses to do so.
Choice "c" is incorrect. Contribution is a right one surety has against the surety's co-sureties to force them to pay their share of the debt.
Choice "b" is incorrect. Attachment is not a right of suretyship, but rather is a remedy with respect to the property of the debtor-principal.