Practice for the AWS Certified AI Practitioner (AIF-C01) exam with 16 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: A Large Language Model (LLM) chatbot is generating responses that appear plausible and factual but are actually incorrec. Follow @CertPunch and visit certpunch.com for more certification practice exams and study content.
Prefer hands-on? Take this round as an interactive practice test — answer every question, get instant feedback, and see your score: Start the AWS Certified AI Practitioner (AIF-C01) practice test →
What you will practice
- A Large Language Model (LLM) chatbot is generating responses that appear plausible and factual but are actual…
- A financial services company is leveraging Amazon Bedrock to generate AI-driven insights and recommendations…
- A software company is evaluating different AWS services to integrate AI-powered solutions into its applicatio…
- A company needs large, high-quality, and labeled datasets for training its machine learning models. Which Ama…
- A retail company has a collection of product catalogs in the form of PDFs and aims to provide the most curren…
- As a developer specializing in Large Language Models (LLMs) at a technology company, you have been tasked wit…
Answers and explanations
Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.
Q1. A Large Language Model (LLM) chatbot is generating responses that appear plausible and factual but are actually incorrect. What is this phenomenon called?
Answer: C. This is known as a hallucination, where the model generates seemingly accurate information that is, in fact, incorrect or fabricated
When an LLM generates plausible but factually incorrect information, it is called a hallucination. Terms like overfitting or data drift describe model training or data distribution issues, not the specific behavior of generating fabricated text.
Q2. A financial services company is leveraging Amazon Bedrock to generate AI-driven insights and recommendations for its clients. The development team is fine-tuning the model's behavior to produce more accurate and relevant responses. As part…
Answer: B. Influences the percentage of most-likely candidates that the model considers for the next token
The Top P parameter defines the percentage of the most likely candidates the model considers for the next token. Temperature controls creativity, while Top K limits the fixed number of candidates considered.
Q3. A software company is evaluating different AWS services to integrate AI-powered solutions into its applications. The team is particularly interested in Amazon Q for automating business workflows and Amazon Bedrock for leveraging pre-traine…
Answer: B,C. With Amazon Bedrock, you can choose the underlying Foundation Model. However, Amazon Q does not allow you to choose the underlying Foundation Model || Amazon Q is a generative AI–powered assistant that allows you to create pre-packaged generative AI applications, whereas, Amazon Bedrock provides an environment to build and scale generative AI applications using a Foundation Model (FM)
Amazon Bedrock is a managed service for building generative AI applications using a choice of foundation models. Amazon Q is a pre-packaged assistant without model selection. Remember that Bedrock exposes models via API, while Q provides a ready-to-use assistant.
Q4. A company needs large, high-quality, and labeled datasets for training its machine learning models. Which Amazon SageMaker service helps build high-quality training datasets?
Answer: D. Amazon SageMaker Ground Truth
Amazon SageMaker Ground Truth creates high-quality labeled datasets using human workers. Feature Store manages ML features, while JumpStart deploys pre-trained models. Ground Truth is essential for data labeling.
Q5. A retail company has a collection of product catalogs in the form of PDFs and aims to provide the most current and relevant responses to customer inquiries through its Large Language Model (LLM) chatbot powered by Amazon Bedrock. Which of…
Answer: B. Utilize a Retrieval-Augmented Generation (RAG) system by indexing all product catalog PDFs and configuring the LLM chatbot to reference this system for answering queries
A Retrieval-Augmented Generation system indexes documents to fetch relevant context per query. Fine-tuning is expensive and slow to update, and passing all PDFs exceeds context windows and inflates costs.
Q6. As a developer specializing in Large Language Models (LLMs) at a technology company, you have been tasked with migrating the company's AI infrastructure to AWS Cloud to support the development of LLM-based solutions for various application…
Answer: A,B. Amazon Bedrock || Amazon SageMaker JumpStart
Amazon Bedrock and SageMaker JumpStart provide managed environments to deploy and customize large language models. AWS Trainium and Inferentia are hardware chips, while Amazon Q is an assistant.
Q7. A company has developed an app that translates text from English to various other languages. To enhance the quality and accuracy of these translations, the company seeks to evaluate and improve its translation model's performance. Which me…
Answer: D. The company should use BLEU (Bilingual Evaluation Understudy) score, a metric specifically designed to evaluate the quality of text that has been machine-translated by comparing it with one or more reference translations
The BLEU score evaluates machine translation quality by comparing n-gram overlaps with reference translations. ROUGE is primarily used for summarization, while BLEU remains the standard for translation.
Q8. Which of the following explanations BEST describes the differences between Shapley values and Partial Dependence Plots (PDP) in the context of model explainability, and how you might use them for this purpose?
Answer: C. Shapley values provide a local explanation by quantifying the contribution of each feature to the prediction for a specific instance, while PDP provides a global explanation by showing the marginal effect of a feature on the model's predictions across the dataset. Use Shapley values to explain individual predictions and PDP to understand the model's behavior at a dataset level
Shapley values offer local explainability by assigning contribution scores to features for a specific prediction. Partial Dependence Plots provide global explainability by showing feature effects across the dataset.
Q9. A company wants a unified search solution that can connect the company's multiple data repositories, third-party document repositories, and FAQs to create a new search experience so that the employees can efficiently find the right answers…
Answer: B. Amazon Kendra
Amazon Kendra is an enterprise search service powered by machine learning that connects to various data repositories to provide accurate answers. Textract extracts text from documents, while Comprehend performs natural language processing but neither functions as a unified search endpoint.
Q10. A company has fine-tuned a Foundation Model on Amazon Bedrock, and the training data used for fine-tuning includes some confidential information. The company wants to ensure that the customized model's responses do not contain any of this…
Answer: A. The company should mask the confidential information from the model responses by leveraging Amazon Bedrock Guardrails
Amazon Bedrock Guardrails can dynamically scan and mask sensitive data or personally identifiable information in model responses. Retraining the model without the data is inefficient and expensive, while encryption only protects data in transit or at rest, not in the generated output.
Q11. A technology company is considering using Amazon Bedrock to integrate generative AI capabilities into its existing products but is currently unsure about how frequently and extensively it will use the service in the future. The team needs…
Answer: B. The company should opt for on-demand pricing, which allows it to pay only for the actual usage of resources without any long-term commitments
On-demand pricing is best for companies with unpredictable usage because you only pay for what you use without long-term commitments. Spot and Reserved Instances are EC2 pricing models, while Provisioned Throughput requires a predictable usage commitment.
Q12. Which of the following services is specifically designed to provide insights into model predictions by explaining how input features contribute to the final output?
Answer: B. Amazon SageMaker Clarify
Amazon SageMaker Clarify provides feature attribution tools to explain how specific input features contribute to a model's predictions. Feature Store manages data inputs, Model Monitor tracks production drift, and Canvas is a no-code interface.
Q13. In generative AI, there is a specific concept used to represent words, sub-words, or characters that the model processes as discrete units of text. What is this concept called?
Answer: C. Tokens
Tokens represent the discrete units of text processed by generative AI models. Embeddings and vectors are numerical representations of these tokens, while the context window measures the total token capacity the model can process.
Q14. Which of the following represents a valid use case for a generative AI-powered model?
Answer: C. Using generative AI to create photorealistic images from textual descriptions
Creating photorealistic images from text descriptions is a classic generative AI capability because it produces entirely new content. The distractors fail because predicting housing prices or classifying images rely on traditional supervised machine learning rather than generative models.
Q15. In the context of the shared responsibility model for AWS cloud services, which of the following best describes the division of responsibilities between the customer and AWS?
Answer: C. AWS is responsible for the security "of" the cloud, including infrastructure, hardware, and software, while the customer is responsible for security "in" the cloud, including data, applications, and access management
AWS operates the security of the cloud, meaning it handles the underlying infrastructure, hardware, and facilities. Customers handle security in the cloud, which includes securing their data, managing access, and configuring applications.
Q16. A retail company is looking to optimize its supply chain planning and reduce stockouts. The team is exploring various AWS services to support this effort and is particularly interested in using machine learning for accurate resource planni…
Answer: D. Predict product demand to accurately vary inventory and pricing at different store locations
Amazon Forecast uses time-series data to predict future metrics, making it ideal for retail demand planning and inventory optimization. The other options map to different AI services like Personalize for recommendations or Lex for conversational interfaces.
More AWS Certified AI Practitioner (AIF-C01) drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.