AIF-C01: AWS Certified AI Practitioner practice questions, page 14 of 22, with answer review and explanations.
Question 66
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?
Create an Amazon Bedrock custom service role for each team that has access to only the team's customer data.
Create a custom service role that has Amazon S3 access. Ask teams to specify the customer name on each Amazon Bedrock request.
Redact personal data in Amazon S3. Update the S3 bucket policy to allow team access to customer data.
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.
Question 67
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?
Use Amazon Macie to scan the model's output for sensitive data and set up alerts for potential violations.
Configure AWS CloudTrail to monitor the model's responses and create alerts for any detected personal information.
Use Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations.
Implement Amazon SageMaker Model Monitor to detect data drift and receive alerts when model quality degrades.
Question 68
A company manually reviews all submitted resumes in PDF format. As the company grows, the company expects the volume of resumes to exceed the company's review capacity. The company needs an automated system to convert the PDF resumes into plain text format for additional processing. Which AWS service meets this requirement?
Amazon Textract
Amazon Personalize
Amazon Lex
Amazon Transcribe
Question 69
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?
Fine-tune the model by using additional training data that is representative of the various age ranges that the application will support.
Add a role description to the prompt context that instructs the model of the age range that the response should target.
Use chain-of-thought reasoning to deduce the correct style and complexity for a response suitable for that user.
Summarize the response text depending on the age of the user so that younger users receive shorter responses.
Question 70
Which strategy evaluates the accuracy of a foundation model (FM) that is used in image classification tasks?
Calculate the total cost of resources used by the model.
Measure the model's accuracy against a predefined benchmark dataset.
Count the number of layers in the neural network.
Assess the color accuracy of images processed by the model.