Applying fundamental techniques to train deep learning models: Practice Questions — Core Machine Learning and AI Knowledge (NVIDIA-Certified Associate: Generative AI LLM)
Practice Questions: Applying Fundamental Techniques to Train Deep Learning Models These multiple-choice questions are designed to help candidates...
Practice Questions: Applying Fundamental Techniques to Train Deep Learning Models
These multiple-choice questions are designed to help candidates prepare for the NVIDIA-Certified Associate: Generative AI LLM exam by focusing on fundamental techniques used to train deep learning models effectively.
Which technique is primarily used to prevent overfitting during the training of deep neural networks?
- A. Increasing the learning rate
- B. Dropout
- C. Using a smaller batch size
- D. Reducing the number of layers
Correct answer: B. Dropout
Explanation: Dropout randomly disables neurons during training, which helps prevent the model from overfitting by promoting redundancy and robustness in the network.
What is the primary purpose of using a validation dataset during training?
- A. To update model weights
- B. To tune hyperparameters and monitor model generalization
- C. To increase training speed
- D. To initialize model parameters
Correct answer: B. To tune hyperparameters and monitor model generalization
Explanation: The validation set is used to evaluate model performance on unseen data during training, helping to adjust hyperparameters and detect overfitting.
Which optimization algorithm adapts the learning rate for each parameter individually during training?
- A. Stochastic Gradient Descent (SGD)
- B. Adam
- C. Batch Gradient Descent
- D. Momentum
Correct answer: B. Adam
Explanation: Adam combines momentum and adaptive learning rates, adjusting the step size for each parameter based on first and second moments of gradients.
What is the effect of increasing the batch size during training of a deep learning model?
- A. It always improves model accuracy
- B. It reduces the noise in gradient estimates but may require more memory
- C. It decreases training time without affecting performance
- D. It causes the model to overfit faster
Correct answer: B. It reduces the noise in gradient estimates but may require more memory
Explanation: Larger batch sizes provide more stable gradient estimates, improving convergence stability, but increase memory consumption and may reduce generalization.
Which technique is commonly used to initialize weights in deep neural networks to avoid vanishing or exploding gradients?
- A. Zero initialization
- B. Random uniform initialization
- C. Xavier (Glorot) initialization
- D. Constant initialization
Correct answer: C. Xavier (Glorot) initialization
Explanation: Xavier initialization sets weights based on the number of input and output neurons to maintain the variance of activations through layers, mitigating gradient issues.
What role does early stopping play in training deep learning models?
- A. It increases the number of training epochs
- B. It stops training when the model starts to overfit
- C. It accelerates the backpropagation process
- D. It initializes model weights
Correct answer: B. It stops training when the model starts to overfit
Explanation: Early stopping monitors validation performance and halts training once the validation loss stops improving, preventing overfitting.
Which loss function is most appropriate for a multi-class classification problem in deep learning?
- A. Mean Squared Error (MSE)
- B. Binary Cross-Entropy
- C. Categorical Cross-Entropy
- D. Hinge Loss
Correct answer: C. Categorical Cross-Entropy
Explanation: Categorical cross-entropy measures the difference between predicted probability distributions and true class labels, suitable for multi-class classification.
Transfer learning helps improve training efficiency by:
- A. Training models from scratch on large datasets
- B. Using pre-trained models as a starting point for new tasks
- C. Increasing the number of training epochs
- D. Reducing the size of the neural network
Correct answer: B. Using pre-trained models as a starting point for new tasks
Explanation: Transfer learning leverages knowledge from previously trained models, reducing the data and time needed to train models for related tasks.
More in this topic
Ready to test your knowledge?
Put what you've learned into practice with a quick quiz and track your progress.
Test your knowledge →