In a city of the second class, the treasurer, city attorney, clerk, chief of police, and such other officers as the council may require shall each, before entering upon the duties of office, take an oath of office and execute and file with the clerk an official bond in such penal sum as the council shall determine, conditioned for the faithful performance of his or her duties and otherwise conditioned as may be provided by ordinance. The oath of office shall be filed with the county auditor.