New Year Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Amazon Web Services AIF-C01 - AWS Certified AI Practitioner Exam

Page: 8 / 9
Total 289 questions

An ecommerce company is deploying a chatbot. The chatbot will give users the ability to ask questions about the company's products and receive details on users' orders. The company must implement safeguards for the chatbot to filter harmful content from the input prompts and chatbot responses.

Which AWS feature or resource meets these requirements?

A.

Amazon Bedrock Guardrails

B.

Amazon Bedrock Agents

C.

Amazon Bedrock inference APIs

D.

Amazon Bedrock custom models

A company is developing an ML model to predict customer churn.

Which evaluation metric will assess the model's performance on a binary classification task such as predicting chum?

A.

F1 score

B.

Mean squared error (MSE)

C.

R-squared

D.

Time used to train the model

A company has an ML model. The company wants to know how the model makes predictions. Which term refers to understanding model predictions?

A.

Model interpretability

B.

Model training

C.

Model interoperability

D.

Model performance

A company has documents that are missing some words because of a database error. The company wants to build an ML model that can suggest potential words to fill in the missing text.

Which type of model meets this requirement?

A.

Topic modeling

B.

Clustering models

C.

Prescriptive ML models

D.

BERT-based models

A company is building a chatbot to improve user experience. The company is using a large language model (LLM) from Amazon Bedrock for intent detection. The company wants to use few-shot learning to improve intent detection accuracy.

Which additional data does the company need to meet these requirements?

A.

Pairs of chatbot responses and correct user intents

B.

Pairs of user messages and correct chatbot responses

C.

Pairs of user messages and correct user intents

D.

Pairs of user intents and correct chatbot responses

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.

B.

Add a role description to the prompt context that instructs the model of the age range that the response should target.

C.

Use chain-of-thought reasoning to deduce the correct style and complexity for a response suitable for that user.

D.

Summarize the response text depending on the age of the user so that younger users receive shorter responses.

A company wants to develop a large language model (LLM) application by using Amazon Bedrock and customer data that is uploaded to Amazon S3. The company's security policy states that each team can access data for only the team's own customers.

Which solution will meet these requirements?

A.

Create an Amazon Bedrock custom service role for each team that has access to only the team's customer data.

B.

Create a custom service role that has Amazon S3 access. Ask teams to specify the customer name on each Amazon Bedrock request.

C.

Redact personal data in Amazon S3. Update the S3 bucket policy to allow team access to customer data.

D.

Create one Amazon Bedrock role that has full Amazon S3 access. Create IAM roles for each team that have access to only each team's customer folders.

A bank is building a chatbot to answer customer questions about opening a bank account. The chatbot will use public bank documents to generate responses. The company will use Amazon Bedrock and prompt engineering to improve the chatbot's responses.

Which prompt engineering technique meets these requirements?

A.

Complexity-based prompting

B.

Zero-shot prompting

C.

Few-shot prompting

D.

Directional stimulus prompting

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

B.

Sampling bias

C.

Observer bias

D.

Confirmation bias

A company is building an AI application to summarize books of varying lengths. During testing, the application fails to summarize some books. Why does the application fail to summarize some books?

A.

The temperature is set too high.

B.

The selected model does not support fine-tuning.

C.

The Top P value is too high.

D.

The input tokens exceed the model's context size.