Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: myex65

Home > Amazon Web Services > AWS Certified AI Practitioner > AIF-C01

AIF-C01 AWS Certified AI Practitioner Exam Question and Answers

Question # 4

A social media company wants to use a large language model (LLM) to summarize messages. The company has chosen a few LLMs that are available on Amazon SageMaker JumpStart. The company wants to compare the generated output toxicity of these models.

Which strategy gives the company the ability to evaluate the LLMs with the LEAST operational overhead?

A.

Crowd-sourced evaluation

B.

Automatic model evaluation

C.

Model evaluation with human workers

D.

Reinforcement learning from human feedback (RLHF)

Full Access
Question # 5

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.

B.

Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.

C.

Provide the new text passage to be classified without any additional context or examples.

D.

Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.

Full Access
Question # 6

A financial institution is using Amazon Bedrock to develop an AI application. The application is hosted in a VPC. To meet regulatory compliance standards, the VPC is not allowed access to any internet traffic.

Which AWS service or feature will meet these requirements?

A.

AWS PrivateLink

B.

Amazon Macie

C.

Amazon CloudFront

D.

Internet gateway

Full Access
Question # 7

A digital devices company wants to predict customer demand for memory hardware. The company does not have coding experience or knowledge of ML algorithms and needs to develop a data-driven predictive model. The company needs to perform analysis on internal data and external data.

Which solution will meet these requirements?

A.

Store the data in Amazon S3. Create ML models and demand forecast predictions by using Amazon SageMaker built-in algorithms that use the data from Amazon S3.

B.

Import the data into Amazon SageMaker Data Wrangler. Create ML models and demand forecast predictions by using SageMaker built-in algorithms.

C.

Import the data into Amazon SageMaker Data Wrangler. Build ML models and demand forecast predictions by using an Amazon Personalize Trending-Now recipe.

D.

Import the data into Amazon SageMaker Canvas. Build ML models and demand forecast predictions by selecting the values in the data from SageMaker Canvas.

Full Access
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?

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.

Full Access
Question # 9

A company wants to create a new solution by using AWS Glue. The company has minimal programming experience with AWS Glue.

Which AWS service can help the company use AWS Glue?

A.

Amazon Q Developer

B.

AWS Config

C.

Amazon Personalize

D.

Amazon Comprehend

Full Access
Question # 10

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?

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.

Full Access
Question # 11

A company wants to improve the accuracy of the responses from a generative AI application. The application uses a foundation model (FM) on Amazon Bedrock.

Which solution meets these requirements MOST cost-effectively?

A.

Fine-tune the FM.

B.

Retrain the FM.

C.

Train a new FM.

D.

Use prompt engineering.

Full Access
Question # 12

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?

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.

Full Access
Question # 13

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

Full Access
Question # 14

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?

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.

Full Access
Question # 15

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?

A.

Text data

B.

Image data

C.

Time series data

D.

Binary data

Full Access
Question # 16

A pharmaceutical company wants to analyze user reviews of new medications and provide a concise overview for each medication. Which solution meets these requirements?

A.

Create a time-series forecasting model to analyze the medication reviews by using Amazon Personalize.

B.

Create medication review summaries by using Amazon Bedrock large language models (LLMs).

C.

Create a classification model that categorizes medications into different groups by using Amazon SageMaker.

D.

Create medication review summaries by using Amazon Rekognition.

Full Access
Question # 17

An AI practitioner is developing a prompt for an Amazon Titan model. The model is hosted on Amazon Bedrock. The AI practitioner is using the model to solve numerical reasoning challenges. The AI practitioner adds the following phrase to the end of the prompt: "Ask the model to show its work by explaining its reasoning step by step."

Which prompt engineering technique is the AI practitioner using?

A.

Chain-of-thought prompting

B.

Prompt injection

C.

Few-shot prompting

D.

Prompt templating

Full Access
Question # 18

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?

A.

Data pre-processing

B.

Feature engineering

C.

Exploratory data analysis

D.

Hyperparameter tuning

Full Access
Question # 19

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

A.

Amazon Q Developer

B.

Amazon Bedrock

C.

Amazon Kendra

D.

Amazon Comprehend

Full Access
Question # 20

An ML research team develops custom ML models. The model artifacts are shared with other teams for integration into products and services. The ML team retains the model training code and data. The ML team wants to builk a mechanism that the ML team can use to audit models.

Which solution should the ML team use when publishing the custom ML models?

A.

Create documents with the relevant information. Store the documents in Amazon S3.

B.

Use AWS A] Service Cards for transparency and understanding models.

C.

Create Amazon SageMaker Model Cards with Intended uses and training and inference details.

D.

Create model training scripts. Commit the model training scripts to a Git repository.

Full Access
Question # 21

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

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.

Full Access
Question # 22

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.)

A.

Auto scaling inference endpoints

B.

Threat detection

C.

Data protection

D.

Cost optimization

E.

Loosely coupled microservices

Full Access
Question # 23

In which stage of the generative AI model lifecycle are tests performed to examine the model's accuracy?

A.

Deployment

B.

Data selection

C.

Fine-tuning

D.

Evaluation

Full Access
Question # 24

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?

A.

On-Demand

B.

Model customization

C.

Provisioned Throughput

D.

Spot Instance

Full Access
Question # 25

A company is building a solution to generate images for protective eyewear. The solution must have high accuracy and must minimize the risk of incorrect annotations.

Which solution will meet these requirements?

A.

Human-in-the-loop validation by using Amazon SageMaker Ground Truth Plus

B.

Data augmentation by using an Amazon Bedrock knowledge base

C.

Image recognition by using Amazon Rekognition

D.

Data summarization by using Amazon QuickSight

Full Access
Question # 26

Which option describes embeddings in the context of AI?

A.

A method for compressing large datasets

B.

An encryption method for securing sensitive data

C.

A method for visualizing high-dimensional data

D.

A numerical method for data representation in a reduced dimensionality space

Full Access
Question # 27

Which functionality does Amazon SageMaker Clarify provide?

A.

Integrates a Retrieval Augmented Generation (RAG) workflow

B.

Monitors the quality of ML models in production

C.

Documents critical details about ML models

D.

Identifies potential bias during data preparation

Full Access
Question # 28

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?

A.

Amazon S3

B.

Amazon Elastic Block Store (Amazon EBS)

C.

Amazon Elastic File System (Amazon EFS)

D.

AWS Snowcone

Full Access
Question # 29

A company built a deep learning model for object detection and deployed the model to production.

Which AI process occurs when the model analyzes a new image to identify objects?

A.

Training

B.

Inference

C.

Model deployment

D.

Bias correction

Full Access
Question # 30

A media company wants to analyze viewer behavior and demographics to recommend personalized content. The company wants to deploy a customized ML model in its production environment. The company also wants to observe if the model quality drifts over time.

Which AWS service or feature meets these requirements?

A.

Amazon Rekognition

B.

Amazon SageMaker Clarify

C.

Amazon Comprehend

D.

Amazon SageMaker Model Monitor

Full Access
Question # 31

A company wants to develop ML applications to improve business operations and efficiency.

Select the correct ML paradigm from the following list for each use case. Each ML paradigm should be selected one or more times. (Select FOUR.)

• Supervised learning

• Unsupervised learning

Full Access
Question # 32

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?

A.

Explainability

B.

Privacy and security

C.

Fairness

D.

Data governance

Full Access
Question # 33

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.

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.

Full Access
Question # 34

A company is implementing the Amazon Titan foundation model (FM) by using Amazon Bedrock. The company needs to supplement the model by using relevant data from the company's private data sources.

Which solution will meet this requirement?

A.

Use a different FM

B.

Choose a lower temperature value

C.

Create an Amazon Bedrock knowledge base

D.

Enable model invocation logging

Full Access
Question # 35

Which scenario represents a practical use case for generative AI?

A.

Using an ML model to forecast product demand

B.

Employing a chatbot to provide human-like responses to customer queries in real time

C.

Using an analytics dashboard to track website traffic and user behavior

D.

Implementing a rule-based recommendation engine to suggest products to customers

Full Access
Question # 36

Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?

A.

Integration with Amazon S3 for object storage

B.

Support for geospatial indexing and queries

C.

Scalable index management and nearest neighbor search capability

D.

Ability to perform real-time analysis on streaming data

Full Access
Question # 37

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

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.

Full Access
Question # 38

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?

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.

Full Access
Question # 39

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?

A.

Supervised learning.

B.

Unsupervised learning.

C.

Reinforcement learning.

D.

Active learning.

Full Access
Question # 40

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?

A.

Increase the number of epochs.

B.

Use transfer learning.

C.

Decrease the number of epochs.

D.

Use unsupervised learning.

Full Access
Question # 41

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?

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.

Full Access
Question # 42

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

Full Access
Question # 43

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?

A.

Amazon Lex

B.

Amazon Comprehend

C.

Amazon Transcribe

D.

Amazon Translate

Full Access
Question # 44

Why does overfilting occur in ML models?

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.

Full Access
Question # 45

An AI company periodically evaluates its systems and processes with the help of independent software vendors (ISVs). The company needs to receive email message notifications when an ISV's compliance reports become available.

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

A.

AWS Audit Manager

B.

AWS Artifact

C.

AWS Trusted Advisor

D.

AWS Data Exchange

Full Access
Question # 46

A student at a university is copying content from generative AI to write essays.

Which challenge of responsible generative AI does this scenario represent?

A.

Toxicity

B.

Hallucinations

C.

Plagiarism

D.

Privacy

Full Access
Question # 47

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.

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.

Full Access
Question # 48

A publishing company built a Retrieval Augmented Generation (RAG) based solution to give its users the ability to interact with published content. New content is published daily. The company wants to provide a near real-time experience to users.

Which steps in the RAG pipeline should the company implement by using offline batch processing to meet these requirements? (Select TWO.)

A.

Generation of content embeddings

B.

Generation of embeddings for user queries

C.

Creation of the search index

D.

Retrieval of relevant content

E.

Response generation for the user

Full Access
Question # 49

A company needs to choose a model from Amazon Bedrock to use internally. The company must identify a model that generates responses in a style that the company's employees prefer.

What should the company do to meet these requirements?

A.

Evaluate the models by using built-in prompt datasets.

B.

Evaluate the models by using a human workforce and custom prompt datasets.

C.

Use public model leaderboards to identify the model.

D.

Use the model InvocationLatency runtime metrics in Amazon CloudWatch when trying models.

Full Access
Question # 50

Which strategy evaluates the accuracy of a foundation model (FM) that is used in image classification tasks?

A.

Calculate the total cost of resources used by the model.

B.

Measure the model's accuracy against a predefined benchmark dataset.

C.

Count the number of layers in the neural network.

D.

Assess the color accuracy of images processed by the model.

Full Access
Question # 51

A company wants to use language models to create an application for inference on edge devices. The inference must have the lowest latency possible.

Which solution will meet these requirements?

A.

Deploy optimized small language models (SLMs) on edge devices.

B.

Deploy optimized large language models (LLMs) on edge devices.

C.

Incorporate a centralized small language model (SLM) API for asynchronous communication with edge devices.

D.

Incorporate a centralized large language model (LLM) API for asynchronous communication with edge devices.

Full Access
Question # 52

An AI practitioner needs to improve the accuracy of a natural language generation model. The model uses rapidly changing inventory data.

Which technique will improve the model's accuracy?

A.

Transfer learning

B.

Federated learning

C.

Retrieval Augmented Generation (RAG)

D.

One-shot prompting

Full Access
Question # 53

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

B.

Amazon SageMaker JumpStart

C.

PartyRock, an Amazon Bedrock Playground

D.

Amazon SageMaker endpoints

Full Access