This goes to the appraiser. Often it is paid at the time of inspection. Otherwise it is collected at escrow. If the appraiser is not on the list of approved appraisers for the lender or if the value seems, shall we say, a bit creative, or if it is a large loan the lender will request that another appraiser review the appraisal. This is a number that varies widely.
Some brokers require an up front nonrefundable deposit.
These vary over a wide range and are sometimes divided into two or three pieces. This is what the lender is charging to underwrite your file, print the documents and fund the loan. Every little bit of the old USA is divided into FEMA flood zones. This specifies how susceptible the lot is to flooding. If it is in a flood zone you need flood insurance.