Free practice test for AI Engineering Intern — Amber Student: 15 questions on Core subject for AI Engineering Intern, Aptitude & reasoning, Role knowledge — with answers and explanations.
Pages: 3Questions per page: 5
Rate this quiz
Avg: 0.00 ( 0 )
Score: 0Page 1 / 3
1. Which loss function is most appropriate for a binary classification problem using a neural network with a sigmoid output activation?
Explanation: Binary cross‑entropy directly measures the difference between predicted probabilities and true labels for binary tasks, unlike MSE which is suited for regression.
2. In a convolutional neural network, what is the primary effect of increasing the stride value in a convolutional layer?
Explanation: A larger stride skips input positions, producing a smaller output map; it does not change parameter count or receptive field size directly.
3. Which of the following regularization techniques explicitly adds a penalty term proportional to the L2 norm of the weights during training?
Explanation: L2 regularization (weight decay) adds λ||w||² to the loss, directly penalizing large weights; the others do not.
4. During transfer learning, which strategy is typically used to adapt a pre‑trained language model to a new domain with limited data?
Explanation: Freezing lower layers preserves learned representations while fine‑tuning higher layers adapts to the new domain with few data points.
5. When deploying a trained model to a production environment, which metric is most useful for monitoring model drift over time?
Explanation: Monitoring changes in the prediction distribution (e.g., via KL‑divergence) reveals drift; training accuracy or validation loss do not capture real‑world shifts.
6. A student has 5 pens and 3 pencils. He gives 2 pens and 1 pencil to a friend. What is the ratio of pens to pencils he has left?
Explanation: After giving away, he has 3 pens and 2 pencils. Ratio = 3:2.
7. If a train travels 120 km in 2 hours, what is its average speed?
Explanation: Speed = distance/time = 120/2 = 60 km/h.
8. Which of the following statements is true about a prime number?
Explanation: Prime numbers are divisible only by 1 and themselves.
9. In a set of numbers {2, 4, 6, 8, 10}, what is the median?
Explanation: Ordered set is same. Median is the middle value, 6.
10. A machine produces 100 items per hour. If the production rate increases by 20% and the machine runs for 1.5 hours, how many items are produced?
11. Which of the following techniques is most appropriate for reducing over‑fitting when training a deep neural network on a small dataset?
Explanation: Weight decay adds an L2 penalty to the loss, directly discouraging large weights and helping generalisation on small data.
12. During model deployment, you notice that the accuracy on the validation set drops gradually over weeks. Which metric should you monitor to detect this drift?
Explanation: PSI measures distribution shift between current and reference data, making it suitable for drift detection.
13. In a convolutional layer, increasing the stride value from 1 to 2 will:
Explanation: A larger stride skips input positions, producing a smaller spatial output (lower resolution).
14. You are fine‑tuning a pre‑trained BERT model for a sentiment analysis task with only 500 labeled examples. Which strategy will give you the best trade‑off between performance and risk of catastrophic forgetting?
Explanation: Freezing the encoder keeps the rich language representations intact while only learning the task‑specific head, reducing over‑fitting on tiny data.
15. You need to evaluate the trade‑off between model size and inference latency on a mobile device. Which of the following metrics is most relevant?
Explanation: FLOPs directly reflect computational cost per inference, which correlates with latency on resource‑constrained devices.