Guide-linked quiz · Hard Level
Collective Communication and NCCL Quiz
Test all-reduce, all-gather, broadcast and reduce-scatter roles, NCCL identity, network offloads, and a small sum-reduction example.
Question 1 of 8
What does an all-reduce operation accomplish in distributed training?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- What does an all-reduce operation accomplish in distributed training?
- It combines values across all GPUs and gives every GPU the combined result
- It deletes redundant data from one GPU
- It reduces the GPU clock speed to save power
- It sends data from all GPUs to a single storage disk
- What does the acronym NCCL stand for?
- Neural Compute Cluster Layer
- Network Cache Control Logic
- NVIDIA Collective Communications Library
- Numeric Convolution Compute Library
- Why can chunked ring communication be useful for a large tensor?
- It guarantees constant latency for any number of devices
- Chunks can be streamed across participating links instead of waiting for one monolithic transfer
- It makes topology irrelevant
- It prevents all network contention
- Which collective operation gathers each GPU's piece of data into a full copy held by all GPUs?
- Broadcast
- Reduce-scatter
- Barrier
- All-gather
- What does a supported network reduction offload such as SHARP do?
- Guarantee exactly half the traffic for every collective
- Remove the need for participating ranks
- Perform some reduction work in compatible network hardware
- Turn all-gather into a local memory copy
- Which interconnect does NCCL typically use for communication BETWEEN servers (nodes)?
- InfiniBand or RoCE
- A USB cable
- The PCIe slot only
- Wi-Fi
- Three ranks contribute scalar values 2, 3 and 5 to a sum all-reduce. What value does each receive?
- Only its own original value
- 3 for the middle rank and nothing elsewhere
- The average 3.33 unless requested separately
- 10
- Which collective combines contributions but distributes reduced pieces instead of the entire reduced buffer to every rank?
- All-gather
- Reduce-scatter
- Broadcast
- A standalone model checkpoint
Keep testing yourself
More quizzes picked for your level.