(a) A person who is required to take an oath under § 2-104 of this subtitle or to file a bond under § 2-105 of this subtitle but who fails to qualify for office by taking and subscribing the required oath or affirmation or giving the required bond within 30 days from the date his commission is received by the clerk, or if no commission is sent to the clerk, within 30 days after receiving his commission or notice of appointment, is deemed to have refused the office, and the office shall be considered vacant, unless the time is extended by the court for good cause shown.
(b) A clerk of a circuit court for a county who fails to execute the required bond may not receive fees or compensation. A clerk who violates this subsection is subject to a penalty of $1,000.