AIF-C01: AWS Certified AI Practitioner

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

Question 106

A company is introducing a mobile app that helps users learn foreign languages. The app makes text more coherent by calling a large language model (LLM). The company collected a diverse dataset of text and supplemented the dataset with examples of more readable versions. The company wants the LLM output to resemble the provided examples. Which metric should the company use to assess whether the LLM meets these requirements?

  1. Value of the loss function
  2. Semantic robustness
  3. Recall-Oriented Understudy for Gisting Evaluation (ROUGE) score
  4. Latency of the text generation

Question 107

A company notices that its foundation model (FM) generates images that are unrelated to the prompts. The company wants to modify the prompt techniques to decrease unrelated images. Which solution meets these requirements?

  1. Use zero-shot prompts.
  2. Use negative prompts.
  3. Use positive prompts.
  4. Use ambiguous prompts.