AIF-C01: AWS Certified AI Practitioner

AIF-C01: AWS Certified AI Practitioner practice questions, page 19 of 22, with answer review and explanations.

Question 91

An ML research team develops custom ML models. The model artifacts are shared with other teams for integration into products and services. The ML team retains the model training code and data. The ML team wants to build a mechanism that the ML team can use to audit models. Which solution should the ML team use when publishing the custom ML models?

  1. Create documents with the relevant information. Store the documents in Amazon S3.
  2. Use AWS AI Service Cards for transparency and understanding models.
  3. Create Amazon SageMaker Model Cards with intended uses and training and inference details.
  4. Create model training scripts. Commit the model training scripts to a Git repository.

Question 92

A software company builds tools for customers. The company wants to use AI to increase software development productivity. Which solution will meet these requirements?

  1. Use a binary classification model to generate code reviews.
  2. Install code recommendation software in the company's developer tools.
  3. Install a code forecasting tool to predict potential code issues.
  4. Use a natural language processing (NLP) tool to generate code.

Question 93

A retail store wants to predict the demand for a specific product for the next few weeks by using the Amazon SageMaker DeepAR forecasting algorithm. Which type of data will meet this requirement?

  1. Text data
  2. Image data
  3. Time series data
  4. Binary data

Question 94

A large retail bank wants to develop an ML system to help the risk management team decide on loan allocations for different demographics. What must the bank do to develop an unbiased ML model?

  1. Reduce the size of the training dataset.
  2. Ensure that the ML model predictions are consistent with historical results.
  3. Create a different ML model for each demographic group.
  4. Measure class imbalance on the training dataset. Adapt the training process accordingly.

Question 95

Which prompting technique can protect against prompt injection attacks?

  1. Adversarial prompting
  2. Zero-shot prompting
  3. Least-to-most prompting
  4. Chain-of-thought prompting