
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































2026 Edition Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
Exam Overview This original practice exam covers asynchronous programming in the style of a developer course: concurrency and async fundamentals, callbacks promises and async await, event loops threads and runtimes, async in Python C# Java and Rust, reactive streams queues and distributed async, error handling testing and debugging, performance design and best practices, ethics and professional practice, and applied scenarios. It is study material, is not affiliated with any vendor, does not reproduce vendor documentation, and is not an official exam. Legal items are educational only and not advice. Languages differ so please confirm against current documentation. Exam Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance, Ethics) - 300 Original Questions with Answers Intended for Developers learning async and concurrency Number of questions 300 multiple-choice (four options, one best answer) Content areas 9 Suggested time 5 hours (about 60 seconds per question) Suggested passing target 80% or higher (240 of 300) Answer format The correct answer and explanation appear directly after each question
Content area Questions Share of exam Concurrency and Async Fundamentals
Callbacks, Promises and Async Await
Event Loops, Threads and Runtimes
Async in Python, C#, Java and Rust 33 11% Reactive Streams, Queues and Distributed Async
Error Handling, Testing and Debugging
Performance, Design and Best Practices
Ethics and Professional Practice 33 11% Applied Scenarios 36 12%
Cover the answer lines with a sheet of paper and attempt each question before checking. Work one content area at a time, or take all questions in one timed sitting to simulate test day. Mark every question you miss or guess on, then reread its explanation and the related reference material. Repeat the missed questions after a few days; aim to explain why each wrong option is wrong. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
Table of Contents Exam Overview Section 1: Concurrency and Async Fundamentals (Questions 1–33) Section 2: Callbacks, Promises and Async Await (Questions 34–66) Section 3: Event Loops, Threads and Runtimes (Questions 67–99) Section 4: Async in Python, C#, Java and Rust (Questions 100–132) Section 5: Reactive Streams, Queues and Distributed Async (Questions 133–165) Section 6: Error Handling, Testing and Debugging (Questions 166–198) Section 7: Performance, Design and Best Practices (Questions 199–231) Section 8: Ethics and Professional Practice (Questions 232–264) Section 9: Applied Scenarios (Questions 265–300) Answer Key Summary Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
Section 1: Concurrency and Async Fundamentals
1. Asynchronous programming: A. Busy waiting B. Features evolve C. Non blocking execution D. Simultaneous execution Correct answer: C. Non blocking execution Explanation: Fnd. 2. Synchronous: A. Wait for each step B. Work per time C. Non blocking execution D. Multiple tasks in progress Correct answer: A. Wait for each step Explanation: Fnd. 3. Blocking call: A. Isolated program B. Waits for result C. React to events D. Busy waiting Correct answer: B. Waits for result Explanation: Fnd. 4. Non blocking call: A. Delete B. Hidden C. Print D. Returns immediately Correct answer: D. Returns immediately Explanation: Fnd. 5. Concurrency: A. Multiple tasks in progress B. Non blocking execution C. Safe concurrent use D. Function passed to run later Correct answer: A. Multiple tasks in progress Explanation: Fnd. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
11. Coroutine: A. Pausable function B. Delete C. Hidden D. Print Correct answer: A. Pausable function Explanation: Fnd. 12. Future: A. Delete B. Pending result C. Hidden D. Print Correct answer: B. Pending result Explanation: Fnd. 13. Promise: A. Delete B. Eventual value C. Hidden D. Print Correct answer: B. Eventual value Explanation: Fnd. 14. Deferred: A. Resolvable promise B. Delete C. Hidden D. Print Correct answer: A. Resolvable promise Explanation: Fnd. 15. Callback: A. Work per time B. Wait for each step C. Function passed to run later D. Unit of async work Correct answer: C. Function passed to run later Explanation: Fnd. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
16. Event: A. Delete B. Hidden C. Print D. Signal Correct answer: D. Signal Explanation: Fnd. 17. Event driven: A. Simultaneous execution B. Timing bug C. Compute work D. React to events Correct answer: D. React to events Explanation: Fnd. 18. I O bound: A. Delete B. Waiting work C. Hidden D. Print Correct answer: B. Waiting work Explanation: Fnd. 19. CPU bound: A. Compute work B. Delete C. Hidden D. Print Correct answer: A. Compute work Explanation: Fnd. 20. Throughput: A. Returns immediately B. Safe sharing C. Work per time D. Mutual waiting Correct answer: C. Work per time Explanation: Fnd. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
26. Starvation: A. Delete B. Hidden C. Never scheduled D. Print Correct answer: C. Never scheduled Explanation: Fnd. 27. Atomicity: A. Returns immediately B. Timing bug C. Mutual waiting D. All or nothing Correct answer: D. All or nothing Explanation: Fnd. 28. Shared state: A. Delete B. Common data C. Hidden D. Print Correct answer: B. Common data Explanation: Fnd. 29. Mutex: A. Delete B. Mutual exclusion C. Hidden D. Print Correct answer: B. Mutual exclusion Explanation: Fnd. 30. Semaphore: A. Delete B. Hidden C. Limit access D. Print Correct answer: C. Limit access Explanation: Fnd. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
31. Lock free: A. No locks B. Delete C. Hidden D. Print Correct answer: A. No locks Explanation: Fnd. 32. Immutability: A. Delete B. Hidden C. Print D. Safe sharing Correct answer: D. Safe sharing Explanation: Fnd. 33. Thread safety: A. Mutual exclusion B. Wait for each step C. Unit of async work D. Safe concurrent use Correct answer: D. Safe concurrent use Explanation: Fnd. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
39. Pending: A. Delete B. Hidden C. Print D. Not settled Correct answer: D. Not settled Explanation: Cbp. 40. Fulfilled: A. Delete B. Succeeded C. Hidden D. Print Correct answer: B. Succeeded Explanation: Cbp. 41. Rejected: A. Delete B. Hidden C. Failed D. Print Correct answer: C. Failed Explanation: Cbp. 42. Settled: A. Delete B. Done C. Hidden D. Print Correct answer: B. Done Explanation: Cbp. 43. then: A. Handle success B. Delete C. Hidden D. Print Correct answer: A. Handle success Explanation: Cbp. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
44. catch: A. Delete B. Hidden C. Print D. Handle error Correct answer: D. Handle error Explanation: Cbp. 45. finally: A. Always run B. Delete C. Hidden D. Print Correct answer: A. Always run Explanation: Cbp. 46. Promise chaining: A. Delete B. Hidden C. Sequenced steps D. Print Correct answer: C. Sequenced steps Explanation: Cbp. 47. Promise.all: A. Sequenced steps B. Wait for all C. Handle error D. High priority queue Correct answer: B. Wait for all Explanation: Cbp. 48. Promise.allSettled: A. Delete B. Hidden C. Print D. All outcomes Correct answer: D. All outcomes Explanation: Cbp. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
54. Sequential await: A. Slower B. Delete C. Hidden D. Print Correct answer: A. Slower Explanation: Cbp. 55. Parallel await: A. Pending fulfilled rejected B. Callbacks risk C. Normal queue D. Start then await Correct answer: D. Start then await Explanation: Cbp. 56. Unhandled rejection: A. Delete B. Missed error C. Hidden D. Print Correct answer: B. Missed error Explanation: Cbp. 57. Unhandled promise rejections: A. Crash risk B. Delete C. Hidden D. Print Correct answer: A. Crash risk Explanation: Cbp. 58. Top level await: A. Delete B. Hidden C. Module feature D. Print Correct answer: C. Module feature Explanation: Cbp. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
59. Microtask: A. First fulfilled B. Features evolve C. Node queue D. High priority queue Correct answer: D. High priority queue Explanation: Cbp. 60. Macrotask: A. Delete B. Normal queue C. Hidden D. Print Correct answer: B. Normal queue Explanation: Cbp. 61. process.nextTick: A. Delete B. Hidden C. Print D. Node queue Correct answer: D. Node queue Explanation: Cbp. 62. setTimeout: A. Delete B. Hidden C. Schedule later D. Print Correct answer: C. Schedule later Explanation: Cbp. 63. setImmediate: A. Delete B. Check phase C. Hidden D. Print Correct answer: B. Check phase Explanation: Cbp. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
Section 3: Event Loops, Threads and Runtimes
67. Event loop: A. Delete B. Hidden C. Print D. Task scheduler Correct answer: D. Task scheduler Explanation: Evl. 68. Call stack: A. Running functions B. Delete C. Hidden D. Print Correct answer: A. Running functions Explanation: Evl. 69. Task queue: A. Delete B. Hidden C. Waiting callbacks D. Print Correct answer: C. Waiting callbacks Explanation: Evl. 70. Microtask queue: A. Delete B. Promise jobs C. Hidden D. Print Correct answer: B. Promise jobs Explanation: Evl. 71. Run to completion: A. One task at a time B. Let others run C. OS event APIs D. Go lightweight threads Correct answer: A. One task at a time Explanation: Evl. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,
72. Single threaded: A. Actor runtime B. Lightweight threads C. Task ordering D. One main thread Correct answer: D. One main thread Explanation: Evl. 73. Non blocking I O: A. Lightweight threads B. Async system calls C. Node event loop library D. Publish events Correct answer: B. Async system calls Explanation: Evl. 74. libuv: A. Linux async I O B. OS event APIs C. Node event loop library D. Go lightweight threads Correct answer: C. Node event loop library Explanation: Evl. 75. Web APIs: A. Browser async features B. Use workers C. Message passing actors D. One main thread Correct answer: A. Browser async features Explanation: Evl. 76. Worker threads: A. Delete B. Hidden C. Print D. Node threads Correct answer: D. Node threads Explanation: Evl. Asynchronous Programming Practice Exam (Concurrency, Promises and Async Await, Event Loops, Reactive Streams, Error Handling, Performance,