ExamGecko
Home Home / Amazon / AIF-C01

Amazon AIF-C01 Practice Test - Questions Answers, Page 7

Question list
Search
Search

List of questions

Search

Related questions











A company is using a pre-trained large language model (LLM) to build a chatbot for product recommendations. The company needs the LLM outputs to be short and written in a specific language.

Which solution will align the LLM response quality with the company's expectations?

A.
Adjust the prompt.
A.
Adjust the prompt.
Answers
B.
Choose an LLM of a different size.
B.
Choose an LLM of a different size.
Answers
C.
Increase the temperature.
C.
Increase the temperature.
Answers
D.
Increase the Top K value.
D.
Increase the Top K value.
Answers
Suggested answer: A

A company uses a foundation model (FM) from Amazon Bedrock for an AI search tool. The company wants to fine-tune the model to be more accurate by using the company's data.

Which strategy will successfully fine-tune the model?

A.
Provide labeled data with the prompt field and the completion field.
A.
Provide labeled data with the prompt field and the completion field.
Answers
B.
Prepare the training dataset by creating a .txt file that contains multiple lines in .csv format.
B.
Prepare the training dataset by creating a .txt file that contains multiple lines in .csv format.
Answers
C.
Purchase Provisioned Throughput for Amazon Bedrock.
C.
Purchase Provisioned Throughput for Amazon Bedrock.
Answers
D.
Train the model on journals and textbooks.
D.
Train the model on journals and textbooks.
Answers
Suggested answer: A

An AI practitioner has a database of animal photos. The AI practitioner wants to automatically identify and categorize the animals in the photos without manual human effort.

Which strategy meets these requirements?

A.
Object detection
A.
Object detection
Answers
B.
Anomaly detection
B.
Anomaly detection
Answers
C.
Named entity recognition
C.
Named entity recognition
Answers
D.
Inpainting
D.
Inpainting
Answers
Suggested answer: A

A company wants to make a chatbot to help customers. The chatbot will help solve technical problems without human intervention. The company chose a foundation model (FM) for the chatbot. The chatbot needs to produce responses that adhere to company tone.

Which solution meets these requirements?

A.
Set a low limit on the number of tokens the FM can produce.
A.
Set a low limit on the number of tokens the FM can produce.
Answers
B.
Use batch inferencing to process detailed responses.
B.
Use batch inferencing to process detailed responses.
Answers
C.
Experiment and refine the prompt until the FM produces the desired responses.
C.
Experiment and refine the prompt until the FM produces the desired responses.
Answers
D.
Define a higher number for the temperature parameter.
D.
Define a higher number for the temperature parameter.
Answers
Suggested answer: C

A company has installed a security camera. The company uses an ML model to evaluate the security camera footage for potential thefts. The company has discovered that the model disproportionately flags people who are members of a specific ethnic group.

Which type of bias is affecting the model output?

A.
Measurement bias
A.
Measurement bias
Answers
B.
Sampling bias
B.
Sampling bias
Answers
C.
Observer bias
C.
Observer bias
Answers
D.
Confirmation bias
D.
Confirmation bias
Answers
Suggested answer: B

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company wants to classify the sentiment of text passages as positive or negative.

Which prompt engineering strategy meets these requirements?

A.
Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.
A.
Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.
Answers
B.
Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
B.
Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
Answers
C.
Provide the new text passage to be classified without any additional context or examples.
C.
Provide the new text passage to be classified without any additional context or examples.
Answers
D.
Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.
D.
Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.
Answers
Suggested answer: A

Which AWS service or feature can help an AI development team quickly deploy and consume a foundation model (FM) within the team's VPC?

A.
Amazon Personalize
A.
Amazon Personalize
Answers
B.
Amazon SageMaker JumpStart
B.
Amazon SageMaker JumpStart
Answers
C.
PartyRock, an Amazon Bedrock Playground
C.
PartyRock, an Amazon Bedrock Playground
Answers
D.
Amazon SageMaker endpoints
D.
Amazon SageMaker endpoints
Answers
Suggested answer: D

A research company implemented a chatbot by using a foundation model (FM) from Amazon Bedrock. The chatbot searches for answers to questions from a large database of research papers.

After multiple prompt engineering attempts, the company notices that the FM is performing poorly because of the complex scientific terms in the research papers.

How can the company improve the performance of the chatbot?

A.
Use few-shot prompting to define how the FM can answer the questions.
A.
Use few-shot prompting to define how the FM can answer the questions.
Answers
B.
Use domain adaptation fine-tuning to adapt the FM to complex scientific terms.
B.
Use domain adaptation fine-tuning to adapt the FM to complex scientific terms.
Answers
C.
Change the FM inference parameters.
C.
Change the FM inference parameters.
Answers
D.
Clean the research paper data to remove complex scientific terms.
D.
Clean the research paper data to remove complex scientific terms.
Answers
Suggested answer: B

A medical company deployed a disease detection model on Amazon Bedrock. To comply with privacy policies, the company wants to prevent the model from including personal patient information in its responses. The company also wants to receive notification when policy violations occur.

Which solution meets these requirements?

A.
Use Amazon Macie to scan the model's output for sensitive data and set up alerts for potential violations.
A.
Use Amazon Macie to scan the model's output for sensitive data and set up alerts for potential violations.
Answers
B.
Configure AWS CloudTrail to monitor the model's responses and create alerts for any detected personal information.
B.
Configure AWS CloudTrail to monitor the model's responses and create alerts for any detected personal information.
Answers
C.
Use Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations.
C.
Use Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations.
Answers
D.
Implement Amazon SageMaker Model Monitor to detect data drift and receive alerts when model quality degrades.
D.
Implement Amazon SageMaker Model Monitor to detect data drift and receive alerts when model quality degrades.
Answers
Suggested answer: C

Explanation:


An education provider is building a question and answer application that uses a generative AI model to explain complex concepts. The education provider wants to automatically change the style of the model response depending on who is asking the question. The education provider will give the model the age range of the user who has asked the question.

Which solution meets these requirements with the LEAST implementation effort?

A.
Fine-tune the model by using additional training data that is representative of the various age ranges that the application will support.
A.
Fine-tune the model by using additional training data that is representative of the various age ranges that the application will support.
Answers
B.
Add a role description to the prompt context that instructs the model of the age range that the response should target.
B.
Add a role description to the prompt context that instructs the model of the age range that the response should target.
Answers
C.
Use chain-of-thought reasoning to deduce the correct style and complexity for a response suitable for that user.
C.
Use chain-of-thought reasoning to deduce the correct style and complexity for a response suitable for that user.
Answers
D.
Summarize the response text depending on the age of the user so that younger users receive shorter responses.
D.
Summarize the response text depending on the age of the user so that younger users receive shorter responses.
Answers
Suggested answer: B
Total 87 questions
Go to page: of 9