What interviewers expect
What interviewers expect
Interviewers expect file type, size, duplicate, drag-and-drop, cancel, retry, scan pending, rejected malware, storage, signed URL, permissions, metadata, and accessibility coverage.
QA interview guide
File upload questions reveal whether you think about validation, storage, security scanning, network failure, permissions, and user feedback. The risk is not only whether the upload button works.
Write your own answer and compare it with senior QA coverage.
What interviewers expect
Interviewers expect file type, size, duplicate, drag-and-drop, cancel, retry, scan pending, rejected malware, storage, signed URL, permissions, metadata, and accessibility coverage.
Checklist
Use these practical prompts to build a complete answer. Strong interview responses usually include functional behavior, negative cases, security, backend/data risks, UX, accessibility, and reliability.
Aim to mention 20-40 concrete checks. This expanded list helps you turn a short answer into a structured senior-style response.
Ready to practice?
Write your own answer and compare it with senior QA coverage.
Answer structure
Common missed areas
Answer template
I would start with a valid file upload, then cover unsupported formats, size limits, file names, duplicate files, drag and drop, cancel and retry, malware scan states, storage permissions, signed URLs, cleanup, UX, accessibility, and performance for large files.
Use it as a structure, then replace the examples with specific checks for the feature you are discussing.
Common weak answer
“I would test valid and invalid cases.”
This is too generic because it does not show risk thinking. A stronger answer names the happy path, negative cases, security risks, backend/data behavior, UX/accessibility, and reliability concerns that matter for this exact scenario.
Examples
“I would test upload a PDF and invalid file type.”
This is a start, but it misses file size boundaries, network recovery, malware scan states, authorization, storage behavior, metadata, accessibility, and performance.
“I would test valid PDF upload, valid image upload, unsupported file type, MIME mismatch, extension spoofing, 10 MB limit, empty file, huge file, duplicate file name, long and Unicode names, drag and drop, browse upload, cancel upload, retry failed upload, progress state, partial upload, backend error, virus scan pending, infected file rejected, scan failure, storage quota, signed URL access, unauthorized download blocked, tenant isolation, metadata saved, failed upload cleanup, audit log, keyboard navigation, screen reader progress, and slow network performance.”
FAQ
Start with supported file upload and expected success state.
Unsupported file type, wrong MIME type, wrong extension, empty file, huge file, and max-size boundary are rejected. Duplicate file names, long file names, Unicode file names, special characters, and zero-byte files are handled.
Virus scan pending, clean, infected, failed, and timeout states are visible and safe. Files are stored in the correct tenant/user scope and cannot be accessed by unauthorized users.
MIME type versus extension mismatch. Virus scan pending and failed scan behavior. Unauthorized access to uploaded files. Cleanup of partial or failed uploads.
Use the interactive how would you test file upload? challenge to write your own answer, get checklist-based feedback, and compare your coverage with stronger QA thinking.
What to practice next
Move from reading the guide into interactive practice or a closely related interview topic.
Practice
Write your own answer and compare it with senior QA coverage.