Month End Sale Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Page: 1 / 14
Total 137 questions

AWS Certified AI Practitioner Exam Questions and Answers

Question 1

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?

Options:

A.

Use few-shot prompting to define how the FM can answer the questions.

B.

Use domain adaptation fine-tuning to adapt the FM to complex scientific terms.

C.

Change the FM inference parameters.

D.

Clean the research paper data to remove complex scientific terms.

Question 2

A company wants to create an application by using Amazon Bedrock. The company has a limited budget and prefers flexibility without long-term commitment.

Which Amazon Bedrock pricing model meets these requirements?

Options:

A.

On-Demand

B.

Model customization

C.

Provisioned Throughput

D.

Spot Instance

Question 3

A company deployed a model to production. After 4 months, the model inference quality degraded. The company wants to receive a notification if the model inference quality degrades. The company also wants to ensure that the problem does not happen again.

Which solution will meet these requirements?

Options:

A.

Retrain the model. Monitor model drift by using Amazon SageMaker Clarify.

B.

Retrain the model. Monitor model drift by using Amazon SageMaker Model Monitor.

C.

Build a new model. Monitor model drift by using Amazon SageMaker Feature Store.

D.

Build a new model. Monitor model drift by using Amazon SageMaker JumpStart.

Question 4

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 5

Which option is a benefit of ongoing pre-training when fine-tuning a foundation model (FM)?

Options:

A.

Helps decrease the model's complexity

B.

Improves model performance over time

C.

Decreases the training time requirement

D.

Optimizes model inference time

Question 6

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?

Options:

A.

Provide labeled data with the prompt field and the completion field.

B.

Prepare the training dataset by creating a .txt file that contains multiple lines in .csv format.

C.

Purchase Provisioned Throughput for Amazon Bedrock.

D.

Train the model on journals and textbooks.

Question 7

An AI practitioner is using an Amazon Bedrock base model to summarize session chats from the customer service department. The AI practitioner wants to store invocation logs to monitor model input and output data.

Which strategy should the AI practitioner use?

Options:

A.

Configure AWS CloudTrail as the logs destination for the model.

B.

Enable invocation logging in Amazon Bedrock.

C.

Configure AWS Audit Manager as the logs destination for the model.

D.

Configure model invocation logging in Amazon EventBridge.

Question 8

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.

Question 9

A company wants to use AI to protect its application from threats. The AI solution needs to check if an IP address is from a suspicious source.

Which solution meets these requirements?

Options:

A.

Build a speech recognition system.

B.

Create a natural language processing (NLP) named entity recognition system.

C.

Develop an anomaly detection system.

D.

Create a fraud forecasting system.

Question 10

A company has terabytes of data in a database that the company can use for business analysis. The company wants to build an AI-based application that can build a SQL query from input text that employees provide. The employees have minimal experience with technology.

Which solution meets these requirements?

Options:

A.

Generative pre-trained transformers (GPT)

B.

Residual neural network

C.

Support vector machine

D.

WaveNet

Question 11

A company has a database of petabytes of unstructured data from internal sources. The company wants to transform this data into a structured format so that its data scientists can perform machine learning (ML) tasks.

Which service will meet these requirements?

Options:

A.

Amazon Lex

B.

Amazon Rekognition

C.

Amazon Kinesis Data Streams

D.

AWS Glue

Question 12

A company wants to build an ML model by using Amazon SageMaker. The company needs to share and manage variables for model development across multiple teams.

Which SageMaker feature meets these requirements?

Options:

A.

Amazon SageMaker Feature Store

B.

Amazon SageMaker Data Wrangler

C.

Amazon SageMaker Clarify

D.

Amazon SageMaker Model Cards

Question 13

A company is using a large language model (LLM) on Amazon Bedrock to build a chatbot. The chatbot processes customer support requests. To resolve a request, the customer and the chatbot must interact a few times.

Which solution gives the LLM the ability to use content from previous customer messages?

Options:

A.

Turn on model invocation logging to collect messages.

B.

Add messages to the model prompt.

C.

Use Amazon Personalize to save conversation history.

D.

Use Provisioned Throughput for the LLM.

Question 14

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 15

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

Options:

A.

Amazon Personalize

B.

Amazon SageMaker JumpStart

C.

PartyRock, an Amazon Bedrock Playground

D.

Amazon SageMaker endpoints

Question 16

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 17

A company needs to build its own large language model (LLM) based on only the company's private data. The company is concerned about the environmental effect of the training process.

Which Amazon EC2 instance type has the LEAST environmental effect when training LLMs?

Options:

A.

Amazon EC2 C series

B.

Amazon EC2 G series

C.

Amazon EC2 P series

D.

Amazon EC2 Trn series

Question 18

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 19

A company is using domain-specific models. The company wants to avoid creating new models from the beginning. The company instead wants to adapt pre-trained models to create models for new, related tasks.

Which ML strategy meets these requirements?

Options:

A.

Increase the number of epochs.

B.

Use transfer learning.

C.

Decrease the number of epochs.

D.

Use unsupervised learning.

Question 20

A company wants to assess the costs that are associated with using a large language model (LLM) to generate inferences. The company wants to use Amazon Bedrock to build generative AI applications.

Which factor will drive the inference costs?

Options:

A.

Number of tokens consumed

B.

Temperature value

C.

Amount of data used to train the LLM

D.

Total training time

Question 21

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?

Options:

A.

Bilingual Evaluation Understudy (BLEU)

B.

Root mean squared error (RMSE)

C.

Recall-Oriented Understudy for Gisting Evaluation (ROUGE)

D.

F1 score

Question 22

Which AWS feature records details about ML instance data for governance and reporting?

Options:

A.

Amazon SageMaker Model Cards

B.

Amazon SageMaker Debugger

C.

Amazon SageMaker Model Monitor

D.

Amazon SageMaker JumpStart

Question 23

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 24

A company wants to develop an Al application to help its employees check open customer claims, identify details for a specific claim, and access documents for a claim. Which solution meets these requirements?

Options:

A.

Use Agents for Amazon Bedrock with Amazon Fraud Detector to build the application.

B.

Use Agents for Amazon Bedrock with Amazon Bedrock knowledge bases to build the application.

C.

Use Amazon Personalize with Amazon Bedrock knowledge bases to build the application.

D.

Use Amazon SageMaker AI to build the application by training a new ML model.

Question 25

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 26

A company makes forecasts each quarter to decide how to optimize operations to meet expected demand. The company uses ML models to make these forecasts.

An AI practitioner is writing a report about the trained ML models to provide transparency and explainability to company stakeholders.

What should the AI practitioner include in the report to meet the transparency and explainability requirements?

Options:

A.

Code for model training

B.

Partial dependence plots (PDPs)

C.

Sample data for training

D.

Model convergence tables

Question 27

A company has developed an ML model for image classification. The company wants to deploy the model to production so that a web application can use the model.

The company needs to implement a solution to host the model and serve predictions without managing any of the underlying infrastructure.

Which solution will meet these requirements?

Options:

A.

Use Amazon SageMaker Serverless Inference to deploy the model.

B.

Use Amazon CloudFront to deploy the model.

C.

Use Amazon API Gateway to host the model and serve predictions.

D.

Use AWS Batch to host the model and serve predictions.

Question 28

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 29

Which technique breaks a complex task into smaller subtasks that are sent sequentially to a large language model (LLM)?

Options:

A.

One-shot prompting

B.

Prompt chaining

C.

Tree of thoughts

D.

Retrieval Augmented Generation (RAG)

Question 30

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 31

A company has a foundation model (FM) that was customized by using Amazon Bedrock to answer customer queries about products. The company wants to validate the model's responses to new types of queries. The company needs to upload a new dataset that Amazon Bedrock can use for validation.

Which AWS service meets these requirements?

Options:

A.

Amazon S3

B.

Amazon Elastic Block Store (Amazon EBS)

C.

Amazon Elastic File System (Amazon EFS)

D.

AWS Snowcone

Question 32

A company is building an ML model. The company collected new data and analyzed the data by creating a correlation matrix, calculating statistics, and visualizing the data.

Which stage of the ML pipeline is the company currently in?

Options:

A.

Data pre-processing

B.

Feature engineering

C.

Exploratory data analysis

D.

Hyperparameter tuning

Question 33

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 34

A company is building an ML model to analyze archived data. The company must perform inference on large datasets that are multiple GBs in size. The company does not need to access the model predictions immediately.

Which Amazon SageMaker inference option will meet these requirements?

Options:

A.

Batch transform

B.

Real-time inference

C.

Serverless inference

D.

Asynchronous inference

Question 35

A company has built a chatbot that can respond to natural language questions with images. The company wants to ensure that the chatbot does not return inappropriate or unwanted images.

Which solution will meet these requirements?

Options:

A.

Implement moderation APIs.

B.

Retrain the model with a general public dataset.

C.

Perform model validation.

D.

Automate user feedback integration.

Question 36

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 37

A customer service team is developing an application to analyze customer feedback and automatically classify the feedback into different categories. The categories include product quality, customer service, and delivery experience.

Which AI concept does this scenario present?

Options:

A.

Computer vision

B.

Natural language processing (NLP)

C.

Recommendation systems

D.

Fraud detection

Question 38

How can companies use large language models (LLMs) securely on Amazon Bedrock?

Options:

A.

Design clear and specific prompts. Configure AWS Identity and Access Management (IAM) roles and policies by using least privilege access.

B.

Enable AWS Audit Manager for automatic model evaluation jobs.

C.

Enable Amazon Bedrock automatic model evaluation jobs.

D.

Use Amazon CloudWatch Logs to make models explainable and to monitor for bias.

Question 39

A company wants to build a lead prioritization application for its employees to contact potential customers. The application must give employees the ability to view and adjust the weights assigned to different variables in the model based on domain knowledge and expertise.

Which ML model type meets these requirements?

Options:

A.

Logistic regression model

B.

Deep learning model built on principal components

C.

K-nearest neighbors (k-NN) model

D.

Neural network

Question 40

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 41

A company needs to train an ML model to classify images of different types of animals. The company has a large dataset of labeled images and will not label more data. Which type of learning should the company use to train the model?

Options:

A.

Supervised learning.

B.

Unsupervised learning.

C.

Reinforcement learning.

D.

Active learning.

Page: 1 / 14
Total 137 questions