Summer Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

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

Page: 1 / 15
Total 150 questions

AWS Certified AI Practitioner Exam Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$43.75  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$38.5  $109.99
Question 1

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?

Options:

A.

Use Amazon Macie to scan the model's output for sensitive data and set up alerts for potential violations.

B.

Configure AWS CloudTrail to monitor the model's responses and create alerts for any detected personal information.

C.

Use Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations.

D.

Implement Amazon SageMaker Model Monitor to detect data drift and receive alerts when model quality degrades.

Question 2

A company is using Amazon SageMaker Studio notebooks to build and train ML models. The company stores the data in an Amazon S3 bucket. The company needs to manage the flow of data from Amazon S3 to SageMaker Studio notebooks.

Which solution will meet this requirement?

Options:

A.

Use Amazon Inspector to monitor SageMaker Studio.

B.

Use Amazon Macie to monitor SageMaker Studio.

C.

Configure SageMaker to use a VPC with an S3 endpoint.

D.

Configure SageMaker to use S3 Glacier Deep Archive.

Question 3

A company has thousands of customer support interactions per day and wants to analyze these interactions to identify frequently asked questions and develop insights.

Which AWS service can the company use to meet this requirement?

Options:

A.

Amazon Lex

B.

Amazon Comprehend

C.

Amazon Transcribe

D.

Amazon Translate

Question 4

A company wants to create a chatbot by using a foundation model (FM) on Amazon Bedrock. The FM needs to access encrypted data that is stored in an Amazon S3 bucket.

The data is encrypted with Amazon S3 managed keys (SSE-S3).

The FM encounters a failure when attempting to access the S3 bucket data.

Which solution will meet these requirements?

Options:

A.

Ensure that the role that Amazon Bedrock assumes has permission to decrypt data with the correct encryption key.

B.

Set the access permissions for the S3 buckets to allow public access to enable access over the internet.

C.

Use prompt engineering techniques to tell the model to look for information in Amazon S3.

D.

Ensure that the S3 data does not contain sensitive information.

Question 5

A retail store wants to predict the demand for a specific product for the next few weeks by using the Amazon SageMaker DeepAR forecasting algorithm.

Which type of data will meet this requirement?

Options:

A.

Text data

B.

Image data

C.

Time series data

D.

Binary data

Question 6

A medical company wants to develop an AI application that can access structured patient records, extract relevant information, and generate concise summaries.

Which solution will meet these requirements?

Options:

A.

Use Amazon Comprehend Medical to extract relevant medical entities and relationships. Apply rule-based logic to structure and format summaries.

B.

Use Amazon Personalize to analyze patient engagement patterns. Integrate the output with a general purpose text summarization tool.

C.

Use Amazon Textract to convert scanned documents into digital text. Design a keyword extraction system to generate summaries.

D.

Implement Amazon Kendra to provide a searchable index for medical records. Use a template-based system to format summaries.

Question 7

A company wants to use a pre-trained generative AI model to generate content for its marketing campaigns. The company needs to ensure that the generated content aligns with the company's brand voice and messaging requirements.

Which solution meets these requirements?

Options:

A.

Optimize the model's architecture and hyperparameters to improve the model's overall performance.

B.

Increase the model's complexity by adding more layers to the model's architecture.

C.

Create effective prompts that provide clear instructions and context to guide the model's generation.

D.

Select a large, diverse dataset to pre-train a new generative model.

Question 8

What are tokens in the context of generative AI models?

Options:

A.

Tokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units.

B.

Tokens are the mathematical representations of words or concepts used in generative AI models.

C.

Tokens are the pre-trained weights of a generative AI model that are fine-tuned for specific tasks.

D.

Tokens are the specific prompts or instructions given to a generative AI model to generate output.

Question 9

A bank has fine-tuned a large language model (LLM) to expedite the loan approval process. During an external audit of the model, the company discovered that the model was approving loans at a faster pace for a specific demographic than for other demographics.

How should the bank fix this issue MOST cost-effectively?

Options:

A.

Include more diverse training data. Fine-tune the model again by using the new data.

B.

Use Retrieval Augmented Generation (RAG) with the fine-tuned model.

C.

Use AWS Trusted Advisor checks to eliminate bias.

D.

Pre-train a new LLM with more diverse training data.

Question 10

A company wants to collaborate with several research institutes to develop an AI model. The company needs standardized documentation of model version tracking and a record of model development.

Which solution meets these requirements?

Options:

A.

Track the model changes by using Git.

B.

Track the model changes by using Amazon Fraud Detector.

C.

Track the model changes by using Amazon SageMaker Model Cards.

D.

Track the model changes by using Amazon Comprehend.

Question 11

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?

Options:

A.

Amazon Bedrock Guardrails

B.

Amazon Bedrock Agents

C.

Amazon Bedrock inference APIs

D.

Amazon Bedrock custom models

Question 12

A company is building a large language model (LLM) question answering chatbot. The company wants to decrease the number of actions call center employees need to take to respond to customer questions.

Which business objective should the company use to evaluate the effect of the LLM chatbot?

Options:

A.

Website engagement rate

B.

Average call duration

C.

Corporate social responsibility

D.

Regulatory compliance

Question 13

Which type of AI model makes numeric predictions?

Options:

A.

Diffusion

B.

Regression

C.

Transformer

D.

Multi-modal

Question 14

Which AW5 service makes foundation models (FMs) available to help users build and scale generative AI applications?

Options:

A.

Amazon Q Developer

B.

Amazon Bedrock

C.

Amazon Kendra

D.

Amazon Comprehend

Question 15

A company is building a customer service chatbot. The company wants the chatbot to improve its responses by learning from past interactions and online resources.

Which AI learning strategy provides this self-improvement capability?

Options:

A.

Supervised learning with a manually curated dataset of good responses and bad responses

B.

Reinforcement learning with rewards for positive customer feedback

C.

Unsupervised learning to find clusters of similar customer inquiries

D.

Supervised learning with a continuously updated FAQ database

Question 16

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?

Options:

A.

Amazon Textract

B.

Amazon Personalize

C.

Amazon Lex

D.

Amazon Transcribe

Question 17

A software company wants to use a large language model (LLM) for workflow automation. The application will transform user messages into JSON files. The company will use the JSON files as inputs for data pipelines.

The company has a labeled dataset that contains user messages and output JSON files.

Which solution will train the LLM for workflow automation?

Options:

A.

Unsupervised learning

B.

Continued pre-training

C.

Fine-tuning

D.

Reinforcement learning from human feedback (RLHF)

Question 18

An AI practitioner has built a deep learning model to classify the types of materials in images. The AI practitioner now wants to measure the model performance.

Which metric will help the AI practitioner evaluate the performance of the model?

Options:

A.

Confusion matrix

B.

Correlation matrix

C.

R2 score

D.

Mean squared error (MSE)

Question 19

A company wants to enhance response quality for a large language model (LLM) for complex problem-solving tasks. The tasks require detailed reasoning and a step-by-step explanation process.

Which prompt engineering technique meets these requirements?

Options:

A.

Few-shot prompting

B.

Zero-shot prompting

C.

Directional stimulus prompting

D.

Chain-of-thought prompting

Question 20

A hospital developed an AI system to provide personalized treatment recommendations for patients. The AI system must provide the rationale behind the recommendations and make the insights accessible to doctors and patients.

Which human-centered design principle does this scenario present?

Options:

A.

Explainability

B.

Privacy and security

C.

Fairness

D.

Data governance

Question 21

A financial company is using ML to help with some of the company's tasks.

Which option is a use of generative AI models?

Options:

A.

Summarizing customer complaints

B.

Classifying customers based on product usage

C.

Segmenting customers based on type of investments

D.

Forecasting revenue for certain products

Question 22

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?

Options:

A.

Measurement bias

B.

Sampling bias

C.

Observer bias

D.

Confirmation bias

Question 23

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?

Options:

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.

Question 24

A company has built an image classification model to predict plant diseases from photos of plant leaves. The company wants to evaluate how many images the model classified correctly.

Which evaluation metric should the company use to measure the model's performance?

Options:

A.

R-squared score

B.

Accuracy

C.

Root mean squared error (RMSE)

D.

Learning rate

Question 25

A financial company has offices in different countries worldwide. The company requires that all API calls between generative AI applications and foundation models (FM) must not travel across the public internet.

Which AWS service should the company use?

Options:

A.

AWS PrivateLink

B.

Amazon Q

C.

Amazon CloudFront

D.

AWS CloudTrail

Question 26

A company wants to deploy a conversational chatbot to answer customer questions. The chatbot is based on a fine-tuned Amazon SageMaker JumpStart model. The application must comply with multiple regulatory frameworks.

Which capabilities can the company show compliance for? (Select TWO.)

Options:

A.

Auto scaling inference endpoints

B.

Threat detection

C.

Data protection

D.

Cost optimization

E.

Loosely coupled microservices

Question 27

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?

Options:

A.

Data leakage

B.

Hallucination

C.

Overfitting

D.

Underfitting

Question 28

Which option is a characteristic of AI governance frameworks for building trust and deploying human-centered AI technologies?

Options:

A.

Expanding initiatives across business units to create long-term business value

B.

Ensuring alignment with business standards, revenue goals, and stakeholder expectations

C.

Overcoming challenges to drive business transformation and growth

D.

Developing policies and guidelines for data, transparency, responsible AI, and compliance\

Question 29

A company that uses multiple ML models wants to identify changes in original model quality so that the company can resolve any issues.

Which AWS service or feature meets these requirements?

Options:

A.

Amazon SageMaker JumpStart

B.

Amazon SageMaker HyperPod

C.

Amazon SageMaker Data Wrangler

D.

Amazon SageMaker Model Monitor

Question 30

A financial company is developing a fraud detection system that flags potential fraud cases in credit card transactions. Employees will evaluate the flagged fraud cases. The company wants to minimize the amount of time the employees spend reviewing flagged fraud cases that are not actually fraudulent.

Which evaluation metric meets these requirements?

Options:

A.

Recall

B.

Accuracy

C.

Precision

D.

Lift chart

Question 31

A company wants to keep its foundation model (FM) relevant by using the most recent data. The company wants to implement a model training strategy that includes regular updates to the FM.

Which solution meets these requirements?

Options:

A.

Batch learning

B.

Continuous pre-training

C.

Static training

D.

Latent training

Question 32

A company wants to build and deploy ML models on AWS without writing any code.

Which AWS service or feature meets these requirements?

Options:

A.

Amazon SageMaker Canvas

B.

Amazon Rekognition

C.

AWS DeepRacer

D.

Amazon Comprehend

Question 33

A manufacturing company wants to create product descriptions in multiple languages.

Which AWS service will automate this task?

Options:

A.

Amazon Translate

B.

Amazon Transcribe

C.

Amazon Kendra

D.

Amazon Polly

Question 34

A company is developing an ML model to make loan approvals. The company must implement a solution to detect bias in the model. The company must also be able to explain the model's predictions.

Which solution will meet these requirements?

Options:

A.

Amazon SageMaker Clarify

B.

Amazon SageMaker Data Wrangler

C.

Amazon SageMaker Model Cards

D.

AWS AI Service Cards

Question 35

A company is using the Generative AI Security Scoping Matrix to assess security responsibilities for its solutions. The company has identified four different solution scopes based on the matrix.

Which solution scope gives the company the MOST ownership of security responsibilities?

Options:

A.

Using a third-party enterprise application that has embedded generative AI features.

B.

Building an application by using an existing third-party generative AI foundation model (FM).

C.

Refining an existing third-party generative AI foundation model (FM) by fine-tuning the model by using data specific to the business.

D.

Building and training a generative AI model from scratch by using specific data that a customer owns.

Question 36

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?

Options:

A.

Topic modeling

B.

Clustering models

C.

Prescriptive ML models

D.

BERT-based models

Question 37

A company is using an Amazon Bedrock base model to summarize documents for an internal use case. The company trained a custom model to improve the summarization quality.

Which action must the company take to use the custom model through Amazon Bedrock?

Options:

A.

Purchase Provisioned Throughput for the custom model.

B.

Deploy the custom model in an Amazon SageMaker endpoint for real-time inference.

C.

Register the model with the Amazon SageMaker Model Registry.

D.

Grant access to the custom model in Amazon Bedrock.

Question 38

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?

Options:

A.

Adjust the prompt.

B.

Choose an LLM of a different size.

C.

Increase the temperature.

D.

Increase the Top K value.

Question 39

A company wants to use generative AI to increase developer productivity and software development. The company wants to use Amazon Q Developer.

What can Amazon Q Developer do to help the company meet these requirements?

Options:

A.

Create software snippets, reference tracking, and open-source license tracking.

B.

Run an application without provisioning or managing servers.

C.

Enable voice commands for coding and providing natural language search.

D.

Convert audio files to text documents by using ML models.

Question 40

An AI practitioner is building a model to generate images of humans in various professions. The AI practitioner discovered that the input data is biased and that specific attributes affect the image generation and create bias in the model.

Which technique will solve the problem?

Options:

A.

Data augmentation for imbalanced classes

B.

Model monitoring for class distribution

C.

Retrieval Augmented Generation (RAG)

D.

Watermark detection for images

Question 41

A financial company uses a generative AI model to assign credit limits to new customers. The company wants to make the decision-making process of the model more transparent to its customers.

Options:

A.

Use a rule-based system instead of an ML model.

B.

Apply explainable AI techniques to show customers which factors influenced the model's decision.

C.

Develop an interactive UI for customers and provide clear technical explanations about the system.

D.

Increase the accuracy of the model to reduce the need for transparency.

Question 42

An ecommerce company is using a chatbot to automate the customer order submission process. The chatbot is powered by AI and Is available to customers directly from the company's website 24 hours a day, 7 days a week.

Which option is an AI system input vulnerability that the company needs to resolve before the chatbot is made available?

Options:

A.

Data leakage

B.

Prompt injection

C.

Large language model (LLM) hallucinations

D.

Concept drift

Question 43

Why does overfilting occur in ML models?

Options:

A.

The training dataset does not reptesent all possible input values.

B.

The model contains a regularization method.

C.

The model training stops early because of an early stopping criterion.

D.

The training dataset contains too many features.

Question 44

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company wants to know how much information can fit into one prompt.

Which consideration will inform the company's decision?

Options:

A.

Temperature

B.

Context window

C.

Batch size

D.

Model size

Question 45

A company wants to use a large language model (LLM) to develop a conversational agent. The company needs to prevent the LLM from being manipulated with common prompt engineering techniques to perform undesirable actions or expose sensitive information.

Which action will reduce these risks?

Options:

A.

Create a prompt template that teaches the LLM to detect attack patterns.

B.

Increase the temperature parameter on invocation requests to the LLM.

C.

Avoid using LLMs that are not listed in Amazon SageMaker.

D.

Decrease the number of input tokens on invocations of the LLM.

Question 46

A company is building a contact center application and wants to gain insights from customer conversations. The company wants to analyze and extract key information from the audio of the customer calls.

Which solution meets these requirements?

Options:

A.

Build a conversational chatbot by using Amazon Lex.

B.

Transcribe call recordings by using Amazon Transcribe.

C.

Extract information from call recordings by using Amazon SageMaker Model Monitor.

D.

Create classification labels by using Amazon Comprehend.

Question 47

A company wants to develop a solution that uses generative AI to create content for product advertisements, Including sample images and slogans.

Select the correct model type from the following list for each action. Each model type should be selected one time. (Select THREE.)

• Diffusion model

• Object detection model

• Transformer-based model

Options:

Question 48

A company wants to fine-tune an ML model that is hosted on Amazon Bedrock. The company wants to use its own sensitive data that is stored in private databases in a VPC. The data needs to stay within the company's private network.

Which solution will meet these requirements?

Options:

A.

Restrict access to Amazon Bedrock by using an AWS Identity and Access Management (IAM) service role.

B.

Restrict access to Amazon Bedrock by using an AWS Identity and Access Management (IAM) resource policy.

C.

Use AWS PrivateLink to connect the VPC and Amazon Bedrock.

D.

Use AWS Key Management Service (AWS KMS) keys to encrypt the data.

Question 49

A company is using a pre-trained large language model (LLM) to extract information from documents. The company noticed that a newer LLM from a different provider is available on Amazon Bedrock. The company wants to transition to the new LLM on Amazon Bedrock.

What does the company need to do to transition to the new LLM?

Options:

A.

Create a new labeled dataset

B.

Perform feature engineering.

C.

Adjust the prompt template.

D.

Fine-tune the LLM.

Question 50

A food service company wants to develop an ML model to help decrease daily food waste and increase sales revenue. The company needs to continuously improve the model's accuracy.

Which solution meets these requirements?

Options:

A.

Use Amazon SageMaker AI and iterate with the most recent data.

B.

Use Amazon Personalize and iterate with historical data.

C.

Use Amazon CloudWatch to analyze customer orders.

D.

Use Amazon Rekognition to optimize the model.

Question 51

What does an F1 score measure in the context of foundation model (FM) performance?

Options:

A.

Model precision and recall

B.

Model speed in generating responses

C.

Financial cost of operating the model

D.

Energy efficiency of the model's computations

Question 52

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?

Options:

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

Question 53

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?

Options:

A.

Customize the model by using fine-tuning.

B.

Decrease the number of tokens in the prompt.

C.

Increase the number of tokens in the prompt.

D.

Use Provisioned Throughput.

Page: 1 / 15
Total 150 questions