; or (2) invalidate an exemption or certificate of waiver or authorization issued by the Administrator before the date of enactment of this section. (g) Effective periods An exemption or certificate of waiver or authorization issued under this section, or an amendment of such exemption or certificate, shall cease to be valid on the effective date of a final rule on small unmanned aircraft systems issued under section 45502(b)(1). 45509. Exception for limited recreational operations of unmanned aircraft (a) In general Except as provided in subsection (e), and notwithstanding chapter 447 of title 49, United States Code, a person may operate a small unmanned aircraft without specific certification or operating authority from the Federal Aviation Administration if the operation adheres to all of the following limitations: (1) The aircraft is flown strictly for recreational purposes. (2) The aircraft is operated in accordance with or within the programming of a community-based set of safety guidelines that conform with published Federal Aviation Administration advisory materials. (3) The aircraft is flown within the visual line of sight of the person operating the aircraft or a visual observer co-located and in direct communication with the operator. (4) The aircraft is operated in a manner that does not interfere with and gives way to any manned aircraft. (5) In Class B, Class C, or Class D airspace or within the lateral boundaries of the surface area of Class E airspace designated for an airport, the operator obtains prior authorization from the Administrator or designee before operating and complies with all airspace restrictions and prohibitions. (6) In Class G airspace, the aircraft is flown from the surface to not more than 400 feet above ground level and complies with all airspace restrictions and prohibitions. (7) The operator has passed an aeronautical knowledge and safety test described in subsection (g) and administered by the Federal Aviation Administration online for the operation of unmanned aircraft