Google CloudFundamentals of Generative AI

Unsupervised Learning & ML Concepts — Google Gen AI Leader Practice Question

A representative Google Cloud Generative AI Leader (Google Gen AI Leader) exam question on Unsupervised Learning & ML Concepts. Work through it below, then read why each option is right or wrong.

Short answer

The correct answer is B. Unsupervised learning with clustering to discover natural groupings in the data.

Unsupervised learning with clustering is the right approach because the team has no predefined labels or categories and wants to discover natural groupings in the data. Algorithms like k-means or hierarchical clustering can identify segments based on similarities in purchasing behavior. Supervised learning would require labeled data with predefined categories, which the team does not have.

The Question

A marketing team has collected millions of customer transaction records but has no predefined categories or labels. They want to group customers into distinct segments based on purchasing patterns to tailor future campaigns. Which machine learning approach should they use?

ASupervised learning with regression to predict customer spending amounts
BUnsupervised learning with clustering to discover natural groupings in the dataCorrect
CSupervised learning with classification to assign customers to predefined segments
DReinforcement learning to optimize segment assignments over time through trial and error

Why B is correct

Unsupervised learning with clustering is the right approach because the team has no predefined labels or categories and wants to discover natural groupings in the data. Algorithms like k-means or hierarchical clustering can identify segments based on similarities in purchasing behavior. Supervised learning would require labeled data with predefined categories, which the team does not have.

Why the other options are wrong

Option A: Supervised learning with regression to predict customer spending amounts

Option A does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.

Option C: Supervised learning with classification to assign customers to predefined segments

Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.

Option D: Reinforcement learning to optimize segment assignments over time through trial and error

Option D does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (B) is the only one that fully meets every constraint stated in the question.

Key idea: Unsupervised Learning & ML Concepts

Unsupervised learning with clustering is the right approach because the team has no predefined labels or categories and wants to discover natural groupings in the data. Algorithms like k-means or hierarchical clustering can identify segments based on similarities in purchasing behavior. Supervised learning would require labeled data with predefined categories, which the team does not have. On the Google Gen AI Leader exam, questions in the "Fundamentals of Generative AI" domain test whether you can map a scenario's constraints to the right choice. Read the requirement carefully, eliminate options that violate any single constraint, and pick the one that satisfies all of them with the least operational overhead.

Ready to see how you'd score?

Take the free practice quiz and find out which Google Cloud Generative AI Leader domains you need to focus on. No signup required.

Practice 5 similar questions

Same cert, same or adjacent domain. Use these after reviewing the explanation.

Related Google Cloud Generative AI Leader Practice Questions