01. A bank risk team trains a 20-layer fully connected network with sigmoid hidden activations. After many epochs the training loss has barely moved. Gradient norms are about 1e-2 at the last layer and about 1e-7 at the first layer, and no NaN values appear.
Which changes address the cause? (Choose two.)
a) Apply gradient clipping with a lower norm threshold on every layer
b) Add residual connections that let gradients bypass layers
c) Increase L2 weight decay on every layer
d) Lower the learning rate to stabilize the updates
e) Replace the sigmoid hidden activations with ReLU
02. A convolutional layer receives a 64 × 64 × 3 input. It applies 32 filters of size 5 × 5 with stride 1, no padding and one bias per filter.
What are the output dimensions and the number of trainable parameters of this layer?
a) 60 × 60 × 32 output and 2,432 parameters
b) 64 × 64 × 32 output and 2,432 parameters
c) 60 × 60 × 32 output and 800 parameters
d) 60 × 60 × 32 output and 2,400 parameters
03. An insurer's claims team uses a trained logistic regression model to flag suspicious claims. Without retraining, it lowers the decision threshold on the predicted probability from 0.5 to 0.3.
Which effects follow from this change? (Choose two.)
a) Precision is certain to rise, because borderline claims are no longer rejected
b) The coefficients shift, so the boundary moves and the claim scores change
c) ROC-AUC is unchanged, because the scores and their ranking are unchanged
d) Recall rises or stays the same, because more true fraud cases score above 0.3
e) ROC-AUC rises, because the new threshold sits nearer the best operating point
04. A translation model's single attention layer of width 512 is replaced by 8 heads of width 64 each, with the same total projection size, so the parameter count stays about the same. Translation quality improves.
What best explains the gain?
a) The eight heads multiply the parameter count, adding capacity
b) Each head attends within its own learned subspace
c) The heads track word order, so positional encoding can be removed
d) Splitting into heads makes attention cost linear in sequence length
05. A city transport office trains a demand-forecasting network with mixed precision: most computation runs in FP16 while a master copy of the weights is kept in FP32. Step time and memory use both fall, but many small gradients now come out as exactly zero and the loss stops improving.
Which statements explain the problem and its standard remedy? (Choose two.)
a) FP16 has a much narrower range than FP32, so very small gradient values underflow to zero
b) FP16 overflows on very small values, so the loss should be divided by a constant before backpropagation
c) Keeping the master weights in FP32 is what zeroes the small gradients, so they should be stored in FP16
d) Mixed precision saves memory by dropping layers with small gradients, so those layers no longer train
e) Loss scaling multiplies the loss before backpropagation and unscales the gradients before the weight update
06. An agricultural cooperative has 600 labeled photos for sorting fruit into 5 grades. It starts from a CNN pre-trained on a large set of everyday natural photos, which look much like the cooperative's own images.
Which transfer-learning approach is most suitable?
a) Fine-tune every layer at the original pre-training learning rate
b) Discard the pre-trained weights and train the full network from scratch
c) Freeze the backbone and train a new head
d) Freeze the new head and fine-tune only the earliest convolution layers
07. A logistics firm forecasts daily parcel volume. The team split three years of daily records into training and test sets at random and reached 4% error on the test set, but live forecasts show 15% error. One input feature is a 7-day moving average centered on each day.
Which changes address the cause of the gap? (Choose two.)
a) Reshuffle the records and repeat the random split with a larger test share
b) Split the records by date, training on earlier days and testing on later days
c) Replace the single split with 5-fold cross-validation over shuffled days
d) Compute the moving average from the 7 days before each forecast date
e) Standardize the moving average with statistics from all three years of records
08. A bank's fraud team compares two models on transactions in which only 0.2% are fraudulent. Investigators can review only the highest-ranked alerts each day, so every false alarm wastes scarce analyst time, and the team wants a comparison that does not depend on one fixed threshold.
Which evaluation metric best fits these requirements?
a) Area under the precision-recall curve
b) Overall accuracy
c) Recall measured at the default decision threshold of 0.5
d) Area under the ROC curve
09. A city transport office wants an assistant that drafts service bulletins. Route and timetable rules change several times a week, and every bulletin must follow a strict house template. Placing template instructions in the system prompt has already produced bulletins that drift from the template.
Which design best meets both requirements?
a) Use retrieval alone and restate the template more firmly in the system prompt
b) Fine-tune the model once on the rule documents and the template examples together
c) Fine-tune the model every week on the newest rule documents so that it memorizes each change
d) Retrieve the current rules at query time and fine-tune on example bulletins in the template
10. A hospital lab's image classifier contains dropout and batch normalization layers and scored well on its validation set. After deployment the service handles one image per request. Two problems appear: the same image submitted twice can receive different predictions, and accuracy on live requests is far below the validation score.
Which cause explains both observations?
a) The model overfit the validation set during tuning, and so live accuracy falls below the score measured in training
b) Live images are normalized with different mean and scale values, which shifts every input away from the training range
c) The model is being served in training mode, so dropout still drops units at random and batch normalization uses each one-image batch's statistics
d) The saved weights lost precision during export, which adds a small random error to each prediction at request time