Summer Sale- Special Discount Limited Time 65% 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 / 18
Total 177 questions

AWS Certified AI Practitioner Exam Questions and Answers

Question 1

A security company is using Amazon Bedrock to run foundation models (FMs). The company wants to ensure that only authorized users invoke the models. The company needs to identify any unauthorized access attempts to set appropriate AWS Identity and Access Management (IAM) policies and roles for future iterations of the FMs.

Which AWS service should the company use to identify unauthorized users that are trying to access Amazon Bedrock?

Options:

A.

AWS Audit Manager

B.

AWS CloudTrail

C.

Amazon Fraud Detector

D.

AWS Trusted Advisor

Question 2

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

Options:

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.

Question 3

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?

Options:

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.

Question 4

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 5

A bank is fine-tuning a large language model (LLM) on Amazon Bedrock to assist customers with questions about their loans. The bank wants to ensure that the model does not reveal any private customer data.

Which solution meets these requirements?

Options:

A.

Use Amazon Bedrock Guardrails.

B.

Remove personally identifiable information (PII) from the customer data before fine-tuning the LLM.

C.

Increase the Top-K parameter of the LLM.

D.

Store customer data in Amazon S3. Encrypt the data before fine-tuning the LLM.

Question 6

Which functionality does Amazon SageMaker Clarify provide?

Options:

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

Question 7

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 8

A company wants to use large language models (LLMs) with Amazon Bedrock to develop a chat interface for the company's product manuals. The manuals are stored as PDF files.

Which solution meets these requirements MOST cost-effectively?

Options:

A.

Use prompt engineering to add one PDF file as context to the user prompt when the prompt is submitted to Amazon Bedrock.

B.

Use prompt engineering to add all the PDF files as context to the user prompt when the prompt is submitted to Amazon Bedrock.

C.

Use all the PDF documents to fine-tune a model with Amazon Bedrock. Use the fine-tuned model to process user prompts.

D.

Upload PDF documents to an Amazon Bedrock knowledge base. Use the knowledge base to provide context when users submit prompts to Amazon Bedrock.

Question 9

An AI practitioner wants to use a foundation model (FM) to design a search application. The search application must handle queries that have text and images.

Which type of FM should the AI practitioner use to power the search application?

Options:

A.

Multi-modal embedding model

B.

Text embedding model

C.

Multi-modal generation model

D.

Image generation model

Question 10

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?

Options:

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.

Question 11

An animation company wants to provide subtitles for its content. Which AWS service meets this requirement?

Options:

A.

Amazon Comprehend

B.

Amazon Polly

C.

Amazon Transcribe

D.

Amazon Translate

Question 12

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 13

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 14

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 15

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 16

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?

Options:

A.

Fine-tune the FM.

B.

Retrain the FM.

C.

Train a new FM.

D.

Use prompt engineering.

Question 17

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 18

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 19

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

Which challenge of responsible generative AI does this scenario represent?

Options:

A.

Toxicity

B.

Hallucinations

C.

Plagiarism

D.

Privacy

Question 20

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 21

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 22

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?

Options:

A.

Complexity-based prompting

B.

Zero-shot prompting

C.

Few-shot prompting

D.

Directional stimulus prompting

Question 23

Which type of AI model makes numeric predictions?

Options:

A.

Diffusion

B.

Regression

C.

Transformer

D.

Multi-modal

Question 24

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?

Options:

A.

Decision trees

B.

Linear regression

C.

Logistic regression

D.

Neural networks

Question 25

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 26

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 27

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 28

A company built an AI-powered resume screening system. The company used a large dataset to train the model. The dataset contained resumes that were not representative of all demographics. Which core dimension of responsible AI does this scenario present?

Options:

A.

Fairness.

B.

Explainability.

C.

Privacy and security.

D.

Transparency.

Question 29

A manufacturing company uses AI to inspect products and find any damages or defects.

Which type of AI application is the company using?

Options:

A.

Recommendation system

B.

Natural language processing (NLP)

C.

Computer vision

D.

Image processing

Question 30

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 31

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 32

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?

Options:

A.

AWS PrivateLink

B.

Amazon Macie

C.

Amazon CloudFront

D.

Internet gateway

Question 33

Which component of Amazon Bedrock Studio can help secure the content that AI systems generate?

Options:

A.

Access controls

B.

Function calling

C.

Guardrails

D.

Knowledge bases

Question 34

A company's large language model (LLM) is experiencing hallucinations.

How can the company decrease hallucinations?

Options:

A.

Set up Agents for Amazon Bedrock to supervise the model training.

B.

Use data pre-processing and remove any data that causes hallucinations.

C.

Decrease the temperature inference parameter for the model.

D.

Use a foundation model (FM) that is trained to not hallucinate.

Question 35

A company is using Amazon SageMaker to develop AI models.

Select the correct SageMaker feature or resource from the following list for each step in the AI model lifecycle workflow. Each

SageMaker feature or resource should be selected one time or not at all. (Select TWO.)

    SageMaker Clarify

    SageMaker Model Registry

    SageMaker Serverless Inference

Question # 35

Options:

Question 36

A financial institution is building an AI solution to make loan approval decisions by using a foundation model (FM). For security and audit purposes, the company needs the AI solution's decisions to be explainable.

Which factor relates to the explainability of the AI solution's decisions?

Options:

A.

Model complexity

B.

Training time

C.

Number of hyperparameters

D.

Deployment time

Question 37

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 38

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 39

Which term describes the numerical representations of real-world objects and concepts that AI and natural language processing (NLP) models use to improve understanding of textual information?

Options:

A.

Embeddings

B.

Tokens

C.

Models

D.

Binaries

Question 40

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?

Options:

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.

Question 41

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

Options:

A.

Feature engineering

B.

Model training

C.

Data collection

D.

Business goal identification

Question 42

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 43

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 44

An ecommerce company wants to improve search engine recommendations by customizing the results for each user of the company's ecommerce platform. Which AWS service meets these requirements?

Options:

A.

Amazon Personalize

B.

Amazon Kendra

C.

Amazon Rekognition

D.

Amazon Transcribe

Question 45

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?

Options:

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

Question 46

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

Options:

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

Question 47

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 48

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

Question # 48

Options:

Question 49

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?

Options:

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.

Question 50

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?

Options:

A.

Chain-of-thought prompting

B.

Prompt injection

C.

Few-shot prompting

D.

Prompt templating

Question 51

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?

Options:

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.

Question 52

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

Options:

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

Question 53

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.

Page: 1 / 18
Total 177 questions