Curated

Fundamentals of AI and ML (1.1–1.3)

0 votes

Questions60

  1. Question 51

    Fundamentals of AI and ML

    An insurer stores one customer per row, with fixed columns for age, annual income, and policy count. Which data type BEST describes these model inputs?

    Show the answer

    Correct answerA. Tabular data

    AWhy this is right: Each row is a record, and each fixed column represents an attribute.

    BWhy not this: The inputs are customer attributes rather than visual content.

    CWhy not this: The inputs have a defined row-and-column schema rather than free-form language.

    DWhy not this: The records are organized by customer, not as observations indexed over time.

    Tabular data organizes records into rows and defined attributes into columns. Numeric values alone do not make data time-series; time-series data records observations in temporal order.

    Open this question
  2. Question 52

    Fundamentals of AI and ML

    A property company trains a model using home attributes paired with actual sale prices. It needs estimated prices for new homes, rather than price categories; which learning approach BEST fits?

    Show the answer

    Correct answerD. Supervised regression

    AWhy not this: Clustering discovers groups rather than learning to predict supplied sale-price targets.

    BWhy not this: Classification predicts discrete classes, but the company needs numeric price estimates.

    CWhy not this: The task uses labeled examples rather than an agent learning actions through rewards.

    DWhy this is right: Historical sale prices supply numeric targets for learning to predict new prices.

    Supervised regression learns from input examples paired with numeric target values, such as sale prices. Classification predicts discrete categories rather than numeric amounts.

    Open this question
  3. Question 53

    Fundamentals of AI and ML

    Two models meet the required predictive performance: Model A delivers $150,000 in annual benefits at $50,000 total annual cost; Model B delivers $240,000 at $100,000 total annual cost. Which choice provides the highest annual ROI?

    Show the answer

    Correct answerD. Model A, with 200% ROI

    AWhy not this: 240% is Model B's benefits-to-cost percentage before subtracting its costs, not its ROI.

    BWhy not this: 300% is Model A's benefits-to-cost percentage before subtracting its costs, not its ROI.

    CWhy not this: Model B's ROI is 140%, but its greater net benefit does not make its percentage return higher.

    DWhy this is right: Model A returns $100,000 net benefit on $50,000 cost, producing the higher ROI of 200%.

    ROI is (benefits − costs) ÷ costs × 100. Model A yields 200%, compared with Model B's 140%; Model B generates greater net benefit but a lower return relative to its cost.

    Open this question
  4. Question 54

    Fundamentals of AI and ML

    A team cannot reproduce a promising training run because it recorded only the final accuracy. Which practice would BEST address this problem for future runs?

    Show the answer

    Correct answerB. Track data versions, parameters, and artifacts

    AWhy not this: Managed inference reduces hosting responsibilities but does not document how a model was trained.

    BWhy this is right: Recording data versions, parameters, and artifacts preserves the information needed to reproduce a training run.

    CWhy not this: Customer feedback measures production outcomes but does not preserve training inputs or settings.

    DWhy not this: More validation data can improve evaluation reliability but does not preserve the training configuration.

    Experiment tracking records the inputs, configuration, and outputs needed to reproduce and compare training runs. A larger validation dataset may improve evaluation but does not recover a run's configuration.

    Open this question
  5. Question 55

    Fundamentals of AI and ML

    A deployed demand model receives inputs whose statistical distributions increasingly differ from its training data. Which practice would BEST detect this change continuously?

    Show the answer

    Correct answerD. Monitor production inputs against a baseline

    AWhy not this: Additional inference capacity addresses traffic volume, not changes in input distributions.

    BWhy not this: The original test data stays unchanged and cannot expose shifts in incoming production data.

    CWhy not this: Predeployment comparisons help select a model but do not continuously observe changing production inputs.

    DWhy this is right: Comparing incoming data with a baseline can reveal distribution changes known as data drift.

    Monitoring production input distributions against a training baseline detects data drift. Repeating evaluation on the original test data cannot reveal changes in incoming production data.

    Open this question
  6. Question 56

    Fundamentals of AI and ML

    Which metric measures the proportion of actual positive cases that a classification model correctly identifies?

    Show the answer

    Correct answerD. Recall

    AWhy not this: Precision measures the proportion of predicted positive cases that are actually positive.

    BWhy not this: F1 score combines precision and recall using their harmonic mean.

    CWhy not this: Accuracy measures correct predictions across all cases, not coverage of actual positive cases.

    DWhy this is right: Recall measures the proportion of actual positive cases successfully identified.

    Recall measures true positives divided by all actual positives, including missed positives. Precision instead measures how many predicted positives are actually positive.

    Open this question
  7. Question 57

    Fundamentals of AI and ML

    A company needs a voice-based booking assistant that identifies booking intent and asks for missing dates before invoking fulfillment logic. Which AWS service manages this conversational interaction?

    Show the answer

    Correct answerB. Amazon Lex

    AWhy not this: Analyzes text for insights such as entities and sentiment rather than managing conversational exchanges.

    BWhy this is right: Recognizes booking intent, collects missing slot values, and supports invoking fulfillment logic.

    CWhy not this: Converts text to speech but does not identify booking intent or manage conversational state.

    DWhy not this: Converts speech to text but does not manage intents, missing information, or fulfillment dialogue.

    Amazon Lex recognizes intents, collects information through slots, and manages conversational exchanges before fulfillment. Amazon Transcribe converts speech to text but does not manage the booking dialogue.

    Open this question
  8. Question 58

    Fundamentals of AI and ML

    An analyst needs to extract people, organizations, and locations from English news articles without training a model. Which AWS service provides this capability through a pretrained API?

    Show the answer

    Correct answerD. Amazon Comprehend

    AWhy not this: Produces text from audio rather than extracting entities from existing articles.

    BWhy not this: Builds conversational interfaces rather than providing general-purpose entity analysis of articles.

    CWhy not this: Translates text between languages rather than extracting named entities.

    DWhy this is right: Provides pretrained entity detection for people, organizations, locations, and other entity types.

    Amazon Comprehend provides pretrained entity recognition to identify people, organizations, locations, and other entities in text. Amazon Translate changes the language of text rather than extracting its entities.

    Open this question
  9. Question 59

    Fundamentals of AI and ML

    A factory has abundant labeled images for fixed defect categories; inference must run offline within a tight device-memory budget, and each model update requires revalidation. A compact task-specific classifier meets accuracy and resource targets, while the evaluated multimodal FM exceeds memory limits; which approach is BEST?

    Show the answer

    Correct answerA. Deploy the compact classifier with controlled model updates

    AWhy this is right: Meets the validated accuracy and resource targets while allowing model changes to follow the required revalidation process.

    BWhy not this: Task adaptation without reducing model size does not resolve the established device-memory constraint.

    CWhy not this: Few-shot examples guide behavior but do not make the evaluated model fit the device-memory budget.

    DWhy not this: Remote inference conflicts with the offline requirement, even when the prompt is fixed.

    The compact classifier meets the fixed task, accuracy, offline, and memory requirements; controlled updates support revalidation. Few-shot prompting can adapt an FM's behavior but does not remove the evaluated model's memory requirement.

    Open this question
  10. Question 60

    Fundamentals of AI and ML

    Which task is BEST suited to a generative foundation model rather than a traditional predictive ML model?

    Show the answer

    Correct answerD. Drafting product descriptions from written instructions

    AWhy not this: Predicting failure from sensor features is a conventional predictive ML use case.

    BWhy not this: Predicting a numerical delivery time is a conventional regression use case.

    CWhy not this: Discovering customer groups is a conventional clustering use case.

    DWhy this is right: Producing new descriptions from instructions directly uses a generative foundation model's capabilities.

    Generative foundation models can produce new text from natural-language instructions. Estimating delivery time is a numerical prediction task that traditional regression models can address directly.

    Open this question