AWS Certified AI Practitioner (AIF-C01) — Question 269

A company wants to identify groups for its customers based on the customers’ demographics and buying patterns.

Which algorithm should the company use to meet this requirement?

Answer options

Correct answer: B

Explanation

K-means clustering is an unsupervised learning algorithm ideal for grouping unlabeled data, such as segmenting customers based on demographics and purchasing behaviors. In contrast, K-nearest neighbors (k-NN), Decision trees, and Support vector machines are supervised learning algorithms used for classification or regression tasks, which require pre-labeled datasets.