Practice Exam
25 exam-style questions covering all 4 domains. Try to answer each question before revealing the answer. Aim for 18+ correct (72%) before scheduling your real exam.
Domain 1: AI Concepts (Q1-7)
A) Predictive AI
B) Generative AI
C) Analytical AI
D) Reactive AI
Show Answer
B) Generative AI. Generative AI models create new content (text, images, code, audio) that did not exist before. Examples include GPT (text), DALL-E (images), and GitHub Copilot (code). Predictive AI forecasts outcomes from data but does not create new content.
A) CNN
B) RNN
C) Transformer
D) GAN
Show Answer
C) Transformer. The Transformer architecture, introduced in the 2017 paper "Attention Is All You Need," uses self-attention mechanisms to process all tokens in parallel. It is the foundation of GPT, BERT, Claude, and virtually all modern LLMs.
A) Supervised classification
B) Supervised regression
C) Unsupervised clustering
D) Reinforcement learning
Show Answer
C) Unsupervised clustering. Finding groups in unlabeled data without predefined categories is clustering, a form of unsupervised learning. Common algorithms include K-Means, DBSCAN, and hierarchical clustering.
A) Tokenization
B) Word embedding
C) One-hot encoding
D) Normalization
Show Answer
B) Word embedding. Word embeddings (Word2Vec, GloVe, BERT embeddings) represent words as dense vectors in a continuous space. Similar words have similar vectors. "King" and "queen" are close together; "king" and "bicycle" are far apart. Tokenization splits text into tokens; one-hot encoding creates sparse binary vectors.
A) Image classification
B) Image segmentation
C) Object detection
D) OCR
Show Answer
C) Object detection. Object detection identifies multiple objects within an image and draws bounding boxes around each one with a class label. Image classification assigns a single label to the entire image. Image segmentation classifies each pixel.
A) Narrow AI uses more data
B) Narrow AI performs specific tasks; general AI can perform any intellectual task
C) General AI is faster than narrow AI
D) Narrow AI is more expensive to build
Show Answer
B) Narrow AI performs specific tasks; general AI can perform any intellectual task. All current AI systems are narrow AI (also called weak AI) — they excel at specific tasks but cannot generalize. Artificial General Intelligence (AGI or strong AI) would match human-level intelligence across all domains, but it does not yet exist.
A) Looking up answers in a database
B) Predicting the next token based on the preceding context
C) Using reinforcement learning to find the best response
D) Retrieving and copying relevant documents
Show Answer
B) Predicting the next token based on the preceding context. GPT (Generative Pre-trained Transformer) models are autoregressive — they generate text one token at a time by predicting the most likely next token given all previous tokens. They do not store or retrieve facts from a database.
Domain 2: AI Development (Q8-13)
A) Training set
B) Validation set
C) Test set
D) Development set
Show Answer
C) Test set. The test set is held out and never seen during training or hyperparameter tuning. It provides an unbiased final evaluation of the model's performance on unseen data. The validation set is used during training for tuning.
A) Low recall (false negatives)
B) Low precision (false positives)
C) Low accuracy
D) High F1 score
Show Answer
B) Low precision (false positives). Blocking legitimate emails means the model is incorrectly predicting "spam" when it should not be — these are false positives. Precision measures how many positive predictions (spam) were actually correct. Low precision means too many false positives.
A) Removes missing values
B) Scales features to a common range (e.g., 0 to 1)
C) Converts text to numbers
D) Creates new features from existing ones
Show Answer
B) Scales features to a common range (e.g., 0 to 1). Normalization rescales feature values so they fall within a consistent range. This prevents features with large magnitudes (like salary: 50,000-200,000) from dominating features with small magnitudes (like age: 20-70) during model training.
A) Feature engineering
B) Data augmentation
C) Transfer learning
D) Dimensionality reduction
Show Answer
B) Data augmentation. Data augmentation creates additional training examples by applying transformations (rotation, flipping, cropping, color changes) to existing data. It helps prevent overfitting and improves model generalization, especially when training data is limited.
A) Batch size
B) Learning rate
C) Number of epochs
D) Dropout rate
Show Answer
B) Learning rate. The learning rate determines the step size when updating weights during gradient descent. Too high: training is unstable, may not converge. Too low: training is extremely slow. Finding the right learning rate is one of the most important tuning decisions.
A) Clean data before training
B) Evaluate model performance more reliably by training on multiple data splits
C) Deploy models to production
D) Generate synthetic training data
Show Answer
B) Evaluate model performance more reliably by training on multiple data splits. In k-fold cross-validation, data is split into k parts. The model trains on k-1 parts and validates on the remaining part, rotating through all k folds. This gives a more robust performance estimate than a single train-test split.
Domain 3: AI Solutions (Q14-19)
A) Cloud inference with API calls
B) Batch processing overnight
C) Edge inference on the vehicle's onboard computer
D) Streaming to a remote data center
Show Answer
C) Edge inference on the vehicle's onboard computer. A 50ms latency requirement eliminates cloud inference (network round-trip adds significant latency). Edge deployment runs the model locally on the device, ensuring immediate response times critical for safety applications.
A) Overfitting
B) Concept drift
C) Underfitting
D) A bug in the code
Show Answer
B) Concept drift. When the real-world relationship between inputs and outputs changes over time, the model's learned patterns become stale. This is concept drift. The solution is to monitor model performance continuously and retrain with recent data.
A) Virtual machines
B) Containers (Docker)
C) FTP file transfer
D) Email the model file
Show Answer
B) Containers (Docker). Containers package the model, runtime, libraries, and configuration together, ensuring the model runs identically in development, testing, and production. This eliminates "it works on my machine" problems common in ML deployment.
A) Blue-green deployment
B) A/B testing (canary deployment)
C) Rolling update
D) Shadow deployment
Show Answer
B) A/B testing (canary deployment). Directing a small percentage of traffic to the new model allows you to compare real-world performance before full rollout. If the new model performs worse, you only affect 10% of users and can quickly rollback.
A) Fully automated AI
B) Human-in-the-loop
C) Shadow deployment
D) Batch processing
Show Answer
B) Human-in-the-loop. The AI assists the human expert (radiologist) by flagging potential cases, but the final decision remains with the human. This is the recommended approach for high-stakes decisions in healthcare, legal, and financial domains.
A) Natural Language Processing
B) Predictive maintenance
C) Recommendation engine
D) Image generation
Show Answer
B) Predictive maintenance. Predictive maintenance uses sensor data (vibration, temperature, pressure) and ML models to predict when equipment will fail, allowing maintenance to be scheduled before a breakdown occurs. This reduces downtime and repair costs compared to reactive or scheduled maintenance.
Domain 4: Ethics & Governance (Q20-25)
A) Concept drift
B) Selection bias in training data
C) Overfitting
D) Feature engineering error
Show Answer
B) Selection bias in training data. The training dataset likely over-represented lighter-skinned individuals, causing the model to perform poorly on underrepresented groups. This is a well-documented bias in facial recognition systems and requires diversifying the training data.
A) Right to access
B) Right to erasure (right to be forgotten)
C) Right to portability
D) Right to rectification
Show Answer
B) Right to erasure (right to be forgotten). Under GDPR Article 17, individuals can request that their personal data be deleted. This poses challenges for AI/ML systems because training data may need to be removed and models may need to be retrained.
A) SLA (Service Level Agreement)
B) Model Card
C) User manual
D) Privacy policy
Show Answer
B) Model Card. Model Cards are standardized documentation for AI models, introduced by Google in 2019. They describe what the model does, how it was trained, its performance across different demographics, known limitations, and ethical considerations. They are a key governance tool.
A) Confirmation bias
B) Automation bias
C) Selection bias
D) Historical bias
Show Answer
B) Automation bias. Automation bias is the tendency to over-rely on automated systems and defer to AI decisions without questioning them. This is dangerous in high-stakes scenarios. Mitigation includes training users to critically evaluate AI outputs and implementing human oversight.
A) Adversarial attack
B) Data poisoning
C) Model inversion
D) Prompt injection
Show Answer
B) Data poisoning. Data poisoning targets the training phase by injecting malicious or manipulated data to corrupt the model's behavior. Unlike adversarial attacks (which target the inference phase with crafted inputs), data poisoning compromises the model itself during training.
A) Fairness
B) Privacy
C) Explainability
D) Robustness
Show Answer
C) Explainability. Explainability means AI decisions can be understood and explained to affected stakeholders. Techniques like SHAP values, LIME, and feature importance scores provide explainability. It is especially critical for regulated industries (healthcare, finance, hiring) where decisions must be justified.
Score Guide
- 22-25 correct: Excellent! You are ready for the CompTIA AI+ exam.
- 18-21 correct: Good foundation. Review missed topics and retake in a few days.
- 14-17 correct: Review all domain lessons, focusing on your weakest areas.
- Below 14: Spend more time studying each domain. Re-read all lessons and try again.