AWS AI Practitioner - AIF-C01 Practice Exam

Validates foundational knowledge of AI, ML, and generative AI concepts and their practical use with AWS services

Time limit

1h 30m

Questions

65

Passing score

70%

Difficulty

Beginner

Category

AWS AI Practitioner

Sample questions

A few questions from this practice exam, with the correct answer and why it is correct.

  1. 1.A model predicts well for large customer segments, but for a small segment with few training examples its predictions change drastically every time it is retrained on a slightly different sample of data. Which problem does this indicate?

    • AHigh variance, with the model fitting noise in sparse dataCorrect answer
    • BHigh bias, with the model too simple for every segment
    • CConcept drift caused by changing customer behavior
    • DInsufficient inference capacity on the endpoint

    Why

    High variance means a model is overly sensitive to the specific training sample, typically because it fits noise rather than general patterns; this is most visible for groups with little data, whose predictions swing between retraining runs and can be unfairly inaccurate. High bias would cause consistently poor predictions across all segments. Concept drift is a change in real-world relationships over time, not instability between retraining runs, and endpoint capacity affects latency, not prediction values.

  2. 2.A team compares two image classification approaches. One requires engineers to hand-design features such as edges and color histograms. The other uses a neural network with many layers that learns useful features directly from raw pixels. What is the second approach called?

    • AReinforcement learning
    • BDeep learningCorrect answer
    • CRule-based expert system
    • DLinear regression

    Why

    Deep learning uses neural networks with many layers of interconnected nodes; each layer learns progressively more abstract features from raw data such as pixels, audio, or text, so manual feature engineering is largely unnecessary. Reinforcement learning trains an agent through rewards and penalties rather than learning features from labeled images. A rule-based expert system relies on rules written by people, and linear regression predicts a numeric value from features that must already be prepared.

  3. 3.An AI agent has access to 40 tools, and it often calls the wrong one or passes incorrect parameters. Which context engineering change is MOST likely to improve its tool selection?

    • AWrite clear tool descriptions and expose only the tools relevant to the taskCorrect answer
    • BRemove the system prompt to free up more room in the context window
    • CPaste the full documentation of every tool into each request
    • DIncrease the temperature so the agent explores a wider range of tools

    Why

    Agents choose tools based on the names, descriptions, and parameter schemas placed in their context. Clear, distinct descriptions and offering only the tools relevant to the current task reduce confusion and wasted context, which is a core context engineering practice. A higher temperature makes choices more random, not more accurate. Removing the system prompt takes away the guidance the agent needs. Pasting the full documentation of all 40 tools into every request bloats the context and makes the relevant details harder for the model to find.

  4. 4.A medical information assistant must flag answers that may be unreliable instead of presenting them to patients as fact. Which approach helps detect possible hallucinations before an answer is shown?

    • AIncrease the maximum output length so each answer is more complete
    • BRaise the temperature so the model considers more possible answers
    • CRemove the retrieval step so that answers come back with less delay
    • DScore each answer's confidence and route low scores to human reviewCorrect answer

    Why

    Confidence scoring estimates how trustworthy an answer is, for example by checking agreement across several sampled answers or how well the answer is supported by the retrieved sources, and answers below a threshold can be withheld or sent for human review. Raising the temperature increases randomness and makes hallucinations more likely. Removing retrieval takes away the grounding sources. A higher maximum output length only allows longer answers and does nothing to check their accuracy.

  5. 5.A single long prompt asks a model to read a 40-page contract, extract all payment terms, compare them with company policy, and draft an email to the vendor. The results are inconsistent, and steps are often skipped. Which prompt engineering approach should the team try?

    • AIncrease the temperature so the model explores more options
    • BMerge every step into an even longer and more detailed prompt
    • CSplit the task into a chain of smaller prompts, one per stepCorrect answer
    • DRemove the instructions and rely on the model's default behavior

    Why

    Prompt chaining breaks a complex task into a sequence of focused prompts, where each step, such as extraction, comparison, and drafting, gets clear instructions and its output feeds the next step. This makes each step easier for the model to follow and easier for the team to test and debug. A longer single prompt makes the problem worse, removing the instructions makes behavior less predictable, and a higher temperature adds randomness rather than reliability.

Practice all 65 questions

Frequently asked questions

Is the AWS AI Practitioner - AIF-C01 practice exam free?

Yes. Every practice exam on NaHero is free and unlimited, whatever its level. You only need a free account to start. A premium plan adds the explanation behind each answer, your attempt history and your performance dashboard.

How many questions does it have and how long does it take?

65 questions with a 90-minute time limit, so you practise under the same time pressure as the real exam.

What score do I need to pass?

You need 70% to pass this practice exam. Your score and a per-question review are shown as soon as you finish.

Do I need an account?

Yes, a free account. It is what lets us save your attempt, score it and keep your history.

Can I retake it?

As many times as you like — attempts are unlimited and free. Questions are shuffled on every attempt.

Are these the real questions from the official exam?

No. NaHero does not reproduce questions from the official exam. These are practice questions written to match its format, topics and difficulty.

AWS AI Practitioner - AIF-C01 | NaHero