Winter 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 / 27
Total 274 questions

AWS Certified AI Practitioner Exam Questions and Answers

Question 1

What is tokenization used for in natural language processing (NLP)?

Options:

A.

To encrypt text data

B.

To compress text files

C.

To break text into smaller units for processing

D.

To translate text between languages

Question 2

An airline company wants to use a generative AI model to convert a flight booking system from one coding language into another coding language. The company must select a model for this task.

Which criteria should the company use to select the correct generative AI model for this task?

Options:

A.

Syntax, semantic understanding, and code optimization capabilities

B.

Code generation speed and error handling capabilities

C.

Ability to generate creative content

D.

Model size and resource requirements

Question 3

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

Options:

Question 4

Which option describes embeddings in the context of AI?

Options:

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

Question 5

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 6

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.

Options:

A.

Fuzzing training data to find vulnerabilities

B.

Denial of service (DoS)

C.

Penetration testing with authorization

D.

Jailbreak

Question 7

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 8

A company wants to create a chatbot that answers questions about human resources policies. The company is using a large language model (LLM) and has a large digital documentation base.

Which technique should the company use to optimize the generated responses?

Options:

A.

Use Retrieval Augmented Generation (RAG).

B.

Use few-shot prompting.

C.

Set the temperature to 1.

D.

Decrease the token size.

Question 9

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company needs the LLM to produce more consistent responses to the same input prompt.

Which adjustment to an inference parameter should the company make to meet these requirements?

Options:

A.

Decrease the temperature value

B.

Increase the temperature value

C.

Decrease the length of output tokens

D.

Increase the maximum generation length

Question 10

A company wants to make a chatbot to help customers. The chatbot will help solve technical problems without human intervention. The company chose a foundation model (FM) for the chatbot. The chatbot needs to produce responses that adhere to company tone.

Which solution meets these requirements?

Options:

A.

Set a low limit on the number of tokens the FM can produce.

B.

Use batch inferencing to process detailed responses.

C.

Experiment and refine the prompt until the FM produces the desired responses.

D.

Define a higher number for the temperature parameter.

Question 11

A company wants to learn about generative AI applications in an experimental environment.

Which solution will meet this requirement MOST cost-effectively?

Options:

A.

Amazon Q Developer

B.

Amazon SageMaker JumpStart

C.

Amazon Bedrock PartyRock

D.

Amazon Q Business

Question 12

Which task represents a practical use case to apply a regression model?

Options:

A.

Suggest a genre of music for a listener from a list of genres.

B.

Cluster movies based on movie ratings and viewers.

C.

Use historical data to predict future temperatures in a specific city.

D.

Create a picture that shows a specific object.

Question 13

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.

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 14

A large retail bank wants to develop an ML system to help the risk management team decide on loan allocations for different demographics.

What must the bank do to develop an unbiased ML model?

Options:

A.

Reduce the size of the training dataset.

B.

Ensure that the ML model predictions are consistent with historical results.

C.

Create a different ML model for each demographic group.

D.

Measure class imbalance on the training dataset. Adapt the training process accordingly.

Question 15

A company needs to apply numerical transformations to a set of images to transpose and rotate the images.

Options:

A.

Create a deep neural network by using the images as input.

B.

Create an AWS Lambda function to perform the transformations.

C.

Use an Amazon Bedrock large language model (LLM) with a high temperature.

D.

Use AWS Glue Data Quality to make corrections to each image.

Question 16

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 17

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 18

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

Options:

A.

AWS CloudTrail

B.

Amazon CloudWatch

C.

AWS Audit Manager

D.

Amazon S3 Intelligent-Tiering

E.

Amazon S3 Standard

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 meets this requirement?

Options:

A.

AWS Audit Manager

B.

AWS Artifact

C.

AWS Trusted Advisor

D.

AWS Data Exchange

Question 20

A company is making a chatbot. The chatbot uses Amazon Lex and Amazon OpenSearch Service. The chatbot uses the company's private data to answer questions. The company needs to convert the data into a vector representation before storing the data in a database.

Which model type should the company use?

Options:

A.

Text completion model

B.

Instruction following model

C.

Text embeddings model

D.

Image generation model

Question 21

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 22

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

Which consideration will inform the company's decision?

Options:

A.

Temperature

B.

Context window

C.

Batch size

D.

Model size

Question 23

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

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

Options:

A.

Create a new labeled dataset

B.

Perform feature engineering.

C.

Adjust the prompt template.

D.

Fine-tune the LLM.

Question 24

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 25

A company is working on a large language model (LLM) and noticed that the LLM’s outputs are not as diverse as expected. Which parameter should the company adjust?

Options:

A.

Temperature

B.

Batch size

C.

Learning rate

D.

Optimizer type

Question 26

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 27

An AI practitioner who has minimal ML knowledge wants to predict employee attrition without writing code. Which Amazon SageMaker feature meets this requirement?

Options:

A.

SageMaker Canvas

B.

SageMaker Clarify

C.

SageMaker Model Monitor

D.

SageMaker Data Wrangler

Question 28

A company stores millions of PDF documents in an Amazon S3 bucket. The company needs to extract the text from the PDFs, generate summaries of the text, and index the summaries for fast searching.

Which combination of AWS services will meet these requirements? (Select TWO.)

Options:

A.

Amazon Translate

B.

Amazon Bedrock

C.

Amazon Transcribe

D.

Amazon Polly

E.

Amazon Textract

Question 29

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

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

Options:

A.

Data leakage

B.

Prompt injection

C.

Large language model (LLM) hallucinations

D.

Concept drift

Question 30

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 31

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 32

A company is developing an ML model to predict customer churn.

Which evaluation metric will assess the model's performance on a binary classification task such as predicting chum?

Options:

A.

F1 score

B.

Mean squared error (MSE)

C.

R-squared

D.

Time used to train the model

Question 33

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?

Options:

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.

Question 34

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 35

Which strategy will prevent model hallucinations?

Options:

A.

Fact-check the output of the large language model (LLM).

B.

Compare the output of the large language model (LLM) to the results of an internet search.

C.

Use contextual grounding.

D.

Use relevance grounding.

Question 36

A loan company is building a generative AI-based solution to offer new applicants discounts based on specific business criteria. The company wants to build and use an AI model responsibly to minimize bias that could negatively affect some customers.

Which actions should the company take to meet these requirements? (Select TWO.)

Options:

A.

Detect imbalances or disparities in the data.

B.

Ensure that the model runs frequently.

C.

Evaluate the model's behavior so that the company can provide transparency to stakeholders.

D.

Use the Recall-Oriented Understudy for Gisting Evaluation (ROUGE) technique to ensure that the model is 100% accurate.

E.

Ensure that the model's inference time is within the accepted limits.

Question 37

A company is using Amazon Bedrock Agents to build an application to automate business workflows.

Options:

A.

To invoke foundation models (FMs) to process visual, audio, and text inputs

B.

To enhance foundation models (FMs) with a prompting strategy

C.

To provide users with full control of querying external data sources and APIs

D.

To evaluate user inputs and orchestrate actions for multiple tasks

Question 38

A company is developing a new model to predict the prices of specific items. The model performed well on the training dataset. When the company deployed the model to production, the model's performance decreased significantly.

What should the company do to mitigate this problem?

Options:

A.

Reduce the volume of data that is used in training.

B.

Add hyperparameters to the model.

C.

Increase the volume of data that is used in training.

D.

Increase the model training time.

Question 39

An e-commerce company wants to build a solution to determine customer sentiments based on written customer reviews of products.

Which AWS services meet these requirements? (Select TWO.)

Options:

A.

Amazon Lex

B.

Amazon Comprehend

C.

Amazon Polly

D.

Amazon Bedrock

E.

Amazon Rekognition

Question 40

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

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

Options:

A.

Confusion matrix

B.

Correlation matrix

C.

R2 score

D.

Mean squared error (MSE)

Question 41

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 42

An ecommerce company is developing a generative Al solution to create personalized product recommendations for its application users. The company wants to track how effectively the Al solution increases product sales and user engagement in the application.

Select the correct business metric from the following list for each business goal. Each business metric should be selected one time. (Select THREE.)

    Average order value (AOV)

    Click-through rate (CTR)

    Retention rate

Question # 42

Options:

Question 43

A design company is using a foundation model (FM) on Amazon Bedrock to generate images for various projects. The company wants to have control over how detailed or abstract each generated image appears.

Which model parameter should the company modify?

Options:

A.

Model checkpoint

B.

Batch size

C.

Generation step

D.

Token length

Question 44

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 45

A company wants to identify harmful language in the comments section of social media posts by using an ML model. The company will not use labeled data to train the model. Which strategy should the company use to identify harmful language?

Options:

A.

Use Amazon Rekognition moderation.

B.

Use Amazon Comprehend toxicity detection.

C.

Use Amazon SageMaker AI built-in algorithms to train the model.

D.

Use Amazon Polly to monitor comments.

Question 46

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 47

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

Options:

A.

Deployment

B.

Data selection

C.

Fine-tuning

D.

Evaluation

Question 48

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

Options:

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.

Question 49

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 50

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

Question # 50

Options:

Question 51

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

Question # 51

Options:

Question 52

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?

Options:

A.

Crowd-sourced evaluation

B.

Automatic model evaluation

C.

Model evaluation with human workers

D.

Reinforcement learning from human feedback (RLHF)

Question 53

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 54

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 55

A healthcare company wants to create a model to improve disease diagnostics by analyzing patient voices. The company has recorded hundreds of patient voices for this project. The company is currently filtering voice recordings according to duration and language.

Options:

A.

Data collection

B.

Data preprocessing

C.

Feature engineering

D.

Model training

Question 56

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 57

A company has developed a generative text summarization application by using Amazon Bedrock. The company will use Amazon Bedrock automatic model evaluation capabilities.

Which metric should the company use to evaluate the accuracy of the model?

Options:

A.

Area Under the ROC Curve (AUC) score

B.

F1 score

C.

BERT Score

D.

Real World Knowledge (RWK) score

Question 58

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

Options:

A.

Prompted persona switches

B.

Exploiting friendliness and trust

C.

Ignoring the prompt template

D.

Extracting the prompt template

Question 59

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?

Options:

A.

Real-time inference

B.

Serverless inference

C.

Asynchronous inference

D.

Batch transform

Question 60

A company wants to implement a large language model (LLM)-based chatbot to provide customer service agents with real-time contextual responses to customers' inquiries. The company will use the company's policies as the knowledge base.

Options:

A.

Retrain the LLM on the company policy data.

B.

Fine-tune the LLM on the company policy data.

C.

Implement Retrieval Augmented Generation (RAG) for in-context responses.

D.

Use pre-training and data augmentation on the company policy data.

Question 61

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 62

A company is using large language models (LLMs) to develop online tutoring applications. The company needs to apply configurable safeguards to the LLMs. These safeguards must ensure that the LLMs follow standard safety rules when creating applications.

Which solution will meet these requirements with the LEAST effort?

Options:

A.

Amazon Bedrock playgrounds

B.

Amazon SageMaker Clarify

C.

Amazon Bedrock Guardrails

D.

Amazon SageMaker JumpStart

Question 63

Which scenario represents a practical use case for generative AI?

Options:

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

Question 64

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?

Options:

A.

Use a different FM

B.

Choose a lower temperature value

C.

Create an Amazon Bedrock knowledge base

D.

Enable model invocation logging

Question 65

A company uses Amazon Bedrock to implement a generative AI assistant on a website. The AI assistant helps customers with product recommendations and purchasing decisions. The company wants to measure the direct impact of the AI assistant on sales performance.

Options:

A.

The conversion rate of customers who purchase products after AI assistant interactions

B.

The number of customer interactions with the AI assistant

C.

Sentiment analysis scores from customer feedback after AI assistant interactions

D.

Natural language understanding accuracy rates

Question 66

A company is building a generative Al application and is reviewing foundation models (FMs). The company needs to consider multiple FM characteristics.

Select the correct FM characteristic from the following list for each definition. Each FM characteristic should be selected one time. (Select THREE.)

    Concurrency

    Context windows

    Latency

Question # 66

Options:

Question 67

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 68

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 69

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 70

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 71

What are tokens in the context of generative AI models?

Options:

A.

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

B.

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

C.

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

D.

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

Question 72

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

Which technique will solve the problem?

Options:

A.

Data augmentation for imbalanced classes

B.

Model monitoring for class distribution

C.

Retrieval Augmented Generation (RAG)

D.

Watermark detection for images

Question 73

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

Options:

Question 74

A company is building an AI application to summarize books of varying lengths. During testing, the application fails to summarize some books. Why does the application fail to summarize some books?

Options:

A.

The temperature is set too high.

B.

The selected model does not support fine-tuning.

C.

The Top P value is too high.

D.

The input tokens exceed the model's context size.

Question 75

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?

Options:

A.

Transfer learning

B.

Federated learning

C.

Retrieval Augmented Generation (RAG)

D.

One-shot prompting

Question 76

A company is building a mobile app for users who have a visual impairment. The app must be able to hear what users say and provide voice responses.

Which solution will meet these requirements?

Options:

A.

Use a deep learning neural network to perform speech recognition.

B.

Build ML models to search for patterns in numeric data.

C.

Use generative AI summarization to generate human-like text.

D.

Build custom models for image classification and recognition.

Question 77

Which prompting technique can protect against prompt injection attacks?

Options:

A.

Adversarial prompting

B.

Zero-shot prompting

C.

Least-to-most prompting

D.

Chain-of-thought prompting

Question 78

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 79

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 80

A company wants to build an ML model to detect abnormal patterns in sensor data. The company does not have labeled data for training. Which ML method will meet these requirements?

Options:

A.

Linear regression

B.

Classification

C.

Decision tree

D.

Autoencoders

Question 81

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?

Options:

A.

Decrease the batch size.

B.

Increase the epochs.

C.

Decrease the epochs.

D.

Increase the temperature parameter.

Question 82

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.

Page: 1 / 27
Total 274 questions