To create survey within a course , click on Edit Course Content -> + button -> Survey.
Add questions and set configuration -> Save.
Please check your uploaded file extension.
Please Select a file.