AIF-C01 sample exam questions

15 exam-style questions for AWS AIF-C01: AI Practitioner, with answers and explanations. Take them as a timed practice exam first if you want a score out of 1000.

  1. Question 1Single choiceGuidelines for Responsible AI
    A company makes forecasts each quarter to decide how to optimize operations to meet expected demand. The company uses ML models to make these forecasts.
    An AI practitioner is writing a report about the trained ML models to provide transparency and explainability to company stakeholders.
    What should the AI practitioner include in the report to meet the transparency and explainability requirements?
    1. A
      Code for model training
    2. B
      Partial dependence plots (PDPs)
    3. C
      Sample data for training
    4. D
      Model convergence tables
    Show answer

    Correct answer: B

    Why

    Partial dependence plots show how changing a feature affects the model's predictions, which helps stakeholders understand its behavior. Training code, sample data and convergence tables do not explain how inputs drive the forecasts.

  2. Question 2Single choiceFundamentals of AI and ML
    What does an F1 score measure in the context of foundation model (FM) performance?
    1. A
      Model precision and recall
    2. B
      Model speed in generating responses
    3. C
      Financial cost of operating the model
    4. D
      Energy efficiency of the model’s computations
    Show answer

    Correct answer: A

    Why

    F1 is the harmonic mean of precision and recall, so it measures both together. It does not measure speed, cost or energy use.

  3. Question 3Single choiceSecurity, Compliance, and Governance for AI Solutions
    A financial company is using AI systems to obtain customer credit scores as part of the loan application process. The company wants to expand to a new market in a different geographic area. The company must ensure that it can operate in that geographic area.

    Which compliance laws should the company review?
    1. A
      Local health data protection laws
    2. B
      Local payment card data protection laws
    3. C
      Local education privacy laws
    4. D
      Local algorithm accountability laws
    Show answer

    Correct answer: D

    Why

    AI-based credit scoring makes automated decisions about people, so local algorithm accountability laws apply directly. Health, payment card and education privacy laws relate to other kinds of data.

  4. Question 4HotspotFundamentals of AI and ML
    HOTSPOT

    A company wants to use Amazon SageMaker features for various use cases.

    Select the correct SageMaker feature from the following list for each use case. Each SageMaker feature should be selected one time or not at all.

    Preparing data through a visual interface without using codeSageMaker Canvas / SageMaker Feature Store / SageMaker Ground Truth / SageMaker JumpStart / SageMaker Model Monitor
    Finding and using a prebuilt solution for fraud detectionSageMaker Canvas / SageMaker Feature Store / SageMaker Ground Truth / SageMaker JumpStart / SageMaker Model Monitor
    Create labeled datasets with human interventionSageMaker Canvas / SageMaker Feature Store / SageMaker Ground Truth / SageMaker JumpStart / SageMaker Model Monitor
    Show answer
    • Preparing data through a visual interface without using code SageMaker Canvas
    • Finding and using a prebuilt solution for fraud detection SageMaker JumpStart
    • Create labeled datasets with human intervention SageMaker Ground Truth
    Why

    SageMaker Canvas prepares data visually without code. JumpStart offers prebuilt solutions, including for fraud detection. Ground Truth creates labeled datasets with human involvement.

  5. Question 5Single choiceGuidelines for Responsible AI
    A retail company wants to build an ML model to recommend products to customers. The company wants to build the model based on responsible practices.

    Which practice should the company apply when collecting data to decrease model bias?
    1. A
      Use data from only customers who match the demographics of the company's overall customer base.
    2. B
      Collect data from customers who have a past purchase history.
    3. C
      Ensure that the data is balanced and collected from a diverse group.
    4. D
      Ensure that the data is from a publicly available dataset.
    Show answer

    Correct answer: C

    Why

    Balanced data from a diverse group reduces bias at collection time. Limiting data to one demographic match or past purchasers can exclude groups, and public datasets are not automatically free of bias.

  6. Question 6Single choiceApplications of Foundation Models
    A company is making a chatbot. The chatbot uses Amazon Lex and Amazon OpenSearch Service. The chatbot uses the company's private data to answer questions. The company needs to convert the data into a vector representation before storing the data in a database.

    Which type of foundation model (FM) meets these requirements?
    1. A
      Text completion model
    2. B
      Instruction following model
    3. C
      Text embeddings model
    4. D
      Image generation model
    Show answer

    Correct answer: C

    Why

    A text embeddings model converts text into vectors that can be stored and searched in OpenSearch. Completion and instruction following models generate text, and image generation models create images.

  7. Question 7Single choiceApplications of Foundation Models
    A grocery store wants to create a chatbot to help customers find products in the store. The chatbot must check the inventory in real time and provide the product location in the store.

    Which prompt engineering technique should the store use to build the chatbot?
    1. A
      Zero-shot prompting
    2. B
      Few-shot prompting
    3. C
      Least-to-most prompting
    4. D
      Reasoning and acting (ReAct) prompting
    Show answer

    Correct answer: D

    Why

    ReAct combines reasoning with actions, such as calling a tool to check live inventory and location. Zero-shot, few-shot and least-to-most prompting do not include acting on external systems.

  8. Question 8Single choiceFundamentals of Generative AI
    A company is working on a large language model (LLM) and noticed that the LLM’s outputs are not as diverse as expected.

    Which parameter should the company adjust?
    1. A
      Temperature
    2. B
      Batch size
    3. C
      Learning rate
    4. D
      Optimizer type
    Show answer

    Correct answer: A

    Why

    Raising temperature adds randomness, which makes outputs more diverse. Batch size, learning rate and optimizer type affect training rather than variety at generation time.

  9. Question 9HotspotFundamentals of Generative AI
    HOTSPOT

    An ecommerce company is developing a generative AI solution to create personalized product recommendations for its application users. The company wants to track how effectively the AI solution increases product sales and user engagement in the application.

    Select the correct business metric from the following list for each business goal. Each business metric should be selected one time.

    Measure how engaging the product recommendations are to usersAverage order value (AOV) / Click-through rate (CTR) / Retention rate
    Determine the effect of the AI solution on the total value of user purchasesAverage order value (AOV) / Click-through rate (CTR) / Retention rate
    Assess the AI solution's ability to encourage users to return to the platformAverage order value (AOV) / Click-through rate (CTR) / Retention rate
    Show answer
    • Measure how engaging the product recommendations are to users Click-through rate (CTR)
    • Determine the effect of the AI solution on the total value of user purchases Average order value (AOV)
    • Assess the AI solution's ability to encourage users to return to the platform Retention rate
    Why

    Click-through rate measures engagement with recommendations. Average order value shows the effect on what users spend. Retention rate shows whether users return.

  10. Question 10Single choiceOther
    Sentiment analysis is a subset of which broader field of AI?
    1. A
      Computer vision
    2. B
      Robotics
    3. C
      Natural language processing (NLP)
    4. D
      Time series forecasting
    Show answer

    Correct answer: C

    Why

    Sentiment analysis determines the feeling expressed in language, so it belongs to NLP. Computer vision uses images, robotics concerns physical machines, and forecasting predicts future values.

  11. Question 11Drag and drop: orderOther
    HOTSPOT

    Select and order the steps from the following list to correctly describe the ML lifecycle for a new custom model. Select each step one time.

    Arrange 4 of these in the correct order:

    • Define the business objective.
    • Deploy the model.
    • Develop and train the model.
    • Process the data.
    Show answer
    1. Define the business objective.
    2. Process the data.
    3. Develop and train the model.
    4. Deploy the model.
    Why

    The lifecycle starts by defining the business objective, then processing the data, developing and training the model, and finally deploying it.

  12. Question 12Single choiceFundamentals of AI and ML
    A healthcare company wants to create a model to improve disease diagnostics by analyzing patient voices. The company has recorded hundreds of patient voices for this project.

    The company is currently filtering voice recordings according to duration and language.

    Which phase of the ML lifecycle describes the current project phase?
    1. A
      Data collection
    2. B
      Data preprocessing
    3. C
      Feature engineering
    4. D
      Model training
    Show answer

    Correct answer: B

    Why

    The recordings already exist, and filtering them by duration and language is data preprocessing. Collection gathers them, feature engineering creates model inputs, and training comes later.

  13. Question 13Drag and drop: orderApplications of Foundation Models
    HOTSPOT

    A company wants to build generative AI applications by using Amazon Bedrock. The company wants to minimize development effort.

    Select and order the model development techniques from the following list from the LEAST development effort to the MOST development effort. Each model development technique should be selected one time.

    Arrange 4 of these in the correct order:

    • Continued pre-training
    • Fine-tuning
    • Prompt engineering
    • Retrieval Augmented Generation (RAG)
    Show answer
    1. Prompt engineering
    2. Retrieval Augmented Generation (RAG)
    3. Fine-tuning
    4. Continued pre-training
    Why

    Prompt engineering needs no data preparation or training. RAG adds a data source but no training. Fine-tuning requires labeled data and a training job. Continued pre-training requires large amounts of unlabeled data and takes the most work.

  14. Question 14Single choiceFundamentals of Generative AI
    Which AWS service helps select foundation models (FMs) for generative AI use cases?
    1. A
      Amazon Personalize
    2. B
      Amazon Bedrock
    3. C
      Amazon Q Developer
    4. D
      Amazon Rekognition
    Show answer

    Correct answer: B

    Why

    Amazon Bedrock offers a choice of foundation models and evaluation tools for comparing them. Personalize makes recommendations, Q Developer assists with code, and Rekognition analyzes images and video.

  15. Question 15Drag and drop: orderGuidelines for Responsible AI
    HOTSPOT

    A company is building an AI assistant application. The company must implement a core governance process for the application development project. The company must ensure that the application aligns with responsible AI practices.

    Select and order the steps from the following list to correctly describe the implementation of a core governance process for this use case. Select each step one time.

    Arrange 3 of these in the correct order:

    • Determine governance goals, risks, and policies.
    • Put together a cross-functional AI governance group.
    • Set up model monitoring mechanisms.
    Show answer
    1. Put together a cross-functional AI governance group.
    2. Determine governance goals, risks, and policies.
    3. Set up model monitoring mechanisms.
    Why

    A cross-functional governance group is formed first, so the right people are in place. That group determines governance goals, risks and policies, and then model monitoring mechanisms put oversight into practice.