20+ practice questions focused on Fundamentals of AI and ML — one of the most tested topics on the AWS Certified AI Practitioner AIF-C01 exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Fundamentals of AI and ML PracticeAn ML team is deploying a real-time inference endpoint for a computer vision model using Amazon SageMaker. The model requires GPU acceleration for low latency. Which instance type should the team choose to minimize cost while meeting the GPU requirement?
Explanation: (ml.g5.xlarge) is correct because it provides a GPU (NVIDIA A10G Tensor Core GPU) necessary for low-latency GPU acceleration in computer vision inference, while being the most cost-effective GPU instance among the options. The ml.g5.xlarge offers sufficient GPU compute for real-time inference at a lower hourly cost compared to ml.p3.2xlarge, making it the optimal choice for minimizing cost while meeting the GPU requirement.
A company is training a deep learning model on Amazon SageMaker using a custom Docker container. The training job fails with the error 'CannotStartContainerError: API error (500): failed to create shim task'. The team verifies that the container image is compatible with the selected instance type. What is the most likely cause of this error?
Explanation: The error 'CannotStartContainerError: API error (500): failed to create shim task' typically occurs when the Docker container cannot be initialized due to resource constraints, most commonly insufficient memory on the selected instance type. Even if the container image is compatible with the instance, the container's memory request may exceed the available memory, causing the container runtime (containerd) to fail when creating the shim task. This is a known issue in SageMaker when the training job's resource requirements are not aligned with the instance's capacity.
A machine learning engineer is using Amazon SageMaker to train a model and wants to automatically stop the training job if the loss does not improve for 10 consecutive epochs. Which SageMaker feature should be used?
Explanation: Amazon SageMaker built-in algorithms support early stopping, which allows you to automatically terminate a training job when a specified metric, such as loss, stops improving for a defined number of consecutive epochs. This feature is configured directly in the algorithm's hyperparameters (e.g., `early_stopping_patience` for the XGBoost algorithm) and helps save compute time and cost by preventing overfitting.
Refer to the exhibit. A data scientist attaches the above IAM policy to a SageMaker notebook instance role. The notebook is in the same AWS account as the S3 bucket. When trying to read a file from 's3://my-bucket/training/data.csv', the data scientist gets an Access Denied error. What is the most likely cause?
Explanation: The Access Denied error is most likely due to the S3 bucket being in a different Region. While IAM policies are global, bucket policies can include conditions that restrict access based on the request's Region. If the bucket policy denies requests from the Region where the SageMaker notebook is running, the read operation fails. The other options are incorrect: file name spaces cause a different error (NoSuchKey), s3:ListBucket is not required for direct object reads with GetObject, and allowing s3:PutObject does not cause Access Denied for reads.
Refer to the exhibit. A data scientist is training a neural network model on SageMaker. The training log shows the loss values per epoch. Which issue is most likely occurring?
Explanation: The training log shows loss values decreasing on the training set but increasing or plateauing on the validation set, which is a classic sign of overfitting. Overfitting occurs when the model learns noise and specific patterns in the training data too well, failing to generalize to unseen data. In SageMaker, monitoring both training and validation loss curves is critical to detect this issue early.
+15 more Fundamentals of AI and ML questions available
Practice all Fundamentals of AI and ML questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Fundamentals of AI and ML. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Fundamentals of AI and ML questions on the AIF-C01 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Fundamentals of AI and ML is tested as part of the AWS Certified AI Practitioner AIF-C01 blueprint. Practicing with targeted Fundamentals of AI and ML questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free AIF-C01 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Fundamentals of AI and ML is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Fundamentals of AI and ML practice session with instant scoring and detailed explanations.
Start Fundamentals of AI and ML Practice →