AWS AI Practitioner AIF-C01 Exam Dumps & Practice Test
AWS Certified AI Practitioner Questions 91–95 (page: 20)

Updated On: 30-Nov-2026

A company has fine-tuned a large language model (LLM) to answer questions for a help desk. The company wants to determine if the fine-tuning has enhanced the model's accuracy.
Which metric should the company use for the evaluation?

  1. Precision
  2. Time to first token
  3. F1 score
  4. Word error rate

Answer(s): C

Explanation:

The F1 score is a metric that combines precision and recall into a single value, providing a balance between the two. It is particularly useful in evaluating models where there is an uneven class distribution, as it considers both false positives and false negatives. The F1 score is calculated as the harmonic mean of precision and recall:

This metric ranges from 0 to 1, with 1 indicating perfect precision and recall. In the context of evaluating a fine-tuned large language model (LLM) for a help desk application, the F1 score is appropriate because it assesses the model's ability to provide accurate and relevant responses, balancing the trade-off between precision (correctness of responses) and recall (completeness of relevant responses).


Reference:

https://arize.com/blog-course/f1-score/



A company is using Retrieval Augmented Generation (RAG) with Amazon Bedrock and Stable Diffusion to generate product images based on text descriptions. The results are often random and lack specific details. The company wants to increase the specificity of the generated images.
Which solution meets these requirements?

  1. Increase the number of generation steps.
  2. Use the MASK_IMAGE_BLACK mask source option.
  3. Increase the classifier-free guidance (CFG) scale.
  4. Increase the prompt strength.

Answer(s): C

Explanation:

In Stable Diffusion, the classifier-free guidance (CFG) scale parameter controls how closely the generated image adheres to the provided text prompt. By increasing the CFG scale, the model places more emphasis on the prompt, leading to images that more accurately reflect the specified details. However, it's important to balance this setting, as excessively high values can result in less diverse and potentially lower-quality images.



A company wants to implement a large language model (LLM) based chatbot to provide customer service agents with real-time contextual responses to customers' inquiries. The company will use the company's policies as the knowledge base.
Which solution will meet these requirements MOST cost-effectively?

  1. Retrain the LLM on the company policy data.
  2. Fine-tune the LLM on the company policy data.
  3. Implement Retrieval Augmented Generation (RAG) for in-context responses.
  4. Use pre-training and data augmentation on the company policy data.

Answer(s): C

Explanation:

Retrieval Augmented Generation (RAG) integrates external data sources with LLMs to produce accurate and contextually relevant outputs without the need for extensive retraining. By connecting the chatbot to the company's policy documents, RAG enables the model to retrieve pertinent information in real-time, ensuring responses are both accurate and up-to-date. This approach is cost-effective as it leverages existing data without the computational expenses associated with retraining or fine-tuning large models.


Reference:

https://aws.amazon.com/what-is/retrieval-augmented-generation/



A company wants to create a new solution by using AWS Glue. The company has minimal programming experience with AWS Glue.
Which AWS service can help the company use AWS Glue?

  1. Amazon Q Developer
  2. AWS Config
  3. Amazon Personalize
  4. Amazon Comprehend

Answer(s): A

Explanation:

Amazon Q Developer is a tool designed to help users with minimal programming experience to work with AWS Glue. It provides a graphical user interface and simplifies the creation of data transformation and extraction workflows, allowing users to perform tasks like querying and working with data without needing deep coding skills.



A company is developing a mobile ML app that uses a phone's camera to diagnose and treat insect bites. The company wants to train an image classification model by using a diverse dataset of insect bite photos from different genders, ethnicities, and geographic locations around the world.
Which principle of responsible AI does the company demonstrate in this scenario?

  1. Fairness
  2. Explainability
  3. Governance
  4. Transparency

Answer(s): A

Explanation:

The company is actively seeking to ensure that the image classification model is trained on a diverse dataset that includes insect bite photos from various genders, ethnicities, and geographic locations. This reflects the fairness principle of responsible AI, which emphasizes creating models that make unbiased decisions across all demographic groups. By including a diverse range of data, the company is aiming to prevent biases that could lead to inaccurate diagnoses or treatments for certain groups of people.
Fairness ensures that AI systems do not discriminate based on race, gender, geography, or other characteristics.



Viewing page 20 of 118
Viewing questions 91 - 95 out of 585 questions


Post your Comments and Discuss Amazon AIF-C01 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!