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 PracticeA 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.
During a SageMaker training job, the data scientist observes that the loss is not decreasing after the initial few epochs. The model is a deep neural network with ReLU activations. Which hyperparameter adjustment is most likely to help?
Explanation: When loss plateaus after a few epochs with ReLU activations, the model is likely stuck in a region where gradients are small (e.g., near a local minimum or plateau). Reducing the learning rate allows the optimizer to take smaller steps, which can help it navigate out of flat regions and continue decreasing the loss. This is a standard technique to improve convergence when training stalls.
Which TWO factors should be considered when choosing between a CPU-based instance and a GPU-based instance for training a machine learning model on Amazon SageMaker? (Choose two.)
Explanation: Option C (the size of the dataset) is correct because dataset scale directly drives the compute and memory demands of training: very large datasets with heavy matrix operations benefit from GPU parallelism, while small datasets often train efficiently on CPU instances, making dataset size a key cost/performance factor in choosing between CPU and GPU. Option E (the type of model architecture, e.g., CNN vs. linear regression) is correct because architecture determines whether the workload is dominated by massively parallel tensor math (CNNs, transformers, deep networks) that GPUs accelerate, or by simpler, largely sequential operations (linear regression, small tree-based models) where CPU instances are sufficient and more cost-effective. Option A (number of layers) is not a primary selection factor on its own, since depth matters only insofar as it reflects the architecture and compute pattern already captured by option E. Option B (AWS Region) affects availability, pricing, and latency but not the fundamental CPU-versus-GPU compute decision. Option D (choice of hyperparameter optimizer) influences convergence behavior and tuning, not the underlying hardware class needed for training.
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.
+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 →