(a) General.— To carry out this part, the Secretary of Transportation may take actions the Secretary considers necessary, including
(1) conduct investigations, make reports, issue subpenas, require the production of documents, take depositions, and prescribe recordkeeping and reporting requirements; and
(2) delegate to a public entity or qualified person the inspection, examination, and testing of railroad equipment, facilities, rolling stock, operations, and persons.
(b) Entry and Inspection.— In carrying out this part, an officer, employee, or agent of the Secretary, at reasonable times and in a reasonable way, may enter and inspect railroad equipment, facilities, rolling stock, operations, and relevant records. When requested, the officer, employee, or agent shall display proper credentials. During an inspection, the officer, employee, or agent is an employee of the United States Government under chapter
171 of title
28.