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

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

Page: 1 / 37
Total 371 questions

AWS Certified AI Practitioner Exam Questions and Answers

Question 1

A retail company wants to build an ML model to recommend products to customers. The company wants to build the model based on responsible practices. Which practice should the company apply when collecting data to decrease model bias?

Options:

A.

Use data from only customers who match the demography of the company ' s overall customer base.

B.

Collect data from customers who have a past purchase history.

C.

Ensure that the data is balanced and collected from a diverse group.

D.

Ensure that the data is from a publicly available dataset.

Question 2

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 3

An accounting firm wants to implement a large language model (LLM) to automate document processing. The firm must proceed responsibly to avoid potential harms.

What should the firm do when developing and deploying the LLM? (Select TWO.)

Options:

A.

Include fairness metrics for model evaluation.

B.

Adjust the temperature parameter of the model.

C.

Modify the training data to mitigate bias.

D.

Avoid overfitting on the training data.

E.

Apply prompt engineering techniques.

Question 4

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 5

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?

Options:

A.

User-generated content

B.

Moderation logs

C.

Content moderation guidelines

D.

Benchmark datasets

Question 6

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 7

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 8

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 9

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?

Options:

A.

AWS Audit Manager

B.

Amazon SageMaker Model Cards

C.

Amazon SageMaker Model Monitor

D.

AWS Artifact

Question 10

What is continued pre-training?

Options:

A.

The process of fine-tuning a pre-trained language model on labeled data for a specific task

B.

The process of providing unlabeled data to a pre-trained language model to improve the model’s domain knowledge

C.

The process of training a language model from the beginning on a specific dataset

D.

The process of evaluating the performance of a pre-trained language model on a test set

Question 11

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 12

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 13

Why does overfilting occur in ML models?

Options:

A.

The training dataset does not reptesent all possible input values.

B.

The model contains a regularization method.

C.

The model training stops early because of an early stopping criterion.

D.

The training dataset contains too many features.

Question 14

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 15

An AI practitioner has a database of animal photos. The AI practitioner wants to automatically identify and categorize the animals in the photos without manual human effort.

Which strategy meets these requirements?

Options:

A.

Object detection

B.

Anomaly detection

C.

Named entity recognition

D.

Inpainting

Question 16

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 17

A company has installed a security camera. The company uses an ML model to evaluate the security camera footage for potential thefts. The company has discovered that the model disproportionately flags people who are members of a specific ethnic group.

Which type of bias is affecting the model output?

Options:

A.

Measurement bias

B.

Sampling bias

C.

Observer bias

D.

Confirmation bias

Question 18

An AI practitioner is developing a new ML model. After training the model, the AI practitioner evaluates the accuracy of the model ' s predictions. The model ' s accuracy is low when the model uses both the training dataset and the test dataset.

Which scenario is the MOST likely cause of this problem?

Options:

A.

Overfitting

B.

Hallucination

C.

Underfitting

D.

Cross-validation

Question 19

A financial company is using ML to help with some of the company ' s tasks.

Which option is a use of generative AI models?

Options:

A.

Summarizing customer complaints

B.

Classifying customers based on product usage

C.

Segmenting customers based on type of investments

D.

Forecasting revenue for certain products

Question 20

What is the benefit of fine-tuning a foundation model (FM)?

Options:

A.

Fine-tuning reduces the FM ' s size and complexity and enables slower inference.

B.

Fine-tuning uses specific training data to retrain the FM from scratch to adapt to a specific use case.

C.

Fine-tuning keeps the FM ' s knowledge up to date by pre-training the FM on more recent data.

D.

Fine-tuning improves the performance of the FM on a specific task by further training the FM on new labeled data.

Question 21

A company wants to use a large language model (LLM) to develop a conversational agent. The company needs to prevent the LLM from being manipulated with common prompt engineering techniques to perform undesirable actions or expose sensitive information.

Which action will reduce these risks?

Options:

A.

Create a prompt template that teaches the LLM to detect attack patterns.

B.

Increase the temperature parameter on invocation requests to the LLM.

C.

Avoid using LLMs that are not listed in Amazon SageMaker.

D.

Decrease the number of input tokens on invocations of the LLM.

Question 22

An online learning company with large volumes of education materials wants to use enterprise search.

Options:

A.

Amazon Comprehend

B.

Amazon Textract

C.

Amazon Kendra

D.

Amazon Personalize

Question 23

Which metric measures the runtime efficiency of operating AI models?

Options:

A.

Customer satisfaction score (CSAT)

B.

Training time for each epoch

C.

Average response time

D.

Number of training instances

Question 24

A company uses foundation models (FMs) to automate daily tasks. An AI practitioner is creating system instructions that include context relevant to the tasks. The AI practitioner wants to save and reuse the instructions in daily interactions with FMs in Amazon Bedrock.

Which Amazon Bedrock solution will meet these requirements?

Options:

A.

Knowledge Bases

B.

Guardrails

C.

Playgrounds

D.

Prompt management

Question 25

Which strategy will determine if a foundation model (FM) effectively meets business objectives?

Options:

A.

Evaluate the model ' s performance on benchmark datasets.

B.

Analyze the model ' s architecture and hyperparameters.

C.

Assess the model ' s alignment with specific use cases.

D.

Measure the computational resources required for model deployment.

Question 26

A financial company uses a generative AI model to assign credit limits to new customers. The company wants to make the decision-making process of the model more transparent to its customers.

Options:

A.

Use a rule-based system instead of an ML model

B.

Apply explainable AI techniques to show customers which factors influenced the model ' s decision

C.

Develop an interactive UI for customers and provide clear technical explanations about the system

D.

Increase the accuracy of the model to reduce the need for transparency

Question 27

Which AWS service helps select foundation models (FMs) for generative AI use cases?

Options:

A.

Amazon Personalize

B.

Amazon Bedrock

C.

Amazon Q Developer

D.

Amazon Rekognition

Question 28

Which option is a use case for generative AI models?

Options:

A.

Improving network security by using intrusion detection systems

B.

Creating photorealistic images from text descriptions for digital marketing

C.

Enhancing database performance by using optimized indexing

D.

Analyzing financial data to forecast stock market trends

Question 29

An AI practitioner is using Amazon Bedrock Prompt Management to create a reusable prompt. The prompt must be able to interact with external services by calling an external API. Which solution will meet this requirement?

Options:

A.

Use special tokens.

B.

Use a tools configuration.

C.

Use prompt variables.

D.

Use a stop sequence.

Question 30

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 31

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 32

A company has built an image classification model to predict plant diseases from photos of plant leaves. The company wants to evaluate how many images the model classified correctly.

Which evaluation metric should the company use to measure the model ' s performance?

Options:

A.

R-squared score

B.

Accuracy

C.

Root mean squared error (RMSE)

D.

Learning rate

Question 33

An AI practitioner is using an Amazon SageMaker notebook to train an ML prediction model for fraud detection. The company wants the model to be accurate for an unseen dataset.

Which two characteristics does the AI practitioner want the model to have?

Options:

A.

High variance / high bias

B.

High variance / low bias

C.

Low variance / high bias

D.

Low variance / low bias

Question 34

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 35

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 36

A company is implementing intelligent agents to provide conversational search experiences for its customers. The company needs a database service that will support storage and queries of embeddings from a generative AI model as vectors in the database.

Which AWS service will meet these requirements?

Options:

A.

Amazon Athena

B.

Amazon Aurora PostgreSQL

C.

Amazon Redshift

D.

Amazon EMR

Question 37

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

Which AI concept does this scenario present?

Options:

A.

Computer vision

B.

Natural language processing (NLP)

C.

Recommendation systems

D.

Fraud detection

Question 38

A company has implemented a generative AI solution to create personalized exercise routines for premium subscription users. The company offers free basic subscriptions and paid premium subscriptions. The company wants to evaluate the AI solution ' s return on investment over time.

Options:

A.

The average revenue per user (ARPU) over the past month

B.

The number of daily interactions by basic subscription users

C.

The conversion rate and the customer retention rate

D.

The decrease in the number of premium customer queries and issue volume

Question 39

An education company wants to build a private tutor application. The application will give users the ability to enter text or provide a picture of a question. The application will respond with a written answer and an explanation of the written answer.

Which model type meets these requirements?

Options:

A.

Computer vision model

B.

Multimodal LLM

C.

Diffusion model

D.

Text-to-speech model

Question 40

Which option is a disadvantage of using generative AI models in production systems?

Options:

A.

Possible high accuracy and reliability

B.

Deterministic and consistent behavior

C.

Negligible computational resource requirements

D.

Hallucinations and inaccuracies

Question 41

Which THREE of the following principles of responsible AI are most critical to this scenario? (Choose 3)

* Explainability

* Fairness

* Privacy and security

* Robustness

* Safety

Question # 41

Options:

Question 42

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 43

A company is developing an ML model to support the company ' s retail application. The company wants to use information that the model has produced from previous tasks to increase the learning speed of the model.

Which model training solution will meet these requirements?

Options:

A.

Supervised learning

B.

Hyperparameter tuning

C.

Regularization techniques

D.

Transfer learning

Question 44

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.

Options:

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

Question 45

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?

Options:

A.

Amazon Rekognition

B.

Amazon SageMaker Clarify

C.

Amazon Comprehend

D.

Amazon SageMaker Model Monitor

Question 46

A global financial company has developed an ML application to analyze stock market data and provide stock market trends. The company wants to continuously monitor the application development phases and ensure that company policies and industry regulations are followed.

Which AWS services will help the company assess compliance with these requirements? (Select TWO.)

Options:

A.

AWS Audit Manager

B.

AWS Config

C.

Amazon Inspector

D.

Amazon CloudWatch

E.

AWS CloudTrail

Question 47

An education provider is building a question and answer application that uses a generative AI model to explain complex concepts. The education provider wants to automatically change the style of the model response depending on who is asking the question. The education provider will give the model the age range of the user who has asked the question.

Which solution meets these requirements with the LEAST implementation effort?

Options:

A.

Fine-tune the model by using additional training data that is representative of the various age ranges that the application will support.

B.

Add a role description to the prompt context that instructs the model of the age range that the response should target.

C.

Use chain-of-thought reasoning to deduce the correct style and complexity for a response suitable for that user.

D.

Summarize the response text depending on the age of the user so that younger users receive shorter responses.

Question 48

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 49

A company has created a custom model by fine-tuning an existing large language model (LLM) from Amazon Bedrock. The company wants to deploy the model to production and use the model to handle a steady rate of requests each minute.

Which solution meets these requirements MOST cost-effectively?

Options:

A.

Deploy the model by using an Amazon EC2 compute optimized instance.

B.

Use the model with on-demand throughput on Amazon Bedrock.

C.

Store the model in Amazon S3 and host the model by using AWS Lambda.

D.

Purchase Provisioned Throughput for the model on Amazon Bedrock.

Question 50

Which type of AI model makes numeric predictions?

Options:

A.

Diffusion

B.

Regression

C.

Transformer

D.

Multi-modal

Question 51

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 52

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 53

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 54

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 55

A company has a generative AI model that has limited training data. The model produces output that seems correct but is incorrect.

Which option represents the model ' s problem?

Options:

A.

Interpretability

B.

Nondeterminism

C.

Hallucinations

D.

Accuracy

Question 56

An AI practitioner is writing software code. The AI practitioner wants to quickly develop a test case and create documentation for the code.

Options:

A.

Upload the code to an online coding assistant.

B.

Develop an application to use foundation models (FMs).

C.

Use Amazon Q Developer in an integrated development environment (IDE).

D.

Research and write test cases. Then, create test cases and add documentation.

Question 57

An AI practitioner is using a large language model (LLM) to create content for marketing campaigns. The generated content sounds plausible and factual but is incorrect.

Which problem is the LLM having?

Options:

A.

Data leakage

B.

Hallucination

C.

Overfitting

D.

Underfitting

Question 58

A company created an AI voice model that is based on a popular presenter. The company is using the model to create advertisements. However, the presenter did not consent to the use of his voice for the model. The presenter demands that the company stop the advertisements.

Which challenge of working with generative AI does this scenario demonstrate?

Options:

A.

Intellectual property (IP) infringement

B.

Lack of transparency

C.

Lack of fairness

D.

Privacy infringement

Question 59

A company runs a website for users to make travel reservations. The company wants an AI solution to help create consistent branding for hotels on the website. The AI solution needs to generate hotel descriptions for the website in a consistent writing style. Which AWS service will meet these requirements?

Options:

A.

Amazon Comprehend

B.

Amazon Personalize

C.

Amazon Rekognition

D.

Amazon Bedrock

Question 60

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 61

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 62

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 63

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 64

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 65

A research group wants to test different generative AI models to create research papers. The research group has defined a prompt and needs a method to assess the models ' output. The research group wants to use a team of scientists to perform the output assessments.

Which solution will meet these requirements?

Options:

A.

Use automatic evaluation on Amazon Personalize.

B.

Use content moderation on Amazon Rekognition.

C.

Use model evaluation on Amazon Bedrock.

D.

Use sentiment analysis on Amazon Comprehend.

Question 66

A company is exploring Amazon Nova models in Amazon Bedrock. The company needs a multimodal model that supports multiple languages.

Options:

A.

Nova Lite

B.

Nova Pro

C.

Nova Canvas

D.

Nova Reel

Question 67

A financial company uses AWS to host its generative AI models. The company must generate reports to show adherence to international regulations for handling sensitive customer data.

Options:

A.

Amazon Macie

B.

AWS Artifact

C.

AWS Secrets Manager

D.

AWS Config

Question 68

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 69

A company uses Amazon Bedrock to implement a generative AI solution. The AI solution provides customers with personalized product recommendations.

The company wants to evaluate the impact of the AI solution on sales revenue.

Which metric will meet these requirements?

Options:

A.

Cross-domain performance

B.

Solution efficiency

C.

User satisfaction

D.

Conversion rate

Question 70

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?

Options:

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.

Question 71

A company wants to create an application to summarize meetings by using meeting audio recordings.

Select and order the correct steps from the following list to create the application. Each step should be selected one time or not at all. (Select and order THREE.)

• Convert meeting audio recordings to meeting text files by using Amazon Polly.

• Convert meeting audio recordings to meeting text files by using Amazon Transcribe.

• Store meeting audio recordings in an Amazon S3 bucket.

• Store meeting audio recordings in an Amazon Elastic Block Store (Amazon EBS) volume.

• Summarize meeting text files by using Amazon Bedrock.

• Summarize meeting text files by using Amazon Lex.

Options:

Question 72

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 73

A company is developing an ML application. The application must automatically group similar customers and products based on their characteristics.

Which ML strategy should the company use to meet these requirements?

Options:

A.

Unsupervised learning

B.

Supervised learning

C.

Reinforcement learning

D.

Semi-supervised learning

Question 74

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 75

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 76

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 77

A company is using AI to build a toy recommendation website that suggests toys based on a customer ' s interests and age. The company notices that the AI tends to suggest stereotypically gendered toys.

Which AWS service or feature should the company use to investigate the bias?

Options:

A.

Amazon Rekognition

B.

Amazon Q Developer

C.

Amazon Comprehend

D.

Amazon SageMaker Clarify

Question 78

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 79

A company wants to implement a generative AI solution to improve its marketing operations. The company wants to increase its revenue in the next 6 months.

Which approach will meet these requirements?

Options:

A.

Immediately start training a custom FM by using the company’s existing data.

B.

Conduct stakeholder interviews to refine use cases and set measurable goals.

C.

Implement a prebuilt AI assistant solution and measure its impact on customer satisfaction.

D.

Analyze industry AI implementations and replicate the most successful features.

Question 80

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

Options:

A.

Amazon Comprehend

B.

Amazon Textract

C.

Amazon Kendra

D.

Amazon Personalize

Question 81

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 82

Which type of ML technique provides the MOST explainability?

Options:

A.

Linear regression

B.

Support vector machines

C.

Random cut forest (RCF)

D.

Neural network

Question 83

A company is developing an AI solution to help make hiring decisions.

Which strategy complies with AWS guidance for responsible AI?

Options:

A.

Use the AI solution to make final hiring decisions without human review.

B.

Train the AI solution exclusively on data from previous successful hires.

C.

Test the AI solution to ensure that it does not discriminate against any protected groups.

D.

Keep the AI decision-making process confidential to maintain a competitive advantage.

Question 84

A company wants to group its customer base to understand different customer groups. The company has an unlabeled dataset that includes customer demographics, purchase history, and browsing behavior.

Which ML technique will meet these requirements?

Options:

A.

Regression

B.

Classification

C.

Clustering

D.

Reinforcement learning

Question 85

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 86

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 87

A company wants to keep its foundation model (FM) relevant by using the most recent data. The company wants to implement a model training strategy that includes regular updates to the FM.

Which solution meets these requirements?

Options:

A.

Batch learning

B.

Continuous pre-training

C.

Static training

D.

Latent training

Question 88

A company is using an Amazon Bedrock base model to summarize documents for an internal use case. The company trained a custom model to improve the summarization quality.

Which action must the company take to use the custom model through Amazon Bedrock?

Options:

A.

Purchase Provisioned Throughput for the custom model.

B.

Deploy the custom model in an Amazon SageMaker endpoint for real-time inference.

C.

Register the model with the Amazon SageMaker Model Registry.

D.

Grant access to the custom model in Amazon Bedrock.

Question 89

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 90

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 91

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 92

A company wants to improve a large language model (LLM) for content moderation within 3 months. The company wants the model to moderate content according to the company ' s values and ethics. The LLM must also be able to handle emerging trends and new types of problematic content.

Which solution will meet these requirements?

Options:

A.

Conduct continuous pre-training on a large amount of text-based internet content.

B.

Create a high-quality dataset of historical moderation decisions.

C.

Fine-tune the LLM on a diverse set of general ethical guidelines from various sources.

D.

Conduct reinforcement learning from human feedback (RLHF) by using real-time input from skilled moderators.

Question 93

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 94

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 95

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 96

A real estate company is developing an ML model to predict house prices by using sales and marketing data. The company wants to use feature engineering to build a model that makes accurate predictions.

Which approach will meet these requirements?

Options:

A.

Understand patterns by providing data visualization.

B.

Tune the model’s hyperparameters.

C.

Create or select relevant features for model training.

D.

Collect data from multiple sources.

Question 97

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 98

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 99

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

Which Amazon Bedrock pricing model meets these requirements?

Options:

A.

On-Demand

B.

Model customization

C.

Provisioned Throughput

D.

Spot Instance

Question 100

A company wants to fine-tune an ML model that is hosted on Amazon Bedrock. The company wants to use its own sensitive data that is stored in private databases in a VPC. The data needs to stay within the company ' s private network.

Which solution will meet these requirements?

Options:

A.

Restrict access to Amazon Bedrock by using an AWS Identity and Access Management (IAM) service role.

B.

Restrict access to Amazon Bedrock by using an AWS Identity and Access Management (IAM) resource policy.

C.

Use AWS PrivateLink to connect the VPC and Amazon Bedrock.

D.

Use AWS Key Management Service (AWS KMS) keys to encrypt the data.

Question 101

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?

Options:

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.

Question 102

Which scenario describes a potential risk and limitation of prompt engineering In the context of a generative AI model?

Options:

A.

Prompt engineering does not ensure that the model always produces consistent and deterministic outputs, eliminating the need for validation.

B.

Prompt engineering could expose the model to vulnerabilities such as prompt injection attacks.

C.

Properly designed prompts reduce but do not eliminate the risk of data poisoning or model hijacking.

D.

Prompt engineering does not ensure that the model will consistently generate highly reliable outputs when working with real-world data.

Question 103

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 104

A company wants to control employee access to publicly available foundation models (FMs). Which solution meets these requirements?

Options:

A.

Analyze cost and usage reports in AWS Cost Explorer.

B.

Download AWS security and compliance documents from AWS Artifact.

C.

Configure Amazon SageMaker JumpStart to restrict discoverable FMs.

D.

Build a hybrid search solution by using Amazon OpenSearch Service.

Question 105

A company deployed an AI/ML solution to help customer service agents respond to frequently asked questions. The questions can change over time. The company wants to give customer service agents the ability to ask questions and receive automatically generated answers to common customer questions. Which strategy will meet these requirements MOST cost-effectively?

Options:

A.

Fine-tune the model regularly.

B.

Train the model by using context data.

C.

Pre-train and benchmark the model by using context data.

D.

Use Retrieval Augmented Generation (RAG) with prompt engineering techniques.

Question 106

A company stores customer data in OpenSearch. The company wants an AI solution to retrieve specific customer information from the stored data. The AI solution must convert queries into data requests and generate CSV files from the results. Then, the AI solution must upload the CSV files to Amazon S3.

Options:

A.

Create an AI agent to perform the required steps.

B.

Use a single foundation model (FM) with few-shot prompting.

C.

Create a software application without using AI to perform the required steps.

D.

Train a decision tree model to generate a solution based on user questions.

Question 107

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 108

What is an example of structured data?

Options:

A.

A file of text comments from an online forum

B.

A compilation of video files that contains news broadcasts

C.

A CSV file that consists of measurement data

D.

Transcribed conversations between call center agents and customers

Question 109

A company is introducing a new feature for its application. The feature will refine the style of output messages. The company will fine-tune a large language model (LLM) on Amazon Bedrock to implement the feature. Which type of data does the company need to meet these requirements?

Options:

A.

Samples of only input messages

B.

Samples of only output messages

C.

Samples of pairs of input and output messages

D.

Separate samples of input and output messages

Question 110

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

Which SageMaker feature meets these requirements?

Options:

A.

Amazon SageMaker Feature Store

B.

Amazon SageMaker Data Wrangler

C.

Amazon SageMaker Clarify

D.

Amazon SageMaker Model Cards

Question 111

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.

Page: 1 / 37
Total 371 questions