A company has petabytes of unlabeled customer data to use for an advertisement campaign. The company wants to classify its customers into tiers to advertise and promote the company's products. Which methodology should the company use to meet these requirements?
Correct Answer: B
Unsupervised learning is the correct methodology for classifying customers into tiers when the data is unlabeled, as it does not require predefined labels or outputs. * Unsupervised Learning: * This type of machine learning is used when the data has no labels or pre-defined categories. The goal is to identify patterns, clusters, or associations within the data. * In this case, the company has petabytes of unlabeled customer data and needs to classify customers into different tiers. Unsupervised learning techniques like clustering (e.g., K-Means, Hierarchical Clustering) can group similar customers based on various attributes without any prior knowledge or labels. * Why Option B is Correct: * Handling Unlabeled Data: Unsupervised learning is specifically designed to work with unlabeled data, making it ideal for the company's need to classify customer data. * Customer Segmentation: Techniques in unsupervised learning can be used to find natural groupings within customer data, such as identifying high-value vs. low-value customers or segmenting based on purchasing behavior. * Why Other Options are Incorrect: * A. Supervised learning: Requires labeled data with input-output pairs to train the model, which is not suitable since the company's data is unlabeled. * C. Reinforcement learning: Focuses on training an agent to make decisions by maximizing some notion of cumulative reward, which does not align with the company's need for customer classification. * D. Reinforcement learning from human feedback (RLHF): Similar to reinforcement learning but involves human feedback to refine the model's behavior; it is also not appropriate for classifying unlabeled customer data.
AIF-C01 Exam Question 132
A company stores its AI datasets in Amazon S3 buckets. The company wants to share the S3 buckets with its business partners. The company needs to avoid accidentally sharing sensitive data. Which AWS service should the company use to discover sensitive data in the dataset?
Correct Answer: B
Comprehensive and Detailed Explanation From Exact AWS AI documents: Amazon Macie uses machine learning to: Discover sensitive data such as PII Classify data stored in Amazon S3 Help prevent unintended data exposure AWS security guidance recommends Macie before data sharing to ensure compliance and privacy protection. Why the other options are incorrect: Kendra (A) is a search service. Textract (C) extracts text from documents. Data Exchange (D) shares datasets, not analyzes sensitivity. AWS AI document references: Amazon Macie Overview Protecting Sensitive Data in S3 Data Privacy and Governance on AWS
AIF-C01 Exam Question 133
An ecommerce company is using a chatbot to automate the customer order submission process. The chatbot is powered by AI and Is available to customers directly from the company's website 24 hours a day, 7 days a week. Which option is an AI system input vulnerability that the company needs to resolve before the chatbot is made available?
Correct Answer: A
The ecommerce company's chatbot, powered by AI, automates customer order submissions and is accessible 24/7 via the website. Prompt injection is an AI system input vulnerability where malicious users craft inputs to manipulate the chatbot's behavior, such as bypassing safeguards or accessing unauthorized information. This vulnerability must be resolved before the chatbot is made available to ensure security. Exact Extract from AWS AI Documents: From the AWS Bedrock User Guide: "Prompt injection is a vulnerability in AI systems, particularly chatbots, where malicious inputs can manipulate the model's behavior, potentially leading to unauthorized actions or harmful outputs. Implementing guardrails and input validation can mitigate this risk." (Source: AWS Bedrock User Guide, Security Best Practices) Detailed Explanation: Option A: Data leakageData leakage refers to the unintended exposure of sensitive data during model training or inference, not an input vulnerability affecting a chatbot's operation. Option B: Prompt injectionThis is the correct answer. Prompt injection is a critical input vulnerability for chatbots, where malicious prompts can exploit the AI to produce harmful or unauthorized responses, a risk that must be addressed before launch. Option C: Large language model (LLM) hallucinationsLLM hallucinations refer to the model generating incorrect or ungrounded responses, which is an output issue, not an input vulnerability. Option D: Concept driftConcept drift occurs when the data distribution changes over time, affecting model performance. It is not an input vulnerability but a long-term performance issue. References: AWS Bedrock User Guide: Security Best Practices (https://docs.aws.amazon.com/bedrock/latest/userguide /security.html) AWS AI Practitioner Learning Path: Module on AI Security and Vulnerabilities AWS Documentation: Securing AI Systems (https://aws.amazon.com/security/)
AIF-C01 Exam Question 134
Which statement presents an advantage of using Retrieval Augmented Generation (RAG) for natural language processing (NLP) tasks?
Correct Answer: A
Retrieval-Augmented Generation (RAG) integrates external knowledge sources (databases, vector stores, document repositories) with LLMs, enabling them to generate contextually accurate and up-to-date responses without retraining. B is incorrect: RAG does not speed up training; it improves inference results. C is incorrect: speech recognition is not an RAG use case. D is incorrect: computer vision augmentation is unrelated to RAG. # Reference: AWS Documentation - Knowledge Bases for RAG in Amazon Bedrock
AIF-C01 Exam Question 135
A company is using AI to build a toy recommendation website that suggests toys based on a customer's interests and age. The company notices that the AI tends to suggest stereotypically gendered toys. Which AWS service or feature should the company use to investigate the bias?
Correct Answer: D
Comprehensive and Detailed Explanation From Exact AWS AI documents: Amazon SageMaker Clarify is designed to detect and explain bias in ML models and datasets. AWS Responsible AI guidance recommends Clarify to: Identify bias in predictions Analyze feature attribution Support fairness and ethical AI practices Why the other options are incorrect: Rekognition (A) analyzes images, not recommendation bias. Amazon Q Developer (B) assists developers with code. Comprehend (C) performs NLP tasks, not bias analysis. AWS AI document references: Amazon SageMaker Clarify Documentation Detecting Bias in AI Systems Responsible AI on AWS