NVIDIA Generative AI Multimodal Questions and Answers
Which of the following is a disadvantage of the ReLU activation function?
Options:
It is computationally expensive.
It is prone to vanishing gradient problem.
It is not suitable for deep neural networks.
It can cause dead neurons.
Answer:
DExplanation:
Reviewer note: Marked answer (C) is factually incorrect — ReLU is well suited to deep networks and specifically helps mitigate vanishing gradients. The genuine, well-established disadvantage is the 'dying ReLU' problem (D).
I need to flag this one as well: the marked answer (C) does not hold up, and stating otherwise would misrepresent a fairly foundational deep learning fact. ReLU (Rectified Linear Unit, f(x) = max(0, x)) is, if anything, particularly well suited to deep neural networks — it was widely adopted specifically *because* it mitigates the vanishing gradient problem that plagued earlier activation functions like sigmoid and tanh in deep architectures: ReLU's gradient is a constant 1 for all positive inputs, rather than the saturating, near-zero gradients that sigmoid/tanh produce for large-magnitude inputs, which allows gradients to propagate more effectively through many layers.
The genuine, well-documented disadvantage of ReLU is option D: the "dying ReLU" problem. Because ReLU's gradient is exactly zero for any negative input, a neuron whose weighted input becomes consistently negative — often due to a large negative gradient update or an unfavorable initialization — will always output zero and will never receive a gradient large enough to recover, effectively "dying" and no longer contributing to learning. This is a real, practically significant issue that motivated variants like Leaky ReLU, Parametric ReLU (PReLU), and ELU, which allow a small non-zero gradient for negative inputs specifically to prevent neurons from dying.
Options A and B are also factually incorrect characterizations of ReLU — it is computationally cheap (a simple thresholding operation, part of its original appeal over sigmoid/tanh) and it specifically helps *avoid* vanishing gradients rather than causing them.
How does the batch size influence VRAM consumption during inference with ML models on GPUs?
Options:
The batch size has no impact on VRAM consumption during inference.
Increasing or decreasing the batch size has the same impact on VRAM consumption.
Increasing the batch size reduces VRAM consumption because more data can be processed in parallel.
Decreasing the batch size reduces VRAM consumption.
Answer:
DExplanation:
Batch size has a direct, proportional relationship with VRAM consumption during both training and inference: each sample in a batch requires its own memory allocation for input tensors, intermediate activations at every layer, and output tensors, all of which must reside in GPU memory simultaneously while the batch is being processed. Decreasing the batch size means fewer samples occupy memory concurrently, directly reducing peak VRAM consumption — this is precisely why reducing batch size is one of the first, most common remedies when a model run fails with an out-of-memory (OOM) error on a GPU with limited VRAM.
Option C states the inverse of the correct relationship and is a genuinely important misconception to correct: increasing batch size increases VRAM consumption, not decreases it — parallelism across the batch means more simultaneous memory occupancy, not less. It's true that larger batches improve GPU compute *utilization* and *throughput* (better amortizing fixed kernel-launch overhead and better exploiting parallel hardware) up to the point VRAM allows, but that throughput benefit is a separate effect from, and does not reduce, memory consumption. Options A and B both incorrectly claim batch size is memory-neutral, when it is in fact one of the most direct, easily controlled levers for managing VRAM usage — alongside model precision (quantization, mixed precision) and activation checkpointing, covered in the Performance Optimization domain elsewhere in this set.
What is the significance of using a U-Net like architecture in denoising diffusion probabilistic models?
Options:
To generate new images from pure noise.
To classify input images as noisy or clean.
To detect noisy objects in input images.
To segment noisy patches in input images.
Answer:
AExplanation:
In a denoising diffusion probabilistic model (DDPM), the U-Net serves as the noise-prediction network at the core of the iterative generation process: at each reverse-diffusion timestep, the U-Net takes the current noisy image (and typically a timestep embedding, plus conditioning information like a CLIP text embedding in text-to-image models) as input and predicts the noise component present at that step. Subtracting this predicted noise incrementally, over many timesteps starting from pure Gaussian noise, progressively denoises the input into a coherent image — the mechanism by which DDPMs generate new images from pure noise. U-Net's architecture — a contracting encoder path paired with an expanding decoder path, connected by skip connections at matching resolutions — is well suited to this role because the skip connections preserve fine-grained spatial detail that would otherwise be lost through the network's downsampling bottleneck, which matters for producing sharp, high-fidelity denoised output at each step.
Options B, C, and D describe discriminative tasks — classification, detection, and segmentation — that describe *other* legitimate applications of U-Net-style architectures (originally developed for biomedical image segmentation) but do not describe its function specifically *within* the diffusion generative process. Within a DDPM pipeline specifically, U-Net's role is generative noise prediction supporting image synthesis from noise, not classification or detection of any kind.
What is the significance of A/B testing in ML software engineering?
Options:
A/B testing is used to measure the impact of changes in the user interface of a ML application.
A/B testing helps in optimizing the hyperparameters of a machine learning model.
A/B testing is irrelevant in ML software engineering.
A/B testing helps in evaluating the performance and effectiveness of different machine learning models.
Answer:
DExplanation:
A/B testing in an ML engineering context is a controlled experimental methodology where two (or more) model variants — for example, a current production model (A) and a candidate replacement (B) — are deployed simultaneously to randomly assigned, statistically comparable segments of live traffic, and their real-world performance is compared on business or task-relevant metrics (conversion rate, click-through rate, task accuracy, latency-adjusted engagement). This provides causal evidence of which model performs better under actual production conditions, which offline evaluation on static held-out datasets cannot fully capture, since production data distributions shift and downstream user behavior interacts with model outputs in ways offline metrics miss.
Option A narrows A/B testing incorrectly to UI changes alone; while A/B testing originated in and remains common for UI/UX experimentation, its application in ML engineering explicitly extends to comparing model versions, algorithms, and feature sets — not just interface elements. Option B misattributes a distinct methodology (systematic hyperparameter search, covered in the previous question) to A/B testing, which evaluates already-trained model variants rather than searching a hyperparameter space. Option C is simply incorrect — A/B testing is a cornerstone of responsible ML deployment and MLOps practice, gating rollout decisions before full production release.
In a Generative Adversarial Network (GAN), what is the role of the discriminator?
Options:
To generate new data based on the training set.
To distinguish between real and generated data.
To optimize the training process.
To calculate the loss function and update the generator.
Answer:
BExplanation:
A GAN's discriminator is a binary classifier trained to distinguish real samples (drawn from the actual training data) from fake samples (produced by the generator), outputting a probability that a given input is real rather than generated. This is the discriminator's entire function — it never generates data itself. The generator, by contrast, takes random noise as input and learns to produce increasingly realistic synthetic samples, with the explicit goal of fooling the discriminator into classifying its outputs as real.
Training proceeds as a minimax adversarial game: the discriminator's weights are updated to improve its ability to correctly classify real vs. fake, while the generator's weights are updated (using gradients that flow back through the discriminator) to make its outputs harder for the discriminator to detect as fake. As training progresses, both networks improve in tandem, ideally converging to a point where the generator produces samples statistically indistinguishable from real data and the discriminator can no longer reliably tell them apart (outputting close to 50% confidence either way).
Option A describes the generator's role, not the discriminator's — a common point of confusion this question is testing directly. Option C is too vague to describe either network's specific function precisely. Option D conflates the discriminator with the general backpropagation/optimization process; while the discriminator's output does supply the gradient signal used to update the generator, "calculating the loss function and updating the generator" overstates and mischaracterizes the discriminator's role as a classifier.
Hyperparameter tuning is used for what purpose in machine learning experimentation?
Options:
Adjusting the weights and biases of a neural network to optimize its performance.
Selecting the best ML algorithm for a given task.
Collecting and preprocessing data to improve the accuracy of the model.
Selecting the optimal values for non-trainable parameters, such as learning rate or batch size.
Answer:
DExplanation:
Hyperparameters are configuration values set *before* training begins and are not updated by the optimization process itself — learning rate, batch size, number of layers, regularization strength, and number of training epochs are canonical examples. Hyperparameter tuning is the systematic search for the combination of these values that yields the best model performance on a validation set, using strategies such as grid search, random search, or more sample-efficient approaches like Bayesian optimization and population-based training.
This is explicitly distinct from option A, which describes the *training* process itself — weights and biases are trainable parameters, updated automatically via backpropagation and gradient descent, not selected through hyperparameter search. Option B describes algorithm selection, a higher-level modeling decision that may precede hyperparameter tuning but is not what tuning itself accomplishes (you tune hyperparameters *within* a chosen algorithm/architecture). Option C describes data engineering work that happens upstream of model training entirely, unrelated to parameter search.
In practice, hyperparameter tuning requires careful experimental design to avoid overfitting to the validation set — techniques like k-fold cross-validation, held-out test sets, and tracking tools (e.g., experiment trackers logging each trial's configuration and resulting metric) are standard practice, connecting this topic directly to the Experimentation domain's broader emphasis on rigorous, reproducible model evaluation.
What is the purpose of a kernel in a Convolutional Neural Network (CNN)?
Options:
To perform convolution operations on input data.
To calculate the loss function.
To classify the data into different categories.
To normalize the input data.
Answer:
AExplanation:
A kernel (or filter) in a CNN is a small matrix of learnable weights that slides across the input (an image, feature map, or intermediate activation) computing a dot product at each spatial position — the convolution operation. Each kernel is trained to detect a specific local pattern: early-layer kernels typically learn to detect low-level features like edges and color gradients, while kernels in deeper layers combine these into detectors for more complex, higher-level patterns (textures, object parts, and eventually whole-object representations as receptive fields grow with depth). A convolutional layer typically applies many kernels in parallel, each producing its own output channel, collectively forming the layer's feature map.
The other options describe separate CNN components with distinct responsibilities: the loss function (B) is computed at the network's output based on the difference between predictions and ground truth, entirely separate from the kernel's role in feature extraction. Classification (C) is typically performed by fully connected (dense) layers — often with a softmax activation — placed after the convolutional feature-extraction stack, not by the kernels themselves. Normalization (D) is handled by dedicated layers such as batch normalization or layer normalization, inserted between convolutional layers to stabilize activations, again a separate mechanism from the convolution operation itself.
In experimentation, how does data augmentation contribute to improving model accuracy?
Options:
It helps in increasing the size of the dataset, leading to better generalization of the model.
It reduces the complexity of the model, making it easier to train and evaluate.
It has no impact on model accuracy and is primarily used for data visualization purposes.
It improves the interpretability of the model by providing additional insights into the data.
Answer:
AExplanation:
Data augmentation applies label-preserving transformations to existing training examples — rotation, flipping, cropping, color jitter, and noise injection for images; back-translation, synonym substitution, and random masking for text; time-stretching, pitch-shifting, and noise addition for audio — to synthetically expand the effective size and diversity of a training dataset without collecting new labeled data. This exposes the model to a wider range of input variations it may encounter at inference time, reducing overfitting to the specific characteristics of the original, smaller dataset and improving generalization to unseen data. This is particularly valuable in domains where labeled data is expensive or scarce to collect, including many multimodal settings.
Options B, C, and D each misattribute augmentation's mechanism or effect: augmentation does not reduce model complexity (B) — it operates entirely on the data, leaving model architecture and parameter count unchanged, and can in some cases make optimization more demanding due to increased input variability. It is not merely a visualization tool with no accuracy impact (C) — this directly contradicts augmentation's well-established, empirically demonstrated role as a regularization technique. And while augmented data can occasionally surface edge cases during error analysis, augmentation's primary purpose is not interpretability (D) — techniques like SHAP, LIME, or attention visualization address interpretability directly, a separate concern from dataset expansion.
In large-language models, what is the purpose of the attention mechanism?
Options:
To measure the importance of the words in the output sequence.
To assign weights to each word in the input sequence.
To determine the order in which words are generated.
To capture the order of the words in the input sequence.
Answer:
BExplanation:
The attention mechanism computes a set of weights over the tokens in the input (or context) sequence for each step of processing, reflecting how relevant each input token is to the computation currently being performed — for instance, how relevant each word in a source sentence is to correctly translating a given target word, or how relevant each prior token is to predicting the next one in an autoregressive model. Mechanically, this is computed via query, key, and value projections: a query (representing the current focus) is compared against keys (representing each input token) to produce attention scores, which are normalized (typically via softmax) into weights and used to compute a weighted sum over the corresponding values — allowing the model to dynamically focus more on relevant tokens and less on irrelevant ones, rather than treating all input tokens with equal importance.
Option D describes positional encoding's role (covered directly in an earlier question in this set) — capturing token order — which is a distinct mechanism from attention; attention operates on token *content and relevance*, while positional encoding separately supplies *order* information as an input feature, since self-attention itself is permutation-invariant without it. Option A misdirects the weighting toward the output sequence specifically, when attention weights are computed primarily over the input/context tokens being attended to. Option C describes the decoding/generation procedure (autoregressive sampling), not attention's mechanism.
You are developing a GenAI-Multimodal system that uses data from various sources. What is one potential issue you need to consider in relation to bias in data?
Options:
The data used to train the AI system may not be representative of the population it is intended to serve.
Bias in data is irrelevant as long as the AI system produces accurate predictions.
Bias in data can only be addressed after the AI system has been deployed.
Bias in data is not a concern for AI systems as they are designed to be neutral and objective.
Answer:
AExplanation:
Representativeness bias occurs when a training dataset systematically over- or under-samples subpopulations relative to the population the deployed system will actually encounter — for example, a facial recognition dataset skewed toward lighter-skinned faces, or a multimodal medical dataset drawn predominantly from one demographic group. Because models learn statistical patterns from their training distribution, an unrepresentative dataset produces a model whose accuracy, calibration, and fairness properties degrade for underrepresented groups, even when aggregate accuracy metrics look acceptable.
This is precisely why aggregate accuracy is an insufficient safeguard: option B's framing — that bias doesn't matter "as long as predictions are accurate" — conflates overall accuracy with subgroup accuracy, and a model can post strong aggregate numbers while systematically failing specific populations. Option D is factually false; AI systems have no inherent neutrality — they inherit and can amplify whatever patterns (including societal biases) exist in their training data and objective function. Option C is also incorrect: mitigating representativeness bias is significantly cheaper and more effective when addressed at the data-collection and curation stage — through stratified sampling, bias audits, and diverse data sourcing — than after deployment, when it becomes a retraining and remediation problem, and by then real-world harm may have already occurred.
In a multimodal machine learning context, how are different modalities usually linked to each other?
Options:
Different modalities are linked through a shared representation that captures the relationships between the modalities.
Different modalities are linked through random connections.
Different modalities are linked through separate models that are ensembled by tree-based models.
Different modalities are not linked to each other in a multimodal machine learning context.
Answer:
AExplanation:
The defining goal of multimodal machine learning is to learn a shared (joint) representation space that captures cross-modal relationships and correspondences — allowing information from one modality to inform, constrain, or complete information from another. This shared representation is what enables tasks like cross-modal retrieval (finding images from a text query), cross-modal generation (text-to-image, image-to-text), and joint reasoning (visual question answering), all of which require the model to relate concepts across modality boundaries rather than process each in isolation.
How that shared representation is learned varies — contrastive objectives (CLIP), joint embedding via co-attention (VisualBERT, LXMERT), or fusion layers that combine modality-specific features — but the underlying principle is consistent across architectures: linkage happens through learned representations, not fixed rules or arbitrary connections.
Option C describes a specific, narrow ensembling strategy (tree-based combination of separate unimodal models) that is neither standard nor representative of how modern multimodal systems establish cross-modal relationships; it also conflates "linking modalities" with "combining model outputs," which is closer to late fusion than to representation learning. Option D is simply the negation of the field's core premise. Option B introduces randomness where structure is explicitly what is being learned.
Which framework is used for conversational AI models development?
Options:
NVIDIA Metropolis
NVIDIA NeMo
NVIDIA DeepStream
NVIDIA Clara
Answer:
BExplanation:
NVIDIA NeMo is NVIDIA's open-source framework for building, training, and customizing conversational and generative AI models — spanning automatic speech recognition, natural language processing, text-to-speech, and large language models. It provides modular, reusable "neural modules" and pretrained checkpoints that developers fine-tune for domain-specific conversational applications (chatbots, voice assistants, transcription pipelines), and it integrates with NVIDIA's broader deployment stack (Triton, TensorRT) for production serving.
The distractors each target a different NVIDIA SDK's actual domain: NVIDIA Metropolis (A) is a platform for vision AI and intelligent video analytics (smart cities, retail analytics), not conversational AI. NVIDIA DeepStream (C) is a streaming analytics SDK for building GPU-accelerated video and audio processing pipelines, primarily targeting perception tasks rather than conversational model training. NVIDIA Clara (D) is a healthcare-specific application framework for medical imaging and genomics AI, unrelated to conversational AI development.
It's worth distinguishing NeMo from Riva: NeMo is the training/customization framework, while Riva is the corresponding deployment SDK optimized for low-latency, production speech and conversational AI inference. Exam questions sometimes probe this NeMo-versus-Riva distinction directly, so treat "build/train/customize" as the NeMo signal and "deploy/production/low-latency" as the Riva signal.
You are developing a ML model for image classification. You have a dataset with 10,000 images of cats, dogs and birds. Which of the following ML models would be the most appropriate choice for this task?
Options:
Logistic Regression
K-Means Clustering
Linear Regression
Convolutional Neural Network (CNN)
Answer:
DExplanation:
CNNs are the standard architecture for image classification because their convolutional layers exploit the spatial locality and translation invariance inherent to image data: learned filters detect local patterns (edges, textures, shapes) that compose hierarchically into higher-level features (parts, objects) as depth increases, without requiring the manual feature engineering that traditional models would need to reach comparable accuracy on raw pixel data. Pooling layers further provide a degree of spatial invariance, and parameter sharing across the image keeps the model tractable relative to a fully connected network operating on raw pixels.
Logistic Regression (A) is a linear classifier that operates on flattened feature vectors; applied directly to raw pixels of a 3-class image problem, it cannot capture the non-linear spatial structure needed to separate cats, dogs, and birds reliably, though it could serve as a baseline or as the final classification head atop CNN-extracted features. K-Means (B) is an unsupervised clustering algorithm — inappropriate here because the task is supervised classification with labeled classes. Linear Regression (C) predicts continuous outputs and is not designed for categorical class prediction at all.
For 10,000 labeled images, a CNN (potentially fine-tuned from a pretrained backbone via transfer learning, given the modest dataset size) is the appropriate and industry-standard choice.
You are tasked with developing an image processing model using machine learning. You need to classify thousands of labeled images of cats and dogs. Which algorithm is commonly used for image classification?
Options:
Decision Trees
K-Means Clustering
Convolutional Neural Networks (CNN)
Linear Regression
Answer:
CExplanation:
CNNs remain the standard architecture for image classification tasks of this kind, for the same structural reasons covered elsewhere in this set: convolutional layers exploit spatial locality and translation invariance in image data, learning hierarchical features — edges and textures in early layers, parts and objects in deeper layers — directly from labeled pixel data, without requiring hand-engineered features. With thousands of labeled cat/dog images, a CNN (trained from scratch or, more efficiently given the modest dataset size, fine-tuned from a pretrained backbone via transfer learning) is the practical, industry-standard choice.
Decision Trees (A) can technically be applied to hand-engineered image features, but they scale poorly to raw high-dimensional pixel input and cannot learn spatial hierarchies the way convolutional architectures do — they're a reasonable choice for structured/tabular data, not raw image classification. K-Means Clustering (B) is unsupervised and would group images by similarity without using the provided labels at all, making it unsuitable for a labeled classification task where you already have ground-truth cat/dog annotations to learn from directly. Linear Regression (D) predicts continuous numeric outputs and is not designed for categorical classification; even logistic regression, its classification-oriented cousin, would struggle on raw pixels without the feature-learning capacity a CNN provides.
This mirrors a nearly identical question earlier in this set (10,000 cats/dogs/birds) — expect the exam to test this CNN-for-images association repeatedly, sometimes with different distractor combinations.
In the transformer architecture, what is the purpose of positional encoding?
Options:
To encode the semantic meaning of each token in the input sequence.
To add information about the order of each token in the input sequence.
To remove redundant information from the input sequence.
To encode the importance of each token in the input sequence.
Answer:
BExplanation:
Unlike recurrent architectures, which process tokens sequentially and thereby inherently encode order through the sequence of computation, the transformer's self-attention mechanism processes all tokens in parallel and is permutation-invariant by construction — attention scores between tokens do not inherently depend on their position in the sequence. Positional encoding solves this by injecting explicit information about each token's position into its input representation, typically by adding a positional vector (computed via fixed sinusoidal functions in the original "Attention Is All You Need" formulation, or learned as trainable embeddings in many modern variants) to the token's embedding before it enters the attention layers. Without this, "the cat sat on the mat" and "the mat sat on the cat" would be indistinguishable to the self-attention mechanism, since the same set of token embeddings would be processed identically regardless of order.
Semantic meaning (option A) is the role of the token embeddings themselves, learned separately from positional information — the two are combined (typically summed) but serve distinct purposes. Positional encoding does not remove information (C); it adds it. And while attention weights do effectively encode a learned notion of token importance relative to a query (option D), that importance-weighting mechanism is a separate, downstream function of the attention layers, not the role of positional encoding itself, which only supplies order information as an input feature.
What does mixed-precision training refer to?
Options:
Training a model using multiple precision levels, such as using both single-precision and double-precision floating-point numbers.
Training a model using diverse data types while addressing challenges related to missing or incomplete information.
Training a model using different types of data, such as text, images, audio, time series, and geospatial information.
Training a model using incomplete or missing information from different modalities.
Answer:
AExplanation:
Mixed-precision training performs the bulk of computation — matrix multiplications and convolutions — in a lower-precision floating-point format (typically FP16 or BF16 on NVIDIA Tensor Cores) while maintaining a master copy of weights and accumulating certain sensitive operations (like loss scaling and gradient accumulation) in FP32 to preserve numerical stability. The result is substantially faster training throughput and reduced memory footprint, since lower-precision arithmetic runs at higher effective FLOPS on hardware with dedicated Tensor Cores, without a meaningful loss of final model accuracy when combined with techniques like dynamic loss scaling to prevent gradient underflow.
Note that option A's specific mention of "double-precision" (FP64) is not how mixed precision is practiced in modern deep learning — production mixed-precision training combines FP16/BF16 with FP32, not FP64, since FP64 offers no throughput advantage on Tensor Core hardware and is rarely used in training pipelines. Despite that imprecision in the option's wording, A is still the only choice capturing the correct underlying concept: combining multiple numeric precision levels within one training run. Options B, C, and D all misdescribe mixed precision as a *data-type* or *modality* strategy, confusing numerical precision (a performance/optimization concept) with data modality (a multimodal-data concept) — a distinction the exam tests directly.