AWS Certified AI Practitioner practice questions

218 free questions with answers and explanations.

Practice test
  1. 51.A global e-commerce company uses Amazon SageMaker to train its machine learning models. Due to strict data residency regulations in certain regions, all training data and model artifacts must never leave the AWS region where the training is performed. Additionally, the company wants to ensure that all communication between SageMaker and other AWS services, such as Amazon S3 for data storage, occurs over private networks without traversing the public internet. Which security measure should the company implement to meet these requirements?AWS Services for AI/ML and Generative AI
  2. 52.A machine learning engineer is tasked with fine-tuning a pre-trained foundation model for a highly specialized legal domain. The goal is to enhance the model's performance on legal jargon and specific case law without losing its broad general knowledge. The available legal dataset for fine-tuning is relatively small compared to the original pre-training data. Which fine-tuning technique is most appropriate for efficiently adapting the model while preserving its general capabilities?Foundation Models
  3. 53.A healthcare provider is implementing an AI system to assist with disease diagnosis. During data collection, it's discovered that the training dataset predominantly features data from one specific ethnic group, potentially leading to inaccurate diagnoses for other groups. What immediate step should be taken to address this Responsible AI concern?Responsible AI
  4. 54.A financial institution is developing an AI model to predict credit default. The data scientists observe that the model consistently performs worse for applicants from a specific demographic group, leading to higher false positive rates for default prediction within that group. Which Responsible AI concept is primarily being violated?Responsible AI
  5. 55.An AI-powered content moderation system is being developed for a social media platform. To ensure Responsible AI, the system must be able to maintain its performance and accuracy even when faced with subtle variations in input data, such as slightly rephrased offensive sentences or images with minor alterations designed to bypass detection. Which Responsible AI concept is most critical to address this requirement?Responsible AI
  6. 56.A company is migrating its on-premises document processing workflow to AWS. They frequently deal with scanned invoices and receipts, needing to extract structured data such as vendor names, invoice numbers, and line items, even from poorly formatted documents. Which AWS service is purpose-built for this task?AWS Services for AI/ML and Generative AI
  7. 57.An e-commerce company uses an AI system to personalize product recommendations. A customer complains that they are repeatedly shown products that are irrelevant to their preferences and wonders why certain items are recommended. Which Responsible AI concept is most directly being violated here?Responsible AI
  8. 58.A data science team is evaluating several pre-trained foundation models for a complex natural language processing task that involves understanding nuanced language and performing multi-step reasoning, such as answering complex questions that require inferring information not explicitly stated. They observe that some models, when scaled up significantly in parameters and training data, suddenly become capable of solving tasks they were not explicitly trained for, like performing basic arithmetic or translating between languages with high accuracy. What phenomenon are they observing?Foundation Models
  9. 59.A global technology company is developing an AI-powered translation service. Due to its worldwide reach, the company wants to ensure that the AI's output is culturally appropriate and avoids offense in diverse linguistic and cultural contexts. This goes beyond mere linguistic accuracy to address nuances in social norms and values. Which Responsible AI consideration is most relevant here?Responsible AI
  10. 60.A financial services company processes millions of customer documents daily, including scanned forms and PDFs. They need to extract specific data fields, such as account numbers, names, and transaction amounts, from these documents for regulatory compliance and automated processing. The documents often have varying layouts and are sometimes handwritten. Which AWS service should they use?AWS Services for AI/ML and Generative AI
  11. 61.A pharmaceutical company is developing a new drug discovery platform that involves training highly sensitive machine learning models on patient genomic data. To meet stringent regulatory and security compliance, they need to ensure that all data used for training and inference is encrypted at rest and in transit, and that the encryption keys are managed and controlled by the company, not solely by AWS. Which AWS service combination provides the necessary encryption and key management capabilities for this scenario?AWS Services for AI/ML and Generative AI
  12. 62.A media company wants to automatically generate summaries of news articles and detect key entities like people, organizations, and locations within the text. They also need to understand the overall sentiment of the articles. Which AWS AI service would be most suitable for these tasks?AWS Services for AI/ML and Generative AI
  13. 63.A startup is developing an AI-powered music composition tool. They want to use a foundation model that can understand and generate music in various styles, combining elements from different genres to create novel compositions. Which type of foundation model is BEST suited for processing and generating complex, multi-faceted data like musical pieces, which involve sequential, harmonic, and rhythmic information?Foundation Models
  14. 64.A financial institution is developing an AI model to detect fraudulent transactions. The model must be highly accurate and reliable, as false positives could inconvenience legitimate customers, and false negatives could lead to significant financial losses. To ensure the model performs consistently even with novel or slightly altered fraudulent patterns, the development team is rigorously testing its resilience against various adversarial inputs and data shifts. Which Responsible AI concept is being prioritized here?Responsible AI
  15. 65.A government agency is using an AI system to process citizen requests for social benefits. They are concerned that the system might make decisions that are difficult to understand or justify to citizens, leading to distrust. To mitigate this, they plan to implement methods that can explain the reasoning behind the AI's recommendations in simple, human-readable language, especially for rejected applications. Which Responsible AI concept are they prioritizing?Responsible AI
  16. 66.A startup is developing a new mobile application that allows users to upload photos, and they need to automatically identify objects, scenes, and faces within these images for content moderation and tagging. They also want to detect any inappropriate content to ensure a safe user experience. Which AWS service would provide these capabilities with minimal machine learning expertise required?AWS Services for AI/ML and Generative AI
  17. 67.A healthcare organization is developing an AI model to assist with patient diagnosis. To ensure the model is fair and does not inadvertently discriminate against certain demographic groups, the data scientists are evaluating the model's performance across different patient populations (e.g., age, gender, ethnicity). Which Responsible AI concept are they primarily addressing?Responsible AI
  18. 68.A content creation company wants to generate unique blog posts and marketing copy based on short prompts provided by their marketing team. They need a model that can produce coherent, contextually relevant, and stylistically appropriate long-form text. Which type of foundation model is best suited for this specific application?Foundation Models
  19. 69.A global media company uses AWS for its content delivery network and streaming services. They are exploring generative AI to automatically create short promotional video clips from longer content. Due to regulatory requirements and intellectual property concerns, all models trained and used for content generation must reside exclusively within specific geographic regions (e.g., Europe for European content) and never leave those boundaries. Which AWS mechanism ensures that the generative AI services operate within the specified geographic regions and that data residency requirements are met?AWS Services for AI/ML and Generative AI
  20. 70.A team is fine-tuning a pre-trained foundation model for a highly specialized legal domain. They have a relatively small dataset of annotated legal documents. They want to adapt the model to understand the nuances of legal language without losing the broad general knowledge it gained during its initial massive pre-training. Which fine-tuning strategy is most appropriate to achieve this balance?Foundation Models
  21. 71.A startup is developing an application that uses a foundation model to summarize long technical documents. After initial testing, users report that the summaries occasionally contain plausible-sounding but factually incorrect information not present in the original document. Which term best describes this phenomenon?Foundation Models
  22. 72.A startup is developing an application that uses a foundation model to generate creative content, such as marketing slogans and product descriptions. They notice that sometimes the model produces highly repetitive phrases or ideas, even when prompted for variety. Which common issue with generative foundation models is most likely occurring?Foundation Models
  23. 73.A global automotive manufacturer is developing an advanced driver-assistance system (ADAS) that uses machine learning models to analyze real-time video streams from vehicle cameras. These models need to be deployed directly onto the vehicle's embedded systems (edge devices) to perform inference with extremely low latency, even when there is no internet connectivity. The manufacturer also needs a way to efficiently update these models and manage the ML lifecycle on thousands of devices. Which AWS service is designed to facilitate the deployment and management of ML models on edge devices?AWS Services for AI/ML and Generative AI
  24. 74.An e-commerce company uses an AI system to personalize product recommendations. Customers have reported that the recommendations sometimes feel repetitive or do not align with their current interests despite recent purchases. To improve the user experience and maintain trust, the company wants to allow customers to understand why a particular product was recommended. Which Responsible AI concept is the company trying to implement?Responsible AI
  25. 75.An AI engineer is evaluating a pre-trained foundation model for a task that involves answering highly specific questions from a large, constantly updated knowledge base of proprietary company documents. The model needs to provide accurate answers and cite its sources from these documents. Simply fine-tuning the model with the documents is not ideal due to the dynamic nature of the knowledge base and the risk of 'hallucinations'. Which approach is BEST suited for this scenario?Foundation Models
  26. 76.A media company wants to automatically moderate user-generated video content for inappropriate material, such as violence or adult themes. They need a service that can detect objects, activities, and faces in videos and images. Which AWS service should they utilize?AWS Services for AI/ML and Generative AI
  27. 77.A healthcare provider needs to analyze clinical notes and medical documents to extract protected health information (PHI) and medical entities like diagnoses, medications, and treatments, to support medical coding and research. They must ensure that the service used complies with HIPAA. Which AWS service should be used?AWS Services for AI/ML and Generative AI
  28. 78.A healthcare startup is building a chatbot to answer patient queries about common medical conditions. The chatbot needs to understand natural language questions, extract medical entities (e.g., symptoms, diagnoses, medications), and provide relevant information. All patient data must remain highly secure and compliant with HIPAA regulations. Which AWS service should the startup use for extracting the medical entities?AWS Services for AI/ML and Generative AI
  29. 79.A data science team is evaluating several pre-trained foundation models for a complex natural language understanding (NLU) task. They are particularly interested in models that exhibit 'emergent abilities' — capabilities that are not present in smaller models but appear at scale. Which of the following is a common example of an emergent ability observed in very large foundation models?Foundation Models
  30. 80.A large manufacturing company is implementing an AI system to optimize its supply chain. The system makes critical decisions about inventory, logistics, and production schedules. The company wants to ensure that if the AI system makes a suboptimal or erroneous decision that leads to significant financial losses or operational disruption, there is a clear process to identify who is responsible and how corrective actions will be taken. Which Responsible AI concept is the company primarily concerned with establishing?Responsible AI
  31. 81.A company is designing an AI system that processes highly sensitive personal data, such as medical records and financial transactions. To comply with regulations like GDPR and HIPAA, and to uphold ethical standards, strict measures must be taken to protect this data from unauthorized access, use, or disclosure throughout the AI lifecycle. Which Responsible AI concept is paramount in this context?Responsible AI
  32. 82.A research team is developing an AI model to detect early signs of a rare disease from medical images. Due to the rarity of the disease, positive cases (patients with the disease) are significantly underrepresented in the available training data. Which evaluation metric should be prioritized to ensure the model effectively identifies as many actual disease cases as possible, even if it means a higher rate of false positives?Responsible AI
  33. 83.A software development company is using a foundation model to generate code snippets. Developers notice that the model sometimes produces code that is syntactically correct but introduces subtle logical errors or security vulnerabilities that are hard to detect. They want to implement a method to ensure the generated code adheres to specific quality standards and best practices. Which technique is most appropriate for guiding the foundation model's output towards desired safety and quality constraints?Foundation Models
  34. 84.An AI solutions architect is evaluating different approaches for a client who wants to build a chatbot for customer support. The chatbot needs to provide accurate, up-to-date information from a proprietary knowledge base that is frequently updated. The client is concerned about the model generating outdated or incorrect information. Which foundation model technique is best suited to address this concern?Foundation Models
  35. 85.A company is using Amazon SageMaker to train sensitive machine learning models. To prevent data exfiltration and ensure that training data and model artifacts are only accessible from authorized private networks, they need to restrict network access to SageMaker resources. Which AWS networking construct should they primarily use to achieve this isolation?AWS Services for AI/ML and Generative AI
  36. 86.An AI solutions architect is designing a system for a large enterprise that requires a foundation model to summarize legal documents. Due to strict data governance policies, the legal documents cannot leave the company's private network, and low latency is critical for real-time lawyer assistance. Which deployment strategy for the foundation model is most appropriate?Foundation Models
  37. 87.A financial institution is building an AI system to analyze market news and predict stock price movements. The system needs to process vast amounts of unstructured text data from various sources, understand complex financial jargon, and identify sentiment and key entities. Which characteristic of foundation models makes them particularly well-suited for such a task, where traditional rule-based or simpler ML models often fall short?Foundation Models
  38. 88.A credit scoring AI model is found to consistently give lower scores to individuals residing in certain zip codes, even when other financial indicators are similar to those in higher-scoring areas. This pattern is not explicitly programmed but emerges from the training data. What Responsible AI concern does this scenario primarily highlight?Responsible AI
  39. 89.A global news agency wants to automate the translation of news articles between multiple languages to reach a broader audience quickly. They need a service that can accurately translate large volumes of text, support many languages, and integrate easily into their existing content management system. Which AWS service should they use?AWS Services for AI/ML and Generative AI
  40. 90.A startup is building an application that uses a foundation model to generate creative content, such as marketing slogans and short stories. They notice that while the model often produces excellent results, it occasionally generates output that is factually incorrect or nonsensical, despite the prompt being clear. This phenomenon is commonly referred to as:Foundation Models
  41. 91.A company is developing a new large language model (LLM) and needs to ensure that the data used for training and fine-tuning is protected against unauthorized access and modification. They are particularly concerned about data at rest and in transit within AWS services like Amazon S3 and SageMaker. Which security best practice should they prioritize to address these concerns?AWS Services for AI/ML and Generative AI
  42. 92.A global technology company is developing an AI-powered translation service. Due to its worldwide user base, the company recognizes that literal translations might not always convey the intended meaning or could even be offensive in certain contexts. To ensure the service is respectful and effective across diverse cultures, the development team is actively incorporating culturally specific nuances into training data, engaging local linguistic experts for validation, and implementing feedback loops from various cultural groups. Which Responsible AI concept are they specifically addressing?Responsible AI
  43. 93.A startup is developing a personalized learning platform that uses a foundation model to generate explanations for complex scientific concepts. Users often ask follow-up questions that require the model to remember previous turns of the conversation and maintain context. Which architectural component is crucial for enabling a foundation model to handle such multi-turn conversational context?Foundation Models
  44. 94.A data scientist is exploring different foundation models for a new project that requires generating human-quality text for various applications, including content creation, summarization, and translation. The project demands a model capable of understanding complex linguistic nuances and producing coherent, fluent, and contextually appropriate output. Which type of foundation model is primarily designed for such tasks?Foundation Models
  45. 95.A research institution is developing an AI model to analyze patterns in complex scientific datasets. The model training process is computationally intensive and requires specialized hardware, specifically powerful GPUs. The institution needs to scale these resources dynamically based on demand, avoiding idle costs when not training. They also want to use their existing custom Docker images for their specific research environment. Which AWS service provides a fully managed environment for running containerized, computationally intensive ML training jobs with dynamic scaling and GPU support?AWS Services for AI/ML and Generative AI
  46. 96.A research institution is using Amazon SageMaker to train highly sensitive models involving patient genomic data. Due to strict regulatory requirements (HIPAA, GDPR), all data, model artifacts, and intermediate results must remain within the institution's private network and never traverse the public internet. Which security mechanism is crucial for ensuring this level of network isolation for SageMaker components?AWS Services for AI/ML and Generative AI
  47. 97.A financial institution is developing an AI model to assess loan applications. To ensure the model does not inadvertently disadvantage specific demographic groups, which Responsible AI concept should be prioritized during its development and deployment?Responsible AI
  48. 98.A media company provides live sports commentary in multiple languages. They want to automatically translate the live English commentary into Spanish and French in real-time, delivering the translated audio to their international audience. Which AWS service can accomplish this task efficiently?AWS Services for AI/ML and Generative AI
  49. 99.A financial institution is developing an AI system to analyze market news and predict stock price movements. They need a foundation model that can understand complex financial jargon, identify subtle sentiment shifts, and correlate information across various reports. Which core capability of foundation models is most crucial for this application?Foundation Models
  50. 100.A financial institution is developing an application that needs to generate highly realistic, human-like speech from written text for its virtual assistant. The institution requires a service that supports multiple languages and lifelike voices, including custom brand voices. Which AWS service should they use?AWS Services for AI/ML and Generative AI