AWS AI Practitioner AIF-C01 Exam Dumps & Practice Test
AWS Certified AI Practitioner Questions 131–135 (page: 28)

Updated On: 30-Nov-2026

A company’s large language model (LLM) is experiencing hallucinations.
How can the company decrease hallucinations?

  1. Set up Agents for Amazon Bedrock to supervise the model training.
  2. Use data pre-processing and remove any data that causes hallucinations.
  3. Decrease the temperature inference parameter for the model.
  4. Use a foundation model (FM) that is trained to not hallucinate.

Answer(s): C

Explanation:

In the context of large language models (LLMs), the temperature inference parameter controls the randomness of the model's output. Lowering the temperature reduces randomness and makes the model's responses more deterministic and focused on the most likely predictions. By decreasing the temperature, the likelihood of hallucinations (when the model generates incorrect or nonsensical information) is reduced, as the model relies more on high-probability outputs rather than exploring less likely possibilities.



A company is using a large language model (LLM) on Amazon Bedrock to build a chatbot. The chatbot processes customer support requests. To resolve a request, the customer and the chatbot must interact a few times.
Which solution gives the LLM the ability to use content from previous customer messages?

  1. Turn on model invocation logging to collect messages.
  2. Add messages to the model prompt.
  3. Use Amazon Personalize to save conversation history.
  4. Use Provisioned Throughput for the LLM.

Answer(s): B

Explanation:

To give a large language model (LLM) the ability to use content from previous customer messages in a conversation, the previous messages must be included in the model prompt. This technique is known as prompt engineering and allows the LLM to retain context by incorporating a history of the interaction within the prompt. By appending prior exchanges to the prompt, the model can generate contextually relevant and coherent responses throughout the multi-turn conversation.



A company’s employees provide product descriptions and recommendations to customers when customers call the customer service center. These recommendations are based on where the customers are located. The company wants to use foundation models (FMs) to automate this process.
Which AWS service meets these requirements?

  1. Amazon Macie
  2. Amazon Transcribe
  3. Amazon Bedrock
  4. Amazon Textract

Answer(s): C

Explanation:

Amazon Bedrock enables companies to use foundation models (FMs) to build and automate tasks like generating product descriptions and recommendations. It allows the integration of pre-trained FMs into applications without managing infrastructure, making it an ideal choice for automating customer service tasks. With Amazon Bedrock, the company can leverage FMs to generate tailored recommendations based on customer locations, enabling dynamic and efficient customer interactions.



A company wants to upload customer service email messages to Amazon S3 to develop a business analysis application. The messages sometimes contain sensitive data. The company wants to receive an alert every time sensitive information is found.
Which solution fully automates the sensitive information detection process with the LEAST development effort?

  1. Configure Amazon Macie to detect sensitive information in the documents that are uploaded to Amazon S3.
  2. Use Amazon SageMaker endpoints to deploy a large language model (LLM) to redact sensitive data.
  3. Develop multiple regex patterns to detect sensitive data. Expose the regex patterns on an Amazon SageMaker notebook.
  4. Ask the customers to avoid sharing sensitive information in their email messages.

Answer(s): A

Explanation:

Amazon Macie is a fully managed data security and privacy service that uses machine learning to discover and protect sensitive data in Amazon S3. It can automatically detect sensitive information, such as personally identifiable information (PII) or financial data, and send alerts when such data is found. This approach minimizes development effort, as it does not require custom regex patterns or model development, and it is specifically designed to handle the scenario described.



HOTSPOT (Drag and Drop is not supported)
A company is training its employees on how to structure prompts for foundation models.
Select the correct prompt engineering technique from the following list for each prompt template. Each prompt engineering technique should be selected one time.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




"Classify the following text as either sports, politics, or entertainment: [input text]."

Answer(s): Zero-shot learning
Zero-shot learning involves providing the model with a task and no prior examples, relying entirely on the model's pre-trained knowledge to perform the classification.
"A [image 1], [image 2], and [image 3] are examples of [target class]. Classify the following image as [target class]."

Answer(s): Few-shot learning
Few-shot learning provides the model with a few examples (image 1, image 2, and image 3) before asking it to classify a new instance, helping it generalize to the task with minimal examples.
"[Question.] [Instructions to follow.] Think step by step and walk me through your thinking."

Answer(s): Chain-of-thought reasoning
Chain-of-thought reasoning encourages the model to break down its reasoning process step by step, enhancing its ability to solve complex tasks logically.



Viewing page 28 of 118
Viewing questions 131 - 135 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!