Async & Performance interview questions

18 Async & Performance questions from the FastAPI bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is async def handler?

Junior
  1. A.the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop
  2. B.the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  3. C.an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls
  4. D.the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests

Answer + AI explanation with Pro

2. Which term means: "an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls"?

Junior
  1. A.Starlette foundation
  2. B.async def handler
  3. C.Synchronous handler offloading
  4. D.Uvicorn

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.async def handler — the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop
  2. B.async def handler — the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  3. C.async def handler — an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls
  4. D.async def handler — the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework

Answer + AI explanation with Pro

4. What is Synchronous handler offloading?

Mid
  1. A.the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop
  2. B.the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  3. C.the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  4. D.the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets

Answer + AI explanation with Pro

5. Which term means: "the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop"?

Mid
  1. A.Event loop blocking
  2. B.async def handler
  3. C.Synchronous handler offloading
  4. D.ASGI

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Synchronous handler offloading — the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop
  2. B.Synchronous handler offloading — the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  3. C.Synchronous handler offloading — the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  4. D.Synchronous handler offloading — the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets

Answer + AI explanation with Pro

7. What is ASGI?

Mid
  1. A.the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets
  2. B.the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework
  3. C.the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  4. D.an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls

Answer + AI explanation with Pro

8. Which term means: "the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets"?

Mid
  1. A.Starlette foundation
  2. B.ASGI
  3. C.Event loop blocking
  4. D.async def handler

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.ASGI — the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets
  2. B.ASGI — the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop
  3. C.ASGI — the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  4. D.ASGI — the ASGI server, built on uvloop and httptools, commonly used to run the application in production

Answer + AI explanation with Pro

10. What is Starlette foundation?

Mid
  1. A.the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  2. B.the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets
  3. C.the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework
  4. D.the ASGI server, built on uvloop and httptools, commonly used to run the application in production

Answer + AI explanation with Pro

11. Which term means: "the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework"?

Mid
  1. A.Starlette foundation
  2. B.async def handler
  3. C.Uvicorn
  4. D.Event loop blocking

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.Starlette foundation — the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework
  2. B.Starlette foundation — an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls
  3. C.Starlette foundation — the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  4. D.Starlette foundation — the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets

Answer + AI explanation with Pro

13. What is Uvicorn?

Junior
  1. A.an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls
  2. B.the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  3. C.the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  4. D.the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework

Answer + AI explanation with Pro

14. Which term means: "the ASGI server, built on uvloop and httptools, commonly used to run the application in production"?

Junior
  1. A.Starlette foundation
  2. B.Uvicorn
  3. C.Event loop blocking
  4. D.Synchronous handler offloading

Answer + AI explanation with Pro

15. Which statement is correct?

Junior
  1. A.Uvicorn — the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  2. B.Uvicorn — the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  3. C.Uvicorn — the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework
  4. D.Uvicorn — the asynchronous server interface standard, successor to WSGI, that lets the framework handle concurrent requests and websockets

Answer + AI explanation with Pro

16. What is Event loop blocking?

Senior
  1. A.the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  2. B.the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests
  3. C.an endpoint declared with the async keyword that runs directly on the event loop and may use await for non-blocking calls
  4. D.the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop

Answer + AI explanation with Pro

17. Which term means: "the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests"?

Senior
  1. A.Starlette foundation
  2. B.ASGI
  3. C.Event loop blocking
  4. D.Uvicorn

Answer + AI explanation with Pro

18. Which statement is correct?

Senior
  1. A.Event loop blocking — the ASGI server, built on uvloop and httptools, commonly used to run the application in production
  2. B.Event loop blocking — the lightweight ASGI toolkit that provides the underlying routing, requests, responses, and middleware for the framework
  3. C.Event loop blocking — the behavior where a plain def endpoint is run in an external thread pool so blocking work does not stall the event loop
  4. D.Event loop blocking — the performance pitfall of calling slow synchronous code inside an async handler, which freezes concurrency for all requests

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Async & Performance question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers