Home › Certifications › NVIDIA NCA Gen AI LLMs › Core ML and Neural Network Foundations
45 multiple-choice questions and 13 flashcards on Core ML and Neural Network Foundations, about 15% of the NVIDIA NCA Gen AI LLMs bank. Every one carries a written rationale.
Core ML and Neural Network Foundations is one of 8 chapters in CoStudy's NVIDIA NCA Gen AI LLMs bank, and it holds 45 of the bank's 310 multiple-choice questions — roughly 15% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
10 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
Gradient clipping is applied during LLM training MAINLY to:
Answer: A — Bound update magnitude when rare large gradients occur
A) Correct — clipping caps the norm of the update so an outlier batch cannot destabilize the run. B) Clipping rescales rather than sparsifies, and it saves no memory. C) It does nothing for an under-sized learning rate. D) It never amplifies gradients; it only limits large ones.
During backpropagation, what quantity is actually propagated backward through the network layers?
Answer: D — The partial derivatives of the loss with respect to each layer's inputs
D) Correct — backprop applies the chain rule, passing gradients of the loss backward to compute each parameter's derivative. A) Inputs move forward, not backward. B) Weights are updated locally by the optimizer after gradients exist; they are not propagated. C) Activations are cached from the forward pass and used, but they are not what flows backward.
A residual (skip) connection helps very deep networks train PRIMARILY by:
Answer: D — Providing a direct path for gradients to reach earlier layers
D) Correct — the identity path carries gradient backward largely undiminished, mitigating depth-related vanishing. A) Skip connections add no parameters but do not reduce them either. C) Nothing enforces orthogonality between blocks. B) Nonlinearities remain essential inside each residual block.
A common cause of training divergence (NaN losses) when using FP16 is:
Answer: C — Overflow of attention logits in FP16's narrow range
C) FP16 has a narrow exponent range, so large attention logits and gradients overflow to inf and then NaN; loss scaling or BF16 addresses it. A) BF16 has the wider range and helps rather than hurts. B) Scale alone does not produce NaNs. D) Adam is the standard optimizer for these runs.
Compared with sigmoid, the tanh activation offers which specific advantage for hidden layers?
Answer: C — It is zero-centered, so activations do not drift positive
C) Correct — a zero-centered output range avoids the systematically positive activations that bias sigmoid-based gradient updates. A) Tanh saturates at both tails just as sigmoid does. B) Its derivative rises then falls; it is not monotonic. D) Both involve exponentials with comparable cost.
Which pairing correctly matches a task to its standard loss?
Answer: C — Continuous price prediction with mean squared error
C) Correct — squared error is the conventional objective for continuous-valued regression targets. A) Binary classification standardly uses binary cross-entropy. B) Multi-label needs per-class sigmoids since labels are not mutually exclusive. D) Token prediction is a classification problem over the vocabulary, trained with cross-entropy.
Initializing every weight in a dense network to the same constant fails because:
Answer: D — Units in a layer receive identical gradients and never differentiate
D) Correct — symmetric weights produce symmetric gradients, so all units in a layer remain identical and the layer's capacity collapses to one unit. A) The loss remains differentiable; symmetry is the issue. C) Moment estimates compute fine on identical gradients. B) Overflow depends on scale, not on symmetry, and is not the general failure.
The softmax function converts a vector of logits into:
Answer: B — A probability distribution whose components sum to one
B) Correct — exponentiating and normalizing yields nonnegative values summing to one across the classes. A) Independent per-class probabilities that need not sum to one come from elementwise sigmoids. C) That describes standardization, not softmax. D) Hard selection of the maximum is argmax; softmax is a smooth relaxation.
L2 regularization (weight decay) influences a model by:
Answer: A — Penalizing large weight magnitudes, favoring smoother functions
A) Correct — adding a squared-norm penalty biases the optimizer toward smaller weights and lower-complexity functions. B) Exact sparsity is the hallmark of L1, not L2. C) Activation standardization is what batch or layer normalization does. D) That is early stopping, a separate regularizer.
A deep sigmoid network trains extremely slowly, and gradient magnitudes in early layers are near zero. The MOST likely cause is:
Answer: D — Vanishing gradients from repeated multiplication of small derivatives
D) Correct — sigmoid derivatives peak at 0.25, so chaining them across many layers shrinks gradients toward zero. A) Exploding gradients produce huge values or NaNs, the opposite symptom. C) Label noise raises loss and hurts accuracy but does not systematically zero early-layer gradients. B) Small batches add variance to gradients, not a depth-dependent decay.
4 cards from the 13 in this chapter.
Parameters vs Compute vs Data — scaling laws?
Chinchilla: optimal compute split is balanced parameters + tokens. ~20 tokens per parameter for training.
Why did ReLU-family activations largely replace sigmoid and tanh in deep networks?
Sigmoid and tanh saturate, driving derivatives toward zero and causing vanishing gradients in deep stacks. ReLU has a constant gradient of 1 on the positive side, so signal propagates through many layers, and it is cheap to compute. Variants like GELU and SwiGLU smooth the kink and are common in transformer feed-forward blocks.
Which loss function trains an autoregressive language model, and what quantity is it minimizing?
Cross-entropy loss over the vocabulary at each position. It minimizes the negative log-likelihood the model assigns to the actual next token, which is equivalent to minimizing the average number of nats or bits needed to encode the training text.
Distinguish supervised, unsupervised, and self-supervised learning by what supplies the training signal.
Supervised learning uses human-provided labels paired with inputs. Unsupervised learning finds structure in unlabeled data, e.g. clustering or dimensionality reduction. Self-supervised learning generates labels from the data itself — next-token prediction on raw text is the canonical LLM example.
These are a sample. The full Core ML and Neural Network Foundations chapter runs 58 items with per-chapter progress tracking, on the web and in the iOS app.
Open NVIDIA NCA Gen AI LLMs in CoStudy →