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 logistics company is exploring the use of Machine Learning models to optimize its supply chain operations, such as dem. 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 logistics company is exploring the use of Machine Learning models to optimize its supply chain operations…
- A healthcare startup is developing a machine learning model to predict patient outcomes based on historical m…
- A financial services company is building a machine learning model to predict loan defaults, but the data scie…
- A company is using Amazon Bedrock and it wants to set an upper limit on the number of tokens returned in the…
- A company is using a Large Language Model (LLM) on Amazon Bedrock and it wants to regulate the creativity of…
- A retail company is building a machine learning model to forecast demand for its products, but the data scien…
Answers and explanations
Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.
Q1. A logistics company is exploring the use of Machine Learning models to optimize its supply chain operations, such as demand forecasting, route optimization, and inventory management. The company's data science team needs to understand the…
Answer: B. Machine Learning models can be deterministic or probabilistic or a mix of both
Machine learning models can be deterministic, probabilistic, or a combination of both depending on their specific architecture and design. Associating deterministic behavior only with supervised learning is a common distractor.
Q2. A healthcare startup is developing a machine learning model to predict patient outcomes based on historical medical data. During the training process, the data science team notices signs of overfitting, where the model performs well on the…
Answer: C. By using techniques such as cross-validation, regularization, and pruning to simplify the model and improve its generalization
Applying techniques like cross-validation, regularization, and pruning simplifies models to ensure they generalize well to unseen data. Increasing model complexity only exacerbates overfitting by memorizing noise.
Q3. A financial services company is building a machine learning model to predict loan defaults, but the data science team is struggling to find the right balance between model complexity and accuracy. They are aware of the bias-variance trade-…
Answer: C. The bias versus variance trade-off refers to the challenge of balancing the error due to the model's complexity (variance) and the error due to incorrect assumptions in the model (bias), where high bias can cause underfitting and high variance can cause overfitting
High bias stems from overly simplistic assumptions causing underfitting, while high variance makes a model overly sensitive and prone to overfitting. Remember that reversing these definitions is a common trap on exam questions.
Q4. A company is using Amazon Bedrock and it wants to set an upper limit on the number of tokens returned in the model's response. Which of the following inference parameters would you recommend for the given use case?
Answer: D. Response length
The response length parameter dictates the maximum number of tokens a model generates. Stop sequences halt generation based on specific text patterns, while Top P and Top K control randomness rather than length.
Q5. A company is using a Large Language Model (LLM) on Amazon Bedrock and it wants to regulate the creativity of the model's output. Which of the following inference parameters would you recommend for the given use case?
Answer: B. Temperature
Temperature controls the randomness or creativity of a language model's responses. Top P and Top K narrow the token pool for deterministic outputs, while stop sequences simply terminate text generation early.
Q6. A retail company is building a machine learning model to forecast demand for its products, but the data science team is facing challenges in balancing model complexity and accuracy. They are trying to avoid overfitting as well as underfitt…
Answer: D. Overfitting occurs when a model performs well on the training data but poorly on new, unseen data, while underfitting occurs when a model performs poorly on both the training data and new, unseen data
Overfitting happens when a model memorizes training data, performing poorly on unseen data. Underfitting occurs when a model is too simple to capture underlying patterns, performing poorly on both training and unseen data.
Q7. A telecom company is seeking to improve the efficiency and effectiveness of its customer service operations by integrating generative AI. The goal is to equip customer service agents with AI-driven tools that can assist in generating accur…
Answer: B. Amazon Q in Connect
Amazon Q in Connect is the correct choice because it uses real-time customer conversations and company content to suggest actions and responses for contact center agents. Amazon Q Business targets enterprise data assistants, while Amazon Q Developer focuses on coding tasks.
Q8. The development team at a company needs to select the most appropriate large language model (LLM) for the company's flagship application. Given the vast array of LLMs available, the team is uncertain about the best choice. Additionally, si…
Answer: A,C. Guardrails for Amazon Bedrock || Model Evaluation on Amazon Bedrock
Model Evaluation on Amazon Bedrock helps select the best foundation model for specific use cases. Guardrails for Amazon Bedrock implements safety controls to filter harmful content. Other options like Comprehend or SageMaker Clarify do not directly select models or moderate LLM outputs.
Q9. A company stores its training datasets on Amazon S3 in the form of tabular data running into millions of rows. The company needs to prepare this data for Machine Learning jobs. The data preparation involves data selection, cleansing, explo…
Answer: D. Amazon SageMaker Data Wrangler
Amazon SageMaker Data Wrangler provides a single visual interface for data selection, cleansing, exploration, and visualization. Feature Store only manages features, while Clarify detects bias, and neither offers the complete data preparation workflow shown here.
Q10. A retail company is looking to enable its business analysts to leverage machine learning without needing extensive coding skills. The team wants to solve key business challenges such as demand forecasting and customer segmentation by using…
Answer: C. Amazon SageMaker Canvas
Amazon SageMaker Canvas provides a visual point-and-click interface allowing business analysts to build ML models without coding. Data Wrangler is only for data preparation, whereas Canvas handles the complete workflow from data to deployment.
Q11. A financial institution is designing an AI system on AWS to process sensitive customer data for fraud detection. The company's data engineering team is focused on securing the AI pipeline and ensuring that both data access and data integri…
Answer: B. Data access control involves authentication and authorization of users, whereas data integrity ensures the data is accurate, consistent, and unaltered
Data access control handles authentication and authorization to manage user permissions. Data integrity ensures the information remains accurate and unaltered during storage or processing. Distractors fail by confusing encryption tasks with permission management.
Q12. A machine learning team at a tech company is developing a generative AI model to automate text generation for customer support. As part of optimizing the model's performance, the team needs to adjust both model parameters and hyperparamete…
Answer: A. Model parameters are values that define a model and its behavior in interpreting input and generating responses. Hyperparameters are values that can be adjusted for model customization to control the training process
Model parameters are internal values learned during training that define model behavior, like weights. Hyperparameters are external settings adjusted before training to control the process, like learning rate. The remaining options incorrectly swap these definitions.
Q13. A retail company is embarking on a machine learning project to enhance customer segmentation and personalize marketing campaigns. As the data science team begins planning the implementation, the team wants to identify the primary challenge…
Answer: D. Difficulty in collecting and preparing high-quality data for training models
Data collection and preparation are widely recognized as the most time-consuming bottlenecks in machine learning, making high-quality data the primary challenge. The distractors describing a lack of algorithms or use cases are factually incorrect for modern machine learning.
Q14. A financial services company is exploring Amazon Bedrock to streamline its AI development for use cases such as fraud detection, personalized customer service, and automated reporting. The company is particularly interested in understandin…
Answer: C,E. Smaller models are cheaper to use than larger models || You can use a customized model in the Provisioned Throughput or On-Demand mode
Smaller generative models are faster and cheaper to run than larger ones, and Bedrock customized models support both On-Demand and Provisioned Throughput modes. On-Demand pricing does not require time-based term commitments.
Q15. A healthcare company is evaluating the use of Foundation Models (FMs) in generative AI to automate tasks such as medical report generation, data analysis, and personalized patient communications. The company's data science team wants to be…
Answer: D. FMs use unlabeled training data sets for self-supervised learning
Foundation models are trained on vast amounts of unlabeled data using self-supervised learning techniques to predict missing parts of the input. Supervised learning requires labeled outputs, making those options incorrect.
Q16. A growing e-commerce company is considering migrating its infrastructure to the cloud to improve operational efficiency and scalability. The leadership team is evaluating the benefits of cloud computing, such as cost savings, flexibility…
Answer: D,E,F. Benefit from massive economies of scale || Trade capital expense for variable expense || Go global in minutes and deploy applications in multiple regions around the world with just a few clicks
Cloud computing provides massive economies of scale, trades capital expenses for variable expenses, and enables rapid global deployment. On-premises infrastructure forces capacity guessing and heavy upfront data center investments.
More AWS Certified AI Practitioner (AIF-C01) drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.