How to know the sample rate and bit depth of an audio file?

Use this webpage to analyze the files. MediaInfoOnline - MediaInfo in your browser

No it can’t. Audacity does not work directly on the audio file, it copies the audio into the current project, so Audacity will only give you information about the “project” and not about the file(s) that you imported into it.