- A
Encapsulate the custom model in a Docker container, push it to Amazon ECR, and create a custom machine learning resource in Amazon Lex to invoke the container directly.
Why wrong: Amazon Lex does not support direct invocation of custom Docker containers for machine learning models; integration is typically done through Lambda functions calling SageMaker endpoints.
- B
Train a custom model in SageMaker using a built-in algorithm like BlazingText, then deploy it to a SageMaker endpoint and integrate with Lex via a AWS Lambda function that calls the endpoint.
Why wrong: This approach requires manual algorithm selection and tuning, increasing operational overhead for a team with limited experience.
- C
Use Amazon Comprehend to perform sentiment analysis and entity recognition, then map the results to Lex intents using Lambda.
Why wrong: Amazon Comprehend provides pre-trained NLP capabilities, but cannot be used to train a custom NLU model tailored to the company's specific chatbot intents and slots.
- D
Use SageMaker Autopilot to automatically build and train the best model, then deploy to a SageMaker endpoint and use Lambda to invoke it for Lex integration.
SageMaker Autopilot automates the machine learning process, minimizing manual effort, and the trained model can be deployed to an endpoint and integrated with Lex via Lambda.
Quick Answer
The correct answer is to use SageMaker Autopilot to automatically build and train the best model, then deploy to a SageMaker endpoint and use a Lambda function to invoke it for Lex integration. This solution is correct because SageMaker Autopilot automates the entire machine learning pipeline—including algorithm selection, feature engineering, hyperparameter tuning, and model training—which minimizes operational overhead for teams with limited SageMaker experience. On the AWS Certified AI Practitioner AIF-C01 exam, this question tests your understanding of how to bridge Amazon Lex’s NLU needs with SageMaker’s automated ML capabilities, often appearing as a scenario where you must choose between fully managed automation versus manual or incompatible services. A common trap is selecting Amazon Comprehend for custom NLU, but Comprehend provides general-purpose NLP, not custom model training. Remember the memory tip: “Autopilot drives the model, Lambda bridges the bot.”
AIF-C01 Fundamentals of AI and ML Practice Question
This AIF-C01 practice question tests your understanding of fundamentals of ai and ml. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is building a chatbot to answer customer queries using Amazon Lex. The development team has created a large dataset of customer interactions and intends to use Amazon SageMaker to train a custom machine learning model for natural language understanding (NLU). The team wants to integrate the trained model with Amazon Lex to handle intents and slots. The team has limited experience with SageMaker and wants to minimize operational overhead. Which solution should the team use?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"minimum / minimize"Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Use SageMaker Autopilot to automatically build and train the best model, then deploy to a SageMaker endpoint and use Lambda to invoke it for Lex integration.
Option D is correct because SageMaker Autopilot automates model building, tuning, and deployment, reducing the need for manual intervention and expertise. Option A requires manual algorithm selection and tuning. Option B uses Amazon Comprehend, which provides general-purpose NLP but does not allow for custom NLU model training. Option C is not supported because Amazon Lex does not directly invoke custom Docker containers; integration is typically done via Lambda.
Key principle: NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Encapsulate the custom model in a Docker container, push it to Amazon ECR, and create a custom machine learning resource in Amazon Lex to invoke the container directly.
Why it's wrong here
Amazon Lex does not support direct invocation of custom Docker containers for machine learning models; integration is typically done through Lambda functions calling SageMaker endpoints.
- ✗
Train a custom model in SageMaker using a built-in algorithm like BlazingText, then deploy it to a SageMaker endpoint and integrate with Lex via a AWS Lambda function that calls the endpoint.
Why it's wrong here
This approach requires manual algorithm selection and tuning, increasing operational overhead for a team with limited experience.
- ✗
Use Amazon Comprehend to perform sentiment analysis and entity recognition, then map the results to Lex intents using Lambda.
Why it's wrong here
Amazon Comprehend provides pre-trained NLP capabilities, but cannot be used to train a custom NLU model tailored to the company's specific chatbot intents and slots.
- ✓
Use SageMaker Autopilot to automatically build and train the best model, then deploy to a SageMaker endpoint and use Lambda to invoke it for Lex integration.
Why this is correct
SageMaker Autopilot automates the machine learning process, minimizing manual effort, and the trained model can be deployed to an endpoint and integrated with Lex via Lambda.
Clue confirmation
The clue word "minimum / minimize" in the question point toward this answer.
Related concept
Static NAT maps one inside address to one outside address.
Common exam traps
Common exam trap: NAT rules depend on direction and matching traffic
NAT is not only about the public address. The inside/outside interface roles and the ACL or rule that matches traffic are just as important.
Detailed technical explanation
How to think about this question
NAT questions usually test address translation, overload/PAT behaviour, static mappings and whether the right traffic is being translated. Read the interface direction and address terms carefully.
KKey Concepts to Remember
- Static NAT maps one inside address to one outside address.
- PAT allows many inside hosts to share one public address using ports.
- Inside local and inside global describe the private and translated addresses.
- NAT ACLs identify traffic for translation, not always security filtering.
TExam Day Tips
- Identify inside and outside interfaces first.
- Check whether the scenario needs static NAT, dynamic NAT or PAT.
- Do not confuse NAT matching ACLs with normal packet-filtering intent.
Key takeaway
NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated.
Real-world example
How this comes up in practice
A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. NAT direction and interface roles matter as much as the IP address mapping. Inside/outside designation controls which traffic is translated. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.
What to study next
Got this wrong? Here's your next step.
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AIF-C01 NAT questions on configuration and troubleshooting.
- →
Fundamentals of AI and ML — study guide chapter
Learn the concepts, then practise the questions
- →
Fundamentals of AI and ML practice questions
Targeted practice on this topic area only
- →
All AIF-C01 questions
500 questions across all exam domains
- →
AWS Certified AI Practitioner AIF-C01 study guide
Full concept coverage aligned to exam objectives
- →
AIF-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AIF-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Applications of Foundation Models practice questions
Practise AIF-C01 questions linked to Applications of Foundation Models.
Fundamentals of AI and ML practice questions
Practise AIF-C01 questions linked to Fundamentals of AI and ML.
Fundamentals of Generative AI practice questions
Practise AIF-C01 questions linked to Fundamentals of Generative AI.
Guidelines for Responsible AI practice questions
Practise AIF-C01 questions linked to Guidelines for Responsible AI.
Security, Compliance and Governance for AI Solutions practice questions
Practise AIF-C01 questions linked to Security, Compliance and Governance for AI Solutions.
AIF-C01 fundamentals practice questions
Practise AIF-C01 questions linked to AIF-C01 fundamentals.
AIF-C01 scenario practice questions
Practise AIF-C01 questions linked to AIF-C01 scenario.
AIF-C01 troubleshooting practice questions
Practise AIF-C01 questions linked to AIF-C01 troubleshooting.
Practice this exam
Start a free AIF-C01 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AIF-C01 question test?
Fundamentals of AI and ML — This question tests Fundamentals of AI and ML — Static NAT maps one inside address to one outside address..
What is the correct answer to this question?
The correct answer is: Use SageMaker Autopilot to automatically build and train the best model, then deploy to a SageMaker endpoint and use Lambda to invoke it for Lex integration. — Option D is correct because SageMaker Autopilot automates model building, tuning, and deployment, reducing the need for manual intervention and expertise. Option A requires manual algorithm selection and tuning. Option B uses Amazon Comprehend, which provides general-purpose NLP but does not allow for custom NLU model training. Option C is not supported because Amazon Lex does not directly invoke custom Docker containers; integration is typically done via Lambda.
What should I do if I get this AIF-C01 question wrong?
Review the four NAT address types (inside local, inside global, outside local, outside global), PAT port overload, and static vs dynamic NAT use cases. Then practise related AIF-C01 NAT questions on configuration and troubleshooting.
Are there clue words in this question I should notice?
Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.
What is the key concept behind this question?
Static NAT maps one inside address to one outside address.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 23, 2026
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.