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

An airline company wants to build a conversational AI assistant to answer customer questions about flight schedules, booking, and payments. The company wants to use large language models (LLMs) and a knowledge base to create a text-based chatbot interface.

Which solution will meet these requirements with the LEAST development effort?

A.

Train models on Amazon SageMaker Autopilot.

B.

Develop a Retrieval Augmented Generation (RAG) agent by using Amazon Bedrock.

C.

Create a Python application by using Amazon Q Developer.

D.

Fine-tune models on Amazon SageMaker Jumpstart.

Full Access
Question # 5

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

A.

One-shot prompting

B.

Prompt chaining

C.

Tree of thoughts

D.

Retrieval Augmented Generation (RAG)

Full Access
Question # 6

A hospital is developing an AI system to assist doctors in diagnosing diseases based on patient records and medical images. To comply with regulations, the sensitive patient data must not leave the country the data is located in.

Which data governance strategy will ensure compliance and protect patient privacy?

A.

Data residency

B.

Data quality

C.

Data discoverability

D.

Data enrichment

Full Access
Question # 7

A company is building an application that needs to generate synthetic data that is based on existing data.

Which type of model can the company use to meet this requirement?

A.

Generative adversarial network (GAN)

B.

XGBoost

C.

Residual neural network

D.

WaveNet

Full Access
Question # 8

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 # 9

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?

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

Full Access
Question # 10

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 # 11

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?

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.

Full Access
Question # 12

An online learning company with large volumes of educational materials wants to use enterprise search. Which AWS service meets these requirements?

A.

Amazon Comprehend

B.

Amazon Textract

C.

Amazon Kendra

D.

Amazon Personalize

Full Access
Question # 13

A company is creating a model to label credit card transactions. The company has a large volume of sample transaction data to train the model. Most of the transaction data is unlabeled. The data does not contain confidential information. The company needs to obtain labeled sample data to fine-tune the model.

A.

Run batch inference jobs on the unlabeled data

B.

Run an Amazon SageMaker AI training job that uses the PyTorch Distributed library to label data

C.

Use an Amazon SageMaker Ground Truth labeling job with Amazon Mechanical Turk workers

D.

Use an optical character recognition model trained on labeled samples to label unlabeled samples

E.

Run an Amazon SageMaker AI labeling job

Full Access
Question # 14

A company is deploying AI/ML models by using AWS services. The company wants to offer transparency into the models' decision-making processes and provide explanations for the model outputs.

A.

Amazon SageMaker Model Cards

B.

Amazon Rekognition

C.

Amazon Comprehend

D.

Amazon Lex

Full Access
Question # 15

Which option is a benefit of using Amazon SageMaker Model Cards to document AI models?

A.

Providing a visually appealing summary of a model's capabilities.

B.

Standardizing information about a model's purpose, performance, and limitations.

C.

Reducing the overall computational requirements of a model.

D.

Physically storing models for archival purposes.

Full Access
Question # 16

HOTSPOT

Select the correct AI term from the following list for each statement. Each AI term should be selected one time. (Select THREE.)

• AI

• Deep learning

• ML

Full Access
Question # 17

What does inference refer to in the context of AI?

A.

The process of creating new AI algorithms

B.

The use of a trained model to make predictions or decisions on unseen data

C.

The process of combining multiple AI models into one model

D.

The method of collecting training data for AI systems

Full Access
Question # 18

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?

A.

Create a new labeled dataset

B.

Perform feature engineering.

C.

Adjust the prompt template.

D.

Fine-tune the LLM.

Full Access
Question # 19

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 # 20

HOTSPOT

A company is training its employees on how to structure prompts for foundation models.

Select the correct prompt engineering technique from the following list for each prompt template. Each prompt engineering technique should be selected onetime. (SelectTHREE.)

• Chain-of-thought reasoning

• Few-shot learning

• Zero-shot learning

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 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 # 23

A company wants to extract key insights from large policy documents to increase employee efficiency.

A.

Regression

B.

Clustering

C.

Summarization

D.

Classification

Full Access
Question # 24

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?

A.

Amazon SageMaker Clarify

B.

Amazon SageMaker Data Wrangler

C.

Amazon SageMaker Model Cards

D.

AWS AI Service Cards

Full Access
Question # 25

Which phase of the ML lifecycle determines compliance and regulatory requirements?

A.

Feature engineering

B.

Model training

C.

Data collection

D.

Business goal identification

Full Access
Question # 26

Which type of AI model makes numeric predictions?

A.

Diffusion

B.

Regression

C.

Transformer

D.

Multi-modal

Full Access
Question # 27

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?

A.

Data leakage

B.

Prompt injection

C.

Large language model (LLM) hallucinations

D.

Concept drift

Full Access
Question # 28

A law firm wants to build an AI application by using large language models (LLMs). The application will read legal documents and extract key points from the documents.

Which solution meets these requirements?

A.

Build an automatic named entity recognition system.

B.

Create a recommendation engine.

C.

Develop a summarization chatbot.

D.

Develop a multi-language translation system.

Full Access
Question # 29

A company wants to display the total sales for its top-selling products across various retail locations in the past 12 months.

Which AWS solution should the company use to automate the generation of graphs?

A.

Amazon Q in Amazon EC2

B.

Amazon Q Developer

C.

Amazon Q in Amazon QuickSight

D.

Amazon Q in AWS Chatbot

Full Access
Question # 30

A retail company is tagging its product inventory. A tag is automatically assigned to each product based on the product description. The company created one product category by using a large language model (LLM) on Amazon Bedrock in few-shot learning mode.

The company collected a labeled dataset and wants to scale the solution to all product categories.

Which solution meets these requirements?

A.

Use prompt engineering with zero-shot learning.

B.

Use prompt engineering with prompt templates.

C.

Customize the model with continued pre-training.

D.

Customize the model with fine-tuning.

Full Access
Question # 31

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 # 32

A company needs to log all requests made to its Amazon Bedrock API. The company must retain the logs securely for 5 years at the lowest possible cost.

Which combination of AWS service and storage class meets these requirements? (Select TWO.)

A.

AWS CloudTrail

B.

Amazon CloudWatch

C.

AWS Audit Manager

D.

Amazon S3 Intelligent-Tiering

E.

Amazon S3 Standard

Full Access
Question # 33

A company has developed an ML model to predict real estate sale prices. The company wants to deploy the model to make predictions without managing servers or infrastructure.

Which solution meets these requirements?

A.

Deploy the model on an Amazon EC2 instance.

B.

Deploy the model on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster.

C.

Deploy the model by using Amazon CloudFront with an Amazon S3 integration.

D.

Deploy the model by using an Amazon SageMaker AI endpoint.

Full Access
Question # 34

A company uses Amazon SageMaker for its ML pipeline in a production environment. The company has large input data sizes up to 1 GB and processing times up to 1 hour. The company needs near real-time latency.

Which SageMaker inference option meets these requirements?

A.

Real-time inference

B.

Serverless inference

C.

Asynchronous inference

D.

Batch transform

Full Access
Question # 35

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 # 36

A company wants to learn about generative AI applications in an experimental environment. Which solution will meet this requirement MOST cost-effectively?

A.

Amazon Q Developer

B.

Amazon SageMaker JumpStart

C.

Amazon Bedrock PartyRock

D.

Amazon Q Business

Full Access
Question # 37

An AI practitioner has trained a model on a training dataset. The model performs well on the training data. However, the model does not perform well on evaluation data. What is the MOST likely cause of this issue?

A.

The model is underfit.

B.

The model requires prompt engineering.

C.

The model is biased.

D.

The model is overfit.

Full Access
Question # 38

What are tokens in the context of generative AI models?

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.

Full Access
Question # 39

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?

A.

Amazon EC2 C series

B.

Amazon EC2 G series

C.

Amazon EC2 P series

D.

Amazon EC2 Trn series

Full Access
Question # 40

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?

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.

Full Access
Question # 41

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?

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.

Full Access
Question # 42

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 # 43

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 # 44

A company is testing the security of a foundation model (FM). During testing, the company wants to get around the safety features and make harmful content.

A.

Fuzzing training data to find vulnerabilities

B.

Denial of service (DoS)

C.

Penetration testing with authorization

D.

Jailbreak

Full Access
Question # 45

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 # 46

A company wants to set up private access to Amazon Bedrock APIs from the company's AWS account. The company also wants to protect its data from internet exposure.

A.

Use Amazon CloudFront to restrict access to the company's private content

B.

Use AWS Glue to set up data encryption across the company's data catalog

C.

Use AWS Lake Formation to manage centralized data governance and cross-account data sharing

D.

Use AWS PrivateLink to configure a private connection between the company's VPC and Amazon Bedrock

Full Access
Question # 47

A company wants to classify human genes into 20 categories based on gene characteristics. The company needs an ML algorithm to document how the inner mechanism of the model affects the output.

Which ML algorithm meets these requirements?

A.

Decision trees

B.

Linear regression

C.

Logistic regression

D.

Neural networks

Full Access
Question # 48

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 # 49

An AI practitioner trained a custom model on Amazon Bedrock by using a training dataset that contains confidential data. The AI practitioner wants to ensure that the custom model does not generate inference responses based on confidential data.

How should the AI practitioner prevent responses based on confidential data?

A.

Delete the custom model. Remove the confidential data from the training dataset. Retrain the custom model.

B.

Mask the confidential data in the inference responses by using dynamic data masking.

C.

Encrypt the confidential data in the inference responses by using Amazon SageMaker.

D.

Encrypt the confidential data in the custom model by using AWS Key Management Service (AWS KMS).

Full Access
Question # 50

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?

A.

Bilingual Evaluation Understudy (BLEU)

B.

Root mean squared error (RMSE)

C.

Recall-Oriented Understudy for Gisting Evaluation (ROUGE)

D.

F1 score

Full Access
Question # 51

Which metric measures the runtime efficiency of operating AI models?

A.

Customer satisfaction score (CSAT)

B.

Training time for each epoch

C.

Average response time

D.

Number of training instances

Full Access
Question # 52

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 # 53

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 # 54

Which prompting attack directly exposes the configured behavior of a large language model (LLM)?

A.

Prompted persona switches

B.

Exploiting friendliness and trust

C.

Ignoring the prompt template

D.

Extracting the prompt template

Full Access
Question # 55

A company is training a foundation model (FM). The company wants to increase the accuracy of the model up to a specific acceptance level.

Which solution will meet these requirements?

A.

Decrease the batch size.

B.

Increase the epochs.

C.

Decrease the epochs.

D.

Increase the temperature parameter.

Full Access
Question # 56

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 # 57

Which option is an example of unsupervised learning?

A.

A model that groups customers based on their purchase history

B.

A model that classifies images as dogs or cats

C.

A model that predicts a house's price based on various features

D.

A model that learns to play chess by using trial and error

Full Access
Question # 58

A company wants to build an ML application.

Select and order the correct steps from the following list to develop a well-architected ML workload. Each step should be selected one time. (Select and order FOUR.)

• Deploy model

• Develop model

• Monitor model

• Define business goal and frame ML problem

Full Access
Question # 59

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 # 60

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 # 61

A food service company wants to collect a dataset to predict customer food preferences. The company wants to ensure that the food preferences of all demographics are included in the data.

A.

Accuracy

B.

Diversity

C.

Recency bias

D.

Reliability

Full Access
Question # 62

Which AWS service or feature stores embeddings In a vector database for use with foundation models (FMs) and Retrieval Augmented Generation (RAG)?

A.

Amazon SageMaker Ground Truth

B.

Amazon OpenSearch Service

C.

Amazon Transcribe

D.

Amazon Textract

Full Access
Question # 63

What is the purpose of vector embeddings in a large language model (LLM)?

A.

Splitting text into manageable pieces of data

B.

Grouping a set of characters to be treated as a single unit

C.

Providing the ability to mathematically compare texts

D.

Providing the count of every word in the input

Full Access
Question # 64

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?

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.

Full Access
Question # 65

A company uses Amazon SageMaker and various models fa Its AI workloads. The company needs to understand If Its AI workloads are ISO compliant.

Which AWS service or feature meets these requirements?

A.

AWS Audit Manager

B.

Amazon SageMaker Model Cards

C.

Amazon SageMaker Model Monitor

D.

AWS Artifact

Full Access
Question # 66

A social media company wants to use a large language model (LLM) for content moderation. The company wants to evaluate the LLM outputs for bias and potential discrimination against specific groups or individuals.

Which data source should the company use to evaluate the LLM outputs with the LEAST administrative effort?

A.

User-generated content

B.

Moderation logs

C.

Content moderation guidelines

D.

Benchmark datasets

Full Access
Question # 67

A company uses a third-party model on Amazon Bedrock to analyze confidential documents. The company is concerned about data privacy. Which statement describes how Amazon Bedrock protects data privacy?

A.

User inputs and model outputs are anonymized and shared with third-party model providers.

B.

User inputs and model outputs are not shared with any third-party model providers.

C.

User inputs are kept confidential, but model outputs are shared with third-party model providers.

D.

User inputs and model outputs are redacted before the inputs and outputs are shared with third-party model providers.

Full Access