2–5 years · Mid — Python · Django / Flask / FastAPI · REST APIs · SQL · Celery · Testing
Analyses the execution plan for expensive operations; checks for missing indexes on frequently queried fields; evaluates if the selected columns are necessary or if projections can reduce the load; considers pagination to limit returned records; reviews the database schema for normalization issues.
What impact does denormalisation have on query performance?
Implements a fallback mechanism for local authentication; logs the failure rate for analysis; notifies users of the issue through a status page; escalates to appropriate teams for third-party resolution; assesses impact on user experience.
What long-term strategies would you implement to mitigate the impact of similar outages in the future?
Defines acceptable file size limits and response handling for large files; considers asynchronous processing for uploads; implements chunked uploads to manage large files; uses validation for file types and integrity checks; discusses rate limiting to prevent abuse.
How would you handle the storage of uploaded files?
Identifies integration and end-to-end tests required for complex interactions; uses mocking to isolate components during tests; implements test cases that cover edge cases and user scenarios; evaluates test coverage tools to identify gaps; incorporates Continuous Integration to run tests automatically.
What role does test-driven development play in this process?
Rolls back the deployment to the previous stable version; investigates error logs to pinpoint the cause; conducts a post-mortem to analyse deployment processes; enhances monitoring for early detection; prepares a plan for safe re-deployment.
What changes would you make to your deployment strategy to prevent this from happening again?
Identifies I/O-bound tasks as the source of bottlenecks; evaluates the Global Interpreter Lock (GIL) impact on CPU-bound tasks; considers the overhead of thread management; assesses whether using async would simplify control flow; mentions potential libraries like asyncio or aiohttp for handling async tasks.
What specific scenarios still benefit from threads over async?
Load six more — you will get questions you have not seen first.
Give me six more →Say your answer out loud before revealing. Reading the answer first feels like learning and is not.