Any person or entity, before bringing or sending any child into the state for the purpose of placing or caring for such child in any home or institution, either free or for board, shall make application to the Commissioner of Children and Families, giving the name, the age and a personal description of such child, the name and address of the person, home or institution with which the child is to be placed, and such other information as may be required by the commissioner. Such person or institution shall be licensed by said commissioner under the provisions of § 17a-145 and § 17a-151. When the permission of said commissioner has been received for the placement of such child, the person or entity, before placing the child, shall undertake: (1) That if, prior to becoming eighteen years of age or being adopted, such child becomes a public charge, such person or entity will, within thirty days after notice requesting the child’s removal has been given by the commissioner, remove the child from the state; (2) that such person or entity shall report annually, and more often if requested to do so by the commissioner, as to the location and condition of the child as long as the child remains in the state prior to such child’s becoming eighteen years of age or prior to such child’s legal adoption, and shall, at the discretion of the commissioner, execute and deliver to the commissioner a bond payable to the state, and in the penal sum of one thousand dollars, with surety or security acceptable to the Attorney General, conditioned on the performance of such undertaking. The provisions of this section shall not apply in the case of (A) the bringing of a child to the home of any relative who is a resident of this state, (B) any summer camp operating ninety days or less in any consecutive twelve months, or (C) any educational institution as determined by the State Board of Education.