Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 MCQs Building Models with Keras

INT422 — Deep Learning 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Introduction to Keras Easy

    What is Keras mainly used for?

  2. Question 2 of 60 Keras installation Easy

    Which command is commonly used to install Keras with pip?

  3. Question 3 of 60 Keras layers and models Easy

    Which Keras class is often used to build a model layer by layer?

  4. Question 4 of 60 Keras layers and models Easy

    What does a dense layer do in a neural network?

  5. Question 5 of 60 Building a regression model Easy

    What type of output is usually produced by a regression model?

  6. Question 6 of 60 Building a regression model Easy

    Which loss function is commonly used for regression in Keras?

  7. Question 7 of 60 Multi-layer Perceptron learning for classification Easy

    What does MLP stand for?

  8. Question 8 of 60 Multi-layer Perceptron learning for classification Easy

    For a binary classification task, what activation is often used in the output layer?

  9. Question 9 of 60 Image classification with Keras Easy

    What kind of data is image classification designed to predict?

  10. Question 10 of 60 Image classification with Keras Easy

    Which layer is commonly used to work with image data in Keras models?

  11. Question 11 of 60 Building a text classification model Easy

    What is a common first step in text classification?

  12. Question 12 of 60 Building a text classification model Easy

    Which Keras layer is often used to turn word indices into dense vectors?

  13. Question 13 of 60 Overfitting and underfitting Easy

    What does overfitting mean?

  14. Question 14 of 60 Overfitting and underfitting Easy

    What is a common method to reduce overfitting?

  15. Question 15 of 60 Saving and loading a model Easy

    Why do we save a trained Keras model?

  16. Question 16 of 60 Saving and loading a model Easy

    Which function is used to load a saved Keras model?

  17. Question 17 of 60 Hyperparameter tuning Easy

    What is a hyperparameter?

  18. Question 18 of 60 Hyperparameter tuning Easy

    Which of the following is a hyperparameter?

  19. Question 19 of 60 Introduction to NVIDIA DGX Station A100 Easy

    What is NVIDIA DGX Station A100 primarily designed for?

  20. Question 20 of 60 Hardware Architecture Easy

    Which component is a key part of the DGX Station A100 hardware architecture?

  21. Question 21 of 60 Introduction to Keras Medium

    A developer wants to train, validate, and generate predictions from a neural network without manually writing the complete training loop. Which Keras feature most directly supports this requirement?

  22. Question 22 of 60 Keras installation Medium

    A student wants to use TensorFlow-backed Keras in a new Python virtual environment. Which installation and import combination is most appropriate?

  23. Question 23 of 60 Keras layers and models Medium

    A neural network must accept an image and a metadata vector as separate inputs before combining them. Which Keras model-building approach is most suitable?

  24. Question 24 of 60 Keras layers and models Medium

    A Dense layer has 32 input features and 64 output units, with one bias per output unit. How many trainable parameters does it contain?

  25. Question 25 of 60 Building a regression model Medium

    A Keras model predicts unrestricted real-valued house prices. Which output layer and loss function are most appropriate?

  26. Question 26 of 60 Building a regression model Medium

    Before training a regression model, a normalization layer must learn the mean and variance of each feature. Which data should be passed to the layer's adapt() method?

  27. Question 27 of 60 Multi-layer Perceptron learning for classification Medium

    An MLP classifies samples into five mutually exclusive classes, and the labels are integers from 0 to 4. Which configuration is appropriate for the output layer and loss?

  28. Question 28 of 60 Image classification with Keras Medium

    A Conv2D layer receives an RGB image represented as a single sample using Keras's default channels-last format. Which input shape should be specified for a image?

  29. Question 29 of 60 Image classification with Keras Medium

    A small image dataset causes a CNN to memorize training images. Which Keras strategy can increase input diversity without permanently creating additional image files?

  30. Question 30 of 60 Building a text classification model Medium

    Text sequences in a batch are padded with zeros to obtain equal lengths. Which configuration helps an embedding-based model ignore those padding positions?

  31. Question 31 of 60 Building a text classification model Medium

    A text classifier assigns each document to exactly one of four categories, and the targets are one-hot encoded. Which final layer and loss should be used?

  32. Question 32 of 60 Overfitting and underfitting Medium

    During training, the training loss keeps decreasing, but the validation loss begins increasing after epoch 12. What does this pattern most strongly indicate?

  33. Question 33 of 60 Saving and loading a model Medium

    A developer wants to save a trained Keras model so that its architecture, weights, and optimizer state can later be restored together. Which approach is most appropriate?

  34. Question 34 of 60 Hyperparameter tuning Medium

    A tuner is comparing learning rates of , , and . Which evaluation procedure best avoids optimistic bias?

  35. Question 35 of 60 NVIDIA DGX Station A100 Medium

    Which workload is the strongest match for an NVIDIA DGX Station A100 rather than a conventional office workstation?

  36. Question 36 of 60 Introduction to NVIDIA DGX Station A100 Medium

    A research team needs data-center-class AI computing in a local office without installing a full server rack. Why is DGX Station A100 suitable?

  37. Question 37 of 60 Hardware Architecture Medium

    A model is distributed across the multiple A100 GPUs in a DGX Station A100 and frequently transfers tensors between GPUs. Which hardware feature primarily accelerates these transfers?

  38. Question 38 of 60 DGX Station A100 Software Stack Medium

    A team wants a tested container containing a deep learning framework and GPU-optimized dependencies for DGX Station A100. Which NVIDIA resource is most appropriate?

  39. Question 39 of 60 CUDA Toolkit Medium

    A developer needs to compile a custom CUDA kernel for use in a deep learning operation. Which CUDA Toolkit component performs the CUDA source compilation?

  40. Question 40 of 60 Future of AI with DGX Station A100 Medium

    A company prototypes models locally on DGX Station A100 and later moves them to larger NVIDIA-based infrastructure. Which practice best supports this scaling path?

  41. Question 41 of 60 Introduction to Keras Hard

    A Keras Functional model applies the same encoder instance to two different inputs and then combines the resulting embeddings. Which statement correctly describes training behavior?

  42. Question 42 of 60 Keras installation Hard

    A developer installs Keras 3 in a fresh environment and wants to run it with the JAX backend rather than TensorFlow. Which setup is correct?

  43. Question 43 of 60 Keras layers and models Hard

    A two-output Keras model is compiled with losses and , loss weights and , and several layer regularizers producing penalties . Ignoring metric values, what objective is minimized?

  44. Question 44 of 60 Keras layers and models Hard

    A subclassed Keras layer creates a new trainable matrix inside call() every time it receives an input. This causes state-creation and tracing errors. What is the most appropriate redesign?

  45. Question 45 of 60 Building a regression model Hard

    Regression targets are standardized as , where . A model achieves an MSE of in standardized target space. What is its MSE after predictions are converted back to the original units?

  46. Question 46 of 60 Building a regression model Hard

    A regression network models heteroscedastic Gaussian noise by outputting a mean and . Ignoring constants, which per-example loss is the Gaussian negative log-likelihood?

  47. Question 47 of 60 Multi-layer Perceptron learning for classification Hard

    An MLP performs three-class classification with integer labels in . Its output layer returns three unrestricted values with no activation. Which loss configuration is mathematically consistent and numerically stable?

  48. Question 48 of 60 Image classification with Keras Hard

    A pretrained image backbone is frozen, but validation accuracy is unexpectedly poor. The new dataset is supplied in , whereas the backbone was trained with a different normalization convention. What is the best correction?

  49. Question 49 of 60 Image classification with Keras Hard

    An input pipeline is ordered as dataset.map(random_augment).cache().shuffle(...).batch(...). After the first epoch, each image receives the same augmentation repeatedly. Which change preserves caching while generating fresh stochastic augmentations?

  50. Question 50 of 60 Building a text classification model Hard

    Sequences are padded with token ID 0, and Embedding(mask_zero=True) is used. Which architecture can automatically exclude padding positions when aggregating sequence features?

  51. Question 51 of 60 Building a text classification model Hard

    A TextVectorization layer is adapted on the entire corpus before the data is split. Why can this make the reported validation result optimistic, and what is the correct procedure?

  52. Question 52 of 60 Overfitting and underfitting Hard

    During fit(), training loss is consistently higher than validation loss. The model uses strong data augmentation and dropout. Which diagnostic best determines whether this is an artifact of different execution conditions rather than underfitting?

  53. Question 53 of 60 Saving and loading a model Hard

    A model containing a custom layer must be saved in the native Keras format and loaded without passing a custom_objects dictionary. Which implementation is most appropriate?

  54. Question 54 of 60 Hyperparameter tuning Hard

    Hundreds of hyperparameter configurations are compared on the same validation set, and the best one is reported using that validation score. What is the strongest evaluation design for reducing selection bias?

  55. Question 55 of 60 NVIDIA DGX Station A100 Hard

    A DGX Station A100 has its GPUs partitioned into Multi-Instance GPU instances for several independent users. A new job requires the maximum resources of complete GPUs and high-bandwidth multi-GPU communication. What should the administrator do?

  56. Question 56 of 60 Introduction to NVIDIA DGX Station A100 Hard

    Which use case most directly reflects the purpose of the NVIDIA DGX Station A100?

  57. Question 57 of 60 Hardware Architecture Hard

    A model is placed on multiple A100 GPUs connected by NVLink, but a single-GPU Keras script still uses only one GPU. Which statement best explains this result?

  58. Question 58 of 60 DGX Station A100 Software Stack Hard

    A CUDA-enabled NGC container includes its own user-space CUDA libraries. What host-side compatibility condition is still essential on a DGX Station A100?

  59. Question 59 of 60 CUDA Toolkit Hard

    A custom CUDA operation built for older GPUs fails on an A100 with no kernel image is available for execution on the device. What is the most direct build-level remedy?

  60. Question 60 of 60 Future of AI with DGX Station A100 Hard

    An organization wants future AI workloads to share a DGX Station efficiently while preserving isolation between teams. Which strategy is most technically sound?

That's unit 2

Answer a few questions and your score shows up here.