nerdexam
Amazon

MLS-C01 · Question #217

An ecommerce company wants to use machine learning (ML) to monitor fraudulent transactions on its website. The company is using Amazon SageMaker to research, train, deploy, and monitor the ML…

The correct answer is A. IP Insights D. Random Cut Forest (RCF). To detect fraudulent transactions without labels, indicating an unsupervised anomaly detection problem, the company should use a combination of Amazon SageMaker IP Insights and Random Cut Forest (RCF). IP Insights is specifically designed for detecting unusual IP address…

Modeling

Question

An ecommerce company wants to use machine learning (ML) to monitor fraudulent transactions on its website. The company is using Amazon SageMaker to research, train, deploy, and monitor the ML models. The historical transactions data is in a .csv file that is stored in Amazon S3. The data contains features such as the user's IP address, navigation time, average time on each page, and the number of clicks for each session. There is no label in the data to indicate if a transaction is anomalous. Which models should the company use in combination to detect anomalous transactions? (Choose two.)

Options

  • AIP Insights
  • BK-nearest neighbors (k-NN)
  • CLinear learner with a logistic function
  • DRandom Cut Forest (RCF)
  • EXGBoost

How the community answered

(60 responses)
  • A
    70% (42)
  • B
    18% (11)
  • C
    3% (2)
  • E
    8% (5)

Why each option

To detect fraudulent transactions without labels, indicating an unsupervised anomaly detection problem, the company should use a combination of Amazon SageMaker IP Insights and Random Cut Forest (RCF). IP Insights is specifically designed for detecting unusual IP address patterns, while RCF is a general-purpose, unsupervised anomaly detection algorithm suitable for identifying statistical outliers in the other transaction features.

AIP InsightsCorrect

Amazon SageMaker IP Insights is an unsupervised algorithm specifically designed to learn representations of IPv4 addresses and detect unusual or anomalous usage patterns, making it highly suitable for identifying potential fraud related to user IP addresses in transactions. It can uncover suspicious activity where IP addresses are behaving unexpectedly.

BK-nearest neighbors (k-NN)

While k-nearest neighbors (k-NN) can be adapted for anomaly detection, it is not primarily designed as an unsupervised anomaly detection algorithm in the same direct manner as RCF, and it generally performs better in supervised contexts or for specific density-based anomaly detection rather than the broad context described.

CLinear learner with a logistic function

A linear learner with a logistic function is a supervised classification algorithm, requiring labeled data (fraudulent vs. non-fraudulent) for training, which is explicitly stated as unavailable in the problem statement.

DRandom Cut Forest (RCF)Correct

Amazon SageMaker Random Cut Forest (RCF) is an unsupervised anomaly detection algorithm that effectively identifies anomalous data points by isolating outliers from the rest of the dataset based on statistical properties, making it a robust choice for detecting fraudulent transactions where no prior labels are available. It's well-suited for general tabular data containing numerical features like navigation time and clicks.

EXGBoost

XGBoost is a highly effective and popular supervised learning algorithm used for classification and regression, but it requires labeled training data to identify fraudulent transactions, which is not available in this unsupervised scenario.

Concept tested: Unsupervised anomaly detection

Source: https://docs.aws.amazon.com/sagemaker/latest/dg/ip-insights.html

Topics

#Anomaly Detection#Unsupervised Learning#Amazon SageMaker Built-in Algorithms#Fraud Detection

Community Discussion

No community discussion yet for this question.

Full MLS-C01 Practice