AIF-C01: AWS Certified AI Practitioner practice questions, page 16 of 22, with answer review and explanations.
Question 76
A company is using few-shot prompting on a base model that is hosted on Amazon Bedrock. The model currently uses 10 examples in the prompt. The model is invoked once daily and is performing well. The company wants to lower the monthly cost. Which solution will meet these requirements?
Customize the model by using fine-tuning.
Decrease the number of tokens in the prompt.
Increase the number of tokens in the prompt.
Use Provisioned Throughput.
Question 77
An AI practitioner is using a large language model (LLM) to create content for marketing campaigns. The generated content sounds plausible and factual but is incorrect. Which problem is the LLM having?
Data leakage
Hallucination
Overfitting
Underfitting
Question 78
An AI practitioner trained a custom model on Amazon Bedrock by using a training dataset that contains confidential data. The AI practitioner wants to ensure that the custom model does not generate inference responses based on confidential data. How should the AI practitioner prevent responses based on confidential data?
Delete the custom model. Remove the confidential data from the training dataset. Retrain the custom model.
Mask the confidential data in the inference responses by using dynamic data masking.
Encrypt the confidential data in the inference responses by using Amazon SageMaker.
Encrypt the confidential data in the custom model by using AWS Key Management Service (AWS KMS).
Question 79
A company has built a solution by using generative AI. The solution uses large language models (LLMs) to translate training manuals from English into other languages. The company wants to evaluate the accuracy of the solution by examining the text generated for the manuals. Which model evaluation strategy meets these requirements?
Bilingual Evaluation Understudy (BLEU)
Root mean squared error (RMSE)
Recall-Oriented Understudy for Gisting Evaluation (ROUGE)
F1 score
Question 80
A large retailer receives thousands of customer support inquiries about products every day. The customer support inquiries need to be processed and responded to quickly. The company wants to implement Agents for Amazon Bedrock. What are the key benefits of using Amazon Bedrock agents that could help this retailer?
Generation of custom foundation models (FMs) to predict customer needs
Automation of repetitive tasks and orchestration of complex workflows
Automatically calling multiple foundation models (FMs) and consolidating the results
Selecting the foundation model (FM) based on predefined criteria and metrics