




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which of the following best describes Artificial Narrow Intelligence (ANI)? A) An AI that can perform any intellectual task a human can B) An AI that excels at a single, well-defined task C) An AI that surpasses human intelligence in all domains D) An AI that can autonomously rewrite its own architecture Answer: B Explanation: ANI, also called weak AI, is designed to solve a specific problem (e.g., image classification) and does not possess general reasoning abilities. Question 2. The period in AI history known as an “AI Winter” primarily refers to: A) A time when AI research funding dramatically increased B) A phase of rapid breakthroughs in deep learning C) A period of reduced funding and waning interest due to unmet expectations D) The era when GPUs first became available for AI workloads Answer: C Explanation: AI Winters occurred in the 1970s and late 1980s-early 1990s when hype faded and investment dried up because early AI systems failed to deliver on promises. Question 3. Which hardware component is most critical for accelerating deep learning training? A) Central Processing Unit (CPU) B) Graphics Processing Unit (GPU)
C) Hard Disk Drive (HDD) D) Network Interface Card (NIC) Answer: B Explanation: GPUs provide massive parallelism, making matrix multiplications in neural networks much faster than CPUs. Question 4. In supervised learning, the “label” associated with each training example represents: A) The input feature vector B) The loss function value C) The ground-truth output the model should predict D) The hyperparameter set Answer: C Explanation: Labels are the correct outputs (e.g., class names) that guide the model during training. Question 5. Which activation function suffers from the “vanishing gradient” problem most severely? A) ReLU B) Sigmoid C) Leaky ReLU D) Softmax Answer: B
B) Splitting raw text into smaller units such as words or sub-words C) Removing stop-words from a document D) Generating a summary of a paragraph Answer: B Explanation: Tokenization is the first preprocessing step that breaks text into tokens (words, sub-words, or characters) for downstream modeling. Question 9. The Transformer architecture replaces recurrence with which core mechanism? A) Convolution B) Attention C) Pooling D) Dropout Answer: B Explanation: Self-attention allows each token to weigh the relevance of every other token, enabling parallel processing of sequences. Question 10. Which large language model (LLM) introduced the “masked language modeling” pre-training objective? A) GPT- 3 B) BERT C) T D) RoBERTa Answer: B
Explanation: BERT masks random tokens and predicts them, enabling bidirectional context learning. Question 11. In Generative Adversarial Networks (GANs), the discriminator’s loss is minimized when it: A) Generates realistic images B) Correctly distinguishes real from fake data C) Produces higher-dimensional latent vectors D) Updates the generator’s weights directly Answer: B Explanation: The discriminator is trained to classify inputs as real or generated; its loss decreases as its predictions improve. Question 12. A Variational Autoencoder (VAE) differs from a standard autoencoder mainly because: A) It uses a deterministic encoder-decoder pair B) It learns a probabilistic latent space with a defined distribution C) It cannot be used for data generation D) It requires supervised labels Answer: B Explanation: VAEs model the latent space as a probability distribution (usually Gaussian), enabling controlled sampling for generation. Question 13. Which prompting technique provides the model with an example of the desired input-output pair before the test query? A) Zero-shot prompting
Explanation: Token limit (or context window) defines how many tokens (words/sub-words) can be fed into the model at once. Question 16. Which data preprocessing technique is most appropriate for handling a highly imbalanced binary classification dataset? A) Normalizing all numeric features B) One-hot encoding categorical variables C) Applying SMOTE (Synthetic Minority Over-sampling Technique) D) Removing outliers Answer: C Explanation: SMOTE creates synthetic examples of the minority class, helping to balance the class distribution. Question 17. During model selection, the “bias-variance trade-off” describes the relationship between: A) Training speed and inference latency B) Model complexity and under/over-fitting C) Number of features and dimensionality reduction D) Hyperparameter count and GPU memory usage Answer: B Explanation: High bias (under-fitting) arises from overly simple models, while high variance (over-fitting) stems from overly complex models; selecting a model balances the two. Question 18. Which metric is most suitable for evaluating a binary classifier on an imbalanced dataset where false negatives are critical?
A) Accuracy B) ROC-AUC C) Precision D) Recall Answer: D Explanation: Recall (sensitivity) measures the proportion of actual positives correctly identified, crucial when missing a positive is costly. Question 19. In MLOps, the term “CI/CD for AI” primarily refers to: A) Continuous Integration and Continuous Deployment of data pipelines only B) Continuous Integration of code and Continuous Deployment of trained models into production C) Continuous Inspection and Continuous Documentation D) None of the above Answer: B Explanation: CI/CD in AI automates code testing, model training, and seamless deployment of validated models to production environments. Question 20. “Concept drift” in a deployed model occurs when: A) The hardware accelerators become outdated B) The statistical relationship between input features and target variable changes over time C) The model’s source code is refactored D) The training dataset is improperly shuffled
Question 23. Which XAI technique provides local explanations by approximating the model with a simple, interpretable surrogate? A) SHAP (SHapley Additive exPlanations) B) LIME (Local Interpretable Model-agnostic Explanations) C) Grad-CAM D) Dropout Answer: B Explanation: LIME fits a simple model (e.g., linear) around a specific prediction to explain its behavior locally. Question 24. In a responsible AI governance framework, the “model card” is used to: A) Store model weights securely B) Document model details, intended use, performance, and limitations C) Encrypt model predictions D) Automate hyperparameter tuning Answer: B Explanation: Model cards provide transparent documentation, helping stakeholders understand a model’s capabilities and risks. Question 25. Which of the following AI applications typically requires compliance with the Health Insurance Portability and Accountability Act (HIPAA)? A) Credit scoring B) Automated email triage C) Medical imaging diagnosis
D) Social media sentiment analysis Answer: C Explanation: HIPAA regulates protected health information; AI systems processing patient data, such as imaging diagnostics, must comply. Question 26. The term “ROI” in AI projects stands for: A Return on Investment B Rate of Innovation C Reliability of Inference D Resource Optimization Index Answer: A Explanation: ROI measures the financial benefit gained relative to the cost of implementing an AI solution. Question 27. Which industry most commonly uses AI for early fraud detection by analyzing transaction sequences? A) Healthcare B) Finance C) Retail D) Agriculture Answer: B Explanation: Financial institutions deploy AI models to spot anomalous patterns in transaction streams, reducing fraud losses.
D) Data monopoly Answer: C Explanation: Lifelong learning emphasizes continuous skill development to adapt to evolving AI-augmented workplaces. Question 31. Which deep learning optimizer adapts the learning rate for each parameter based on first and second moments of gradients? A) Stochastic Gradient Descent (SGD) B) AdaGrad C) RMSProp D) Adam Answer: D Explanation: Adam combines momentum (first moment) and RMSProp-like scaling (second moment) for per-parameter adaptive learning rates. Question 32. The “softmax” activation function is primarily used in the final layer of a network for: A) Binary classification B) Multi-class classification to produce a probability distribution C) Regression tasks D) Reducing overfitting Answer: B Explanation: Softmax normalizes logits into probabilities that sum to 1, suitable for mutually exclusive multi-class tasks.
Question 33. Which of the following best explains “over-parameterization” in modern neural networks? A) Using more training data than parameters B) Having more parameters than training samples, yet still achieving good generalization C) Reducing parameters to avoid overfitting D) Limiting the number of layers to improve speed Answer: B Explanation: Over-parameterized networks have more weights than data points, but with appropriate regularization and training dynamics, they can still generalize well. Question 34. In reinforcement learning, the “exploration-exploitation” dilemma concerns: A) Deciding between using GPUs or CPUs for training B) Balancing the need to try new actions vs. using known rewarding actions C) Choosing between supervised and unsupervised loss functions D) Selecting the right activation function Answer: B Explanation: Agents must explore to discover better policies while exploiting known actions to maximize reward. Question 35. Which reinforcement learning algorithm learns a value function for each state–action pair and updates it using the Bellman equation? A) Policy Gradient B) Q-Learning
Explanation: Dropout mitigates co-adaptation of neurons by zeroing activations, improving generalization. Question 38. In the AI stack, which layer abstracts the underlying hardware to enable portable model deployment? A) Physical layer (GPUs/TPUs) B) Firmware layer C) Runtime/Inference engine (e.g., ONNX Runtime) D) Data ingestion layer Answer: C Explanation: Runtime engines provide a hardware-agnostic interface, translating model graphs into optimized code for various devices. Question 39. Which of the following is a common method to mitigate data poisoning attacks? A) Increasing batch size B) Encrypting model weights C) Using robust training algorithms that down-weight outlier samples D) Deploying models on edge devices only Answer: C Explanation: Robust training (e.g., using trimmed loss or anomaly detection) reduces the influence of maliciously crafted data. Question 40. The “Explainable AI” (XAI) method that visualizes which parts of an image contributed most to a CNN’s decision is: A) LIME
C) Grad-CAM D) t-SNE Answer: C Explanation: Grad-CAM generates class-specific heatmaps indicating salient regions influencing the prediction. Question 41. Which of the following best describes “few-shot prompting” in LLMs? A) Providing no examples at all B) Supplying a single demonstration example C) Giving several (typically 2-5) examples to guide the model D) Fine-tuning the entire model on a new dataset Answer: C Explanation: Few-shot prompting includes a small set of input-output pairs in the prompt to steer the model’s behavior. Question 42. In a data pipeline, “feature engineering” primarily aims to: A) Increase the size of raw data files B) Transform raw data into informative variables that improve model performance C) Reduce the number of GPUs required for training D) Encrypt the dataset for privacy Answer: B
B) Contrastive loss in self-supervised learning C) Cross-entropy loss for classification D) KL-divergence in VAEs Answer: C Explanation: Cross-entropy measures the discrepancy between predicted probabilities and true labels, typical for supervised tasks. Question 46. The “curse of dimensionality” impacts which type of machine learning algorithm the most? A) Decision trees B) k-Nearest Neighbors (k-NN) C) Linear regression D) Naïve Bayes Answer: B Explanation: k-NN relies on distance metrics, which become less meaningful as dimensionality grows, degrading performance. Question 47. Which of the following statements about “transfer learning” is correct? A) It requires training a model from scratch on every new task B) It freezes all layers of the pre-trained model and only trains a new output head C) It leverages knowledge from a source domain to improve learning on a target domain, often by fine-tuning some layers D) It is only applicable to unsupervised learning
Answer: C Explanation: Transfer learning re-uses representations learned on large datasets, adapting them to new tasks through fine-tuning. Question 48. In the context of AI ethics, “algorithmic transparency” means: A) Publishing the source code of all AI systems B) Making the decision-making process understandable to stakeholders, even if proprietary details remain hidden C) Using only open-source frameworks D) Encrypting model predictions Answer: B Explanation: Transparency focuses on explainability and auditability, allowing users to grasp why a model behaved as it did. Question 49. Which of the following is a typical sign of “data drift” in production? A) Model training time decreases dramatically B) Input feature distributions shift compared to the training set, leading to performance degradation C) The model’s architecture changes automatically D) GPU utilization spikes during inference Answer: B Explanation: Data drift occurs when the statistical properties of incoming data change, potentially invalidating the model.