Preview real exam questions, verified answers and available explanations before choosing a study plan.
Question 1
Single choice
An education company is building a chatbot whose target audience is teenagers. The company is training a custom large language model (LLM). The company wants the chatbot to speak in the target audience's language style by using creative spelling and shortened words.
Which metric will assess the LLM's performance?
A
F1 score
B
BERTScore
C
Recall-Oriented Understudy for Gisting Evaluation (ROUGE)
D
Bilingual Evaluation Understudy (BLEU) score
Reveal answer detailsClose answer details
Correct answerD
Explanation
BLEU evaluates surface-level n-gram overlap between the LLM's outputs and reference examples--in this case, targets written in creative spelling and shorthand, making it well suited to measure how closely the model's style matches the teenager-oriented language.
Question 2
Single choice
A company uses Amazon SageMaker AI to generate article summaries in multiple languages. The company needs a metric to evaluate the quality of the summary translations in multiple languages.
Which evaluation metric will meet these requirements?
A
Recall-Oriented Understudy for Gisting Evaluation (ROUGE)
B
Bilingual evaluation understudy (BLEU)
C
Area Under the ROC Curve (AUC)
D
Precision
Reveal answer detailsClose answer details
Correct answerB
Explanation
Bilingual Evaluation Understudy measures how closely a generated translation matches one or more high-quality reference translations, making it well suited for evaluating the quality of multilingual summary translations.
Question 3
Single choice
A company uses foundation models (FMs) to automate daily tasks. An AI practitioner at the company is creating system instructions that include context that is 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?
A
Knowledge Bases
B
Guardrails
C
Playgrounds
D
Prompt management
Reveal answer detailsClose answer details
Correct answerD
Explanation
Prompt management in Amazon Bedrock lets you create, save, version, and reuse prompts, including system instructions and task context, across repeated interactions.
Question 4
Single choice
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.
Which solution meets these requirements?
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.
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explainable AI techniques provide transparency by identifying and displaying the specific factors that influenced the generative AI model's credit limit decisions, making the decision-making process understandable to customers.
Question 5
Single choice
A company wants to develop an AI assistant for employees to query internal data.
Which AWS service will meet this requirement?
A
Amazon Rekognition
B
Amazon Textract
C
Amazon Lex
D
Amazon Q Business
Reveal answer detailsClose answer details
Correct answerD
Explanation
Amazon Q Business is designed to build generative AI assistants for querying and interacting with internal organizational data, making it the ideal service for creating an AI assistant for employees to access company information.
Question 6
Single choice
A company has built a chatbot that can respond to natural language questions with images. The company wants to ensure that the chatbot does not return inappropriate or unwanted images.
Which solution will meet these requirements?
A
Implement moderation APIs.
B
Retrain the model with a general public dataset.
C
Perform model validation.
D
Automate user feedback integration.
Reveal answer detailsClose answer details
Correct answerA
Explanation
Moderation APIs, such as Amazon Rekognition's Content Moderation API, can help filter and block inappropriate or unwanted images from being returned by a chatbot. These APIs are specifically designed to detect and manage undesirable content in images. Option A (Correct): "Implement moderation APIs":This is the correct answer because moderation APIs are designed to identify and filter inappropriate content, ensuring the chatbot does not return unwanted images. Option B:"Retrain the model with a general public dataset" is incorrect because retraining does not directly prevent inappropriate content from being returned. Option C:"Perform model validation" is incorrect as it ensures model correctness, not content moderation. Option D:"Automate user feedback integration" is incorrect because user feedback does not prevent inappropriate images in real-time.
References: AWS Content Moderation Services:AWS provides moderation APIs for filtering unwanted content from applications.
Question 7
Single choice
A company is analyzing financial transaction records. The company categorizes the records as either personal or business. The company inserts the categories into the transaction records.
Which data preparation step does this describe?
A
Data encoding
B
Data labeling
C
Data normalization
D
Data balancing
Reveal answer detailsClose answer details
Correct answerB
Explanation
Assigning categories such as "personal" or "business" to financial transaction records is an example of data labeling, where each data point is tagged with a specific label for use in machine learning or data analysis tasks.
Question 8
Single choice
An online learning company with large volumes of education materials wants to use enterprise search.
Which AWS service meets these requirements?
A
Amazon Comprehend
B
Amazon Textract
C
Amazon Kendra
D
Amazon Personalize
Reveal answer detailsClose answer details
Correct answerC
Explanation
Amazon Kendra is an intelligent enterprise search service that enables organizations to search large volumes of unstructured data, such as educational materials, making it ideal for enterprise search needs.
Question 9
Single choice
A bank is building a chatbot to answer customer questions about opening a bank account. The chatbot will use public bank documents to generate responses. The company will use Amazon Bedrock and prompt engineering to improve the chatbot's responses.
Which prompt engineering technique meets these requirements?
A
Complexity-based prompting
B
Zero-shot prompting
C
Few-shot prompting
D
Directional stimulus prompting
Reveal answer detailsClose answer details
Correct answerC
Explanation
Few-shot prompting involves providing the generative AI model with several examples (drawn from public bank documents) to guide it in generating more accurate and relevant responses. This technique helps the chatbot better align its answers with the desired content and format.
Question 10
Single choice
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?
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.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Provisioned Throughput is priced lower per request when you have a predictable, steady volume of calls. By committing to a fixed throughput level, you secure the necessary capacity at a reduced unit cost compared to on-demand, making it the most cost-effective choice for steady-minute usage.
Question 11
Single choice
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?
A
Temperature
B
Batch size
C
Learning rate
D
Optimizer type
Reveal answer detailsClose answer details
Correct answerA
Explanation
The "temperature" parameter controls the randomness and diversity of outputs generated by a large language model. Increasing the temperature produces more diverse and creative responses, while lowering it makes the outputs more focused and deterministic.
Question 12
Hotspot
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 one time.
Reveal answer detailsClose answer details
Explanation
"Classify the following text as either sports, politics, or entertainment: [input text]." Correct Answer: Zero-shot learning Zero-shot learning involves providing the model with a task and no prior examples, relying entirely on the model's pre-trained knowledge to perform the classification. "A [image 1], [image 2], and [image 3] are examples of [target class]. Classify the following image as [target class]." Few-shot learning provides the model with a few examples (image 1, image 2, and image 3) before asking it to classify a new instance, helping it generalize to the task with minimal examples.
"[Question.] [Instructions to follow.] Think step by step and walk me through your thinking." Correct Answer: Chain-of-thought reasoning Chain-of-thought reasoning encourages the model to break down its reasoning process step by step, enhancing its ability to solve complex tasks logically.
Question 13
Single choice
A company wants to implement a single environment for both data and AI development. Developers across different teams must be able to access the environment and work together. The developers must be able to build and share models and generative AI applications securely in the environment.
Which AWS solution will meet these requirements?
A
Amazon Lex
B
Amazon SageMaker Unified Studio
C
Amazon Bedrock PartyRock
D
Amazon Q Developer
Reveal answer detailsClose answer details
Correct answerB
Explanation
Amazon SageMaker Unified Studio provides a collaborative, centralized environment for data and AI development where multiple teams can securely build, share, and manage models and generative AI applications.
Question 14
Single choice
A research company is growing microbiological cultures. The company captures images of the cultures without any prior labeled data about growth areas. The company needs to identify the regions of the images that show culture growth.
Which ML technique will meet these requirements?
A
Logistic regression
B
Decision tree
C
Clustering
D
Dimensionality reduction
Reveal answer detailsClose answer details
Correct answerC
Explanation
Clustering can group similar pixel patterns or image regions without labeled data, allowing the model to identify areas that share visual characteristics associated with culture growth.
Question 15
Single choice
Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?
A
Integration with Amazon S3 for object storage
B
Support for geospatial indexing and queries
C
Scalable index management and nearest neighbor search capability
D
Ability to perform real-time analysis on streaming data
Reveal answer detailsClose answer details
Correct answerC
Explanation
Amazon OpenSearch Service (formerly Amazon Elasticsearch Service) has introduced capabilities to support vector search, which allows companies to build vector database applications. This is particularly useful in machine learning, where vector representations (embeddings) of data are often used to capture semantic meaning. Scalable index management and nearest neighbor search capabilityare the core features enabling vector database functionalities in OpenSearch. The service allows users to index high-dimensional vectors and perform efficient nearest neighbor searches, which are crucial for tasks such as recommendation systems, anomaly detection, and semantic search. Here is why option C is the correct answer: Scalable Index Management:OpenSearch Service supports scalable indexing of vector data. This means you can index a large volume of high-dimensional vectors and manage these indexes in a cost-effective and performance-optimized way. The service leverages underlying AWS infrastructure to ensure that indexing scales seamlessly with data size. Nearest Neighbor Search Capability:OpenSearch Service's nearest neighbor search capability allows for fast and efficient searches over vector data. This is essential for applicationslike product recommendation engines, where the system needs to quickly find the most similar items based on a user's query or behavior.
References: The other options do not directly relate to building vector database applications: Option A. Integration with Amazon S3 for object storageis about storing data objects, not vector-based searching or indexing. Option B. Support for geospatial indexing and queriesis related to location-based data, not vectors used in machine learning. Option D. Ability to perform real-time analysis on streaming datarelates to analyzing incoming data streams, which is different from the vector search capabilities.
Question 16
Multiple choice
A company wants to build a chatbot that can understand spoken user input and respond with synthesized speech.
Which combination of AWS services should the company use? (Select TWO.)
A
Amazon Lex
B
Amazon Polly
C
Amazon Macie
D
AWS Artifact
E
Amazon S3 Glacier
Reveal answer detailsClose answer details
Correct answersA, B
Explanation
Amazon Lex and Amazon Polly are the correct answers because Lex can build conversational interfaces and Polly can convert the chatbot's text responses into speech. Together they support a voice-enabled chatbot experience. Option A (Correct): "Amazon Lex": This is correct because it supports conversational interfaces and can process user utterances. Option B (Correct): "Amazon Polly": This is correct because it converts generated text responses into speech. Option C: "Amazon Macie" is incorrect because it is used for sensitive data discovery and protection. Option D: "AWS Artifact" is incorrect because it provides compliance documentation. Option E: "Amazon S3 Glacier" is incorrect because it is archival storage and not part of voice interaction.
Question 17
Single choice
A company has a team of AI practitioners that builds and maintains AI applications in an AWS account.
The company must keep records of the actions that each AI practitioner takes in the AWS account for audit purposes.
Which AWS service will meet these requirements?
A
AWS CloudTrail
B
AWS Config
C
AWS Audit Manager
D
AWS Trusted Advisor
Reveal answer detailsClose answer details
Correct answerA
Explanation
AWS CloudTrail records and logs all API calls and user actions in an AWS account, providing a complete audit trail of activities performed by each AI practitioner for compliance and audit purposes.
Question 18
Single choice
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?
A
Computer vision
B
Natural language processing (NLP)
C
Recommendation systems
D
Fraud detection
Reveal answer detailsClose answer details
Correct answerB
Explanation
Automatically analyzing and classifying free-text feedback into thematic categories is a core NLP task (text classification).
Question 19
Single choice
A company wants to compare two foundation models for a summarization use case. The company wants people to judge which model produces summaries that are more useful for employees.
Which evaluation approach should the company use?
A
Human evaluation with custom prompts
B
Only measure invocation latency
C
Only compare the number of model parameters
D
Only increase the context window
Reveal answer detailsClose answer details
Correct answerA
Explanation
Human evaluation with custom prompts is the correct answer because usefulness is a qualitative requirement that depends on the preferences and needs of the company's users. Human reviewers are best suited to assess that kind of output quality. Option A (Correct): "Human evaluation with custom prompts": This is correct because people can directly assess usefulness and quality. Option B: "Only measure invocation latency" is incorrect because speed does not measure summary usefulness. Option C: "Only compare the number of model parameters" is incorrect because size alone does not determine output quality. Option D: "Only increase the context window" is incorrect because that is not an evaluation method.
Question 20
Single choice
Which AWS feature records details about ML instance data for governance and reporting?
A
Amazon SageMaker Model Cards
B
Amazon SageMaker Debugger
C
Amazon SageMaker Model Monitor
D
Amazon SageMaker JumpStart
Reveal answer detailsClose answer details
Correct answerA
Explanation
Amazon SageMaker Model Cards provide a centralized and standardized repository for documenting machine learning models. They capture key details such as the model's intended use, training and evaluation datasets, performance metrics, ethical considerations, and other relevant information. This documentation facilitates governance and reporting by ensuring that all stakeholders have access to consistent and comprehensive information about each model. While Amazon SageMaker Debugger is used for real-time debugging and monitoring during training, and Amazon SageMaker Model Monitor tracks deployed models for data and prediction quality, neither offers the comprehensive documentation capabilities of Model Cards. Amazon SageMaker JumpStart provides pre-built models and solutions but does not focus on governance documentation.
References: Amazon SageMaker Model Cards
Question 21
Single choice
Which phase of the ML lifecycle determines compliance and regulatory requirements?
A
Feature engineering
B
Model training
C
Data collection
D
Business goal identification
Reveal answer detailsClose answer details
Correct answerC
Explanation
The data collection phase of the ML lifecycle is the most relevant for determining compliance and regulatory requirements. During this phase, organizations must ensure that the data being collected and used for training the model complies with legal and regulatory standards, such as data privacy laws (e.g., GDPR, HIPAA), industry-specific regulations, and ethical considerations. The organization must also verify that they have the proper consent to use the data and that the data does not contain any biases or violate any regulations.
Question 22
Single choice
A retail company wants to use a generative AI model in Amazon Bedrock to automatically generate product titles and descriptions. The marketing team needs the ability to review, approve, and revise AI-generated content before it is published.
Which AWS service will help integrate human review into the workflow?
A
Amazon SageMaker Ground Truth
B
Amazon Augmented AI (Amazon A2I)
C
Amazon Lex
D
AWS IAM Access Analyzer
Reveal answer detailsClose answer details
Correct answerB
Explanation
Amazon Augmented AI (Amazon A2I) provides built-in workflows for adding human review to AI processes, including generative AI content. When a model generates product descriptions, A2I can route outputs for human approval before publishing. This ensures quality control and brand compliance and fits scenarios where human validation is required in a content generation pipeline.
Question 23
Single choice
A company wants an application to generate several different slogan ideas from the same prompt. The company wants the model to produce more varied outputs.
Which inference parameter adjustment should the company make?
A
Decrease the temperature
B
Increase the temperature
C
Decrease the number of input tokens
D
Use batch inference
Reveal answer detailsClose answer details
Correct answerB
Explanation
Increasing the temperature is the correct answer because higher temperature values generally make model outputs more diverse and less deterministic. This is useful when a business wants multiple creative variations. Option B (Correct): "Increase the temperature": This is correct because a higher temperature encourages more varied generations. Option A: "Decrease the temperature" is incorrect because it usually makes outputs more predictable and repetitive. Option C: "Decrease the number of input tokens" is incorrect because that does not directly control creativity. Option D: "Use batch inference" is incorrect because batch inference relates to processing mode, not output diversity.
Question 24
Single choice
A media company wants to analyze viewer behavior and demographics to recommend personalized content. The company wants to deploy a customized ML model in its production environment. The company also wants to observe if the model quality drifts over time.
Which AWS service or feature meets these requirements?
A
Amazon Rekognition
B
Amazon SageMaker Clarify
C
Amazon Comprehend
D
Amazon SageMaker Model Monitor
Reveal answer detailsClose answer details
Correct answerD
Explanation
Amazon SageMaker Model Monitor continuously tracks deployed ML models in production to detect data drift, model drift, and quality degradation over time. This is essential for ensuring that the recommendation model remains accurate as viewer behavior and demographics change. Model Monitor helps detect anomalies and provides alerts when model performance deviates from expected trends, allowing the company to take corrective action.
Question 25
Single choice
A company designed an AI-powered agent to answer customer inquiries based on product manuals.
Which strategy can improve customer confidence levels in the AI-powered agent's responses?
A
Writing the confidence level in the response
B
Including referenced product manual links in the response
C
Designing an agent avatar that looks like a computer
D
Training the agent to respond in the company's language style
Reveal answer detailsClose answer details
Correct answerB
Explanation
Providing direct links to the exact sections of the product manual that support each answer lets customers verify and trust the information, boosting confidence in the AI agent's responses.
Question 26
Single choice
A company is exploring Amazon Nova models in Amazon Bedrock. The company needs a multimodal model that supports multiple languages.
Which Nova model will meet these requirements MOST cost-effectively?
A
Nova Lite
B
Nova Pro
C
Nova Canvas
D
Nova Reel
Reveal answer detailsClose answer details
Correct answerA
Explanation
Nova Lite is a multimodal model in Amazon Bedrock that supports multiple languages and is designed to be the most cost-effective option among the Nova models, making it suitable for organizations seeking efficient, scalable, and economical AI solutions.
Question 27
Single choice
A company is using AI to improve its services. The company needs to ensure that the AI system is fair and explainable. The company wants to require training for members of the AI system development team.
Which training will meet these requirements?
A
Training on advanced coding skills
B
Training on data privacy and encryption protocols
C
Training on bias awareness and responsible AI
D
Training on advanced ML algorithms
Reveal answer detailsClose answer details
Correct answerC
Explanation
Training on bias awareness and responsible AI equips the development team with the knowledge and practices necessary to ensure that AI systems are fair, unbiased, and explainable, which aligns with the company's requirements.
Question 28
Single choice
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.
Which AWS service meets these requirements?
A
Amazon Macie
B
AWS Artifact
C
AWS Secrets Manager
D
AWS Config
Reveal answer detailsClose answer details
Correct answerB
Explanation
AWS Artifact provides on-demand access to AWS's compliance reports and certifications (for example, ISO, SOC, GDPR), enabling the company to demonstrate its generative AI workloads and data handling practices adhere to international regulatory requirements.
Question 29
Single choice
A company needs to apply numerical transformations to a set of images to transpose and rotate the images.
Which solution will meet these requirements in the MOST operationally efficient way?
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.
Reveal answer detailsClose answer details
Correct answerB
Explanation
An AWS Lambda function can efficiently perform numerical image transformations such as transposing and rotating images at scale without the need to build or train a neural network, making it the most operationally efficient solution.
Question 30
Single choice
A company needs to select a generative AI model to build an application. The application must provide responses to users in real time.
Which model characteristic should the company consider to meet these requirements?
A
Model complexity
B
Innovation speed
C
Inference speed
D
Training time
Reveal answer detailsClose answer details
Correct answerC
Explanation
For real-time applications, the model's inference speed - ability to generate responses with low latency - is the critical characteristic to ensure users receive answers promptly.
Question 31
Single choice
A company wants to allow employees to privately access Amazon Bedrock models only through the corporate VPC and without internet exposure.
Which solution meets this requirement?
A
Use AWS CloudTrail
B
Use AWS PrivateLink
C
Use an Amazon S3 VPC endpoint
D
Deploy EC2 gateway endpoints
Reveal answer detailsClose answer details
Correct answerB
Explanation
AWS PrivateLink enables private, internal-only connectivity to Bedrock APIs, ensuring no traffic traverses the public internet. This is essential for secure enterprise deployments.
Question 32
Single choice
An AI practitioner is developing a prompt for large language models (LLMs) in Amazon Bedrock. The AI practitioner must ensure that the prompt works across all Amazon Bedrock LLMs.
Which characteristic can differ across the LLMs?
A
Maximum token count
B
On-demand inference parameter support
C
The ability to control model output randomness
D
Compatibility with Amazon Bedrock Guardrails
Reveal answer detailsClose answer details
Correct answerA
Explanation
Different large language models have varying maximum token limits, which affects how much input and output text a prompt can include, so prompts must account for these differences to work consistently across models.
Question 33
Single choice
A company needs to allow an application in a VPC to privately access AWS AI services without sending traffic over the public internet.
Which AWS feature should the company use?
A
Internet gateway
B
AWS PrivateLink
C
Amazon CloudFront
D
Amazon Route 53
Reveal answer detailsClose answer details
Correct answerB
Explanation
AWS PrivateLink is the correct answer because it enables private connectivity from a VPC to supported AWS services without exposing traffic to the public internet. Option B (Correct): "AWS PrivateLink": This is correct because it provides private network access to supported services. Option A: "Internet gateway" is incorrect because it enables internet connectivity. Option C: "Amazon CloudFront" is incorrect because it is a content delivery service. Option D: "Amazon Route 53" is incorrect because it is a DNS service.
Question 34
Single choice
A company wants to train a model but must ensure sensitive training data never leaves its AWS Region.
Which approach meets these requirements?
A
Use Amazon CloudFront with encryption
B
Use Bedrock API with Regional endpoints and PrivateLink
C
Export data to a local workstation for preprocessing
D
Use Amazon Macie to mask sensitive fields before export
Reveal answer detailsClose answer details
Correct answerB
Explanation
Amazon Bedrock operates regionally and, combined with PrivateLink, ensures all data stays within the customer's VPC and Region. This satisfies data residency and compliance requirements.
Question 35
Single choice
A company wants to use a large language model (LLM) to generate concise, feature-specific descriptions for the company's products.
Which prompt engineering technique meets these requirements?
A
Create one prompt that covers all products. Edit the responses to make the responses more specific, concise, and tailored to each product.
B
Create prompts for each product category that highlight the key features. Include the desired output format and length for each prompt response.
C
Include a diverse range of product features in each prompt to generate creative and unique descriptions.
D
Provide detailed, product-specific prompts to ensure precise and customized descriptions.
Reveal answer detailsClose answer details
Correct answerB
Explanation
To generate concise, feature-specific descriptions for each product, the company should create prompts tailored to specific product categories. By highlighting the key features of each product category in the prompt, the model can focus on generating descriptions that are relevant and aligned with the unique attributes of each product. Additionally, specifying the desired output format and length ensures that the responses meet the company's requirements for conciseness and clarity.
Tailored prompts help ensure the model generates relevant and accurate descriptions by focusing on the most important features of each product category.
Desired output format and length ensure the responses are consistent and concise, as required.
Question 36
Single choice
A company has developed a neural network model to replace an existing decision tree model. The neural network model has a higher prediction accuracy compared to the decision tree model. However, the neural network model's decision process is not as explainable as the decision tree model's decision process.
Which tradeoff is the company making by adopting the neural network model?
A
Higher compliance for lower interpretability
B
Higher performance for lower portability
C
Higher performance for lower interpretability
D
Higher portability for lower interpretability
Reveal answer detailsClose answer details
Correct answerC
Explanation
Neural networks typically provide higher predictive performance but are less transparent than decision trees, resulting in reduced interpretability of how decisions are made.
Question 37
Single choice
A company is using Amazon SageMaker Studio notebooks to build and train ML models. The company stores the data in an Amazon S3 bucket. The company needs to manage the flow of data from Amazon S3 to SageMaker Studio notebooks.
Which solution will meet this requirement?
A
Use Amazon Inspector to monitor SageMaker Studio.
B
Use Amazon Macie to monitor SageMaker Studio.
C
Configure SageMaker to use a VPC with an S3 endpoint.
D
Configure SageMaker to use S3 Glacier Deep Archive.
Reveal answer detailsClose answer details
Correct answerC
Explanation
To manage the flow of data from Amazon S3 to SageMaker Studio notebooks securely, using a VPC with an S3 endpoint is the best solution.
Question 38
Single choice
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?
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.
Reveal answer detailsClose answer details
Correct answerC
Explanation
Using a prebuilt AI assistant allows the company to deploy generative AI quickly without the time and cost of training custom models. This accelerates implementation, enabling measurable business impact such as improved customer engagement and increased revenue within the short 6-month timeframe.
Question 39
Single choice
Which option is a benefit of using Amazon SageMaker Model Cards to document AI models?
A
Providing a visually appealing summary of a model's capabilities.
B
Standardizing information about a model's purpose, performance, and limitations.
C
Reducing the overall computational requirements of a model.
D
Physically storing models for archival purposes.
Reveal answer detailsClose answer details
Correct answerB
Explanation
Amazon SageMaker Model Cards provide a standardized way to document important details about an AI model, such as its purpose, performance, intended usage, and known limitations. This enables transparency and compliance while fostering better communication between stakeholders. It does not store models physically or optimize computational requirements.
References: AWS SageMaker Model Cards Documentation.
Question 40
Single choice
A logistics company wants to classify support emails as "urgent" or "non-urgent." The company has a labeled dataset of past emails.
Which ML method should the company use?
A
Clustering
B
Regression
C
Binary classification
D
Topic modeling
Reveal answer detailsClose answer details
Correct answerC
Explanation
Binary classification is designed to separate data into two classes -- in this case, urgent vs. non-urgent. It uses labeled data to learn patterns distinguishing the two categories, aligning perfectly with the company's needs.
Question 41
Single choice
A financial company wants to build workflows for human review of ML predictions. The company wants to define confidence thresholds for its use case and adjust the thresholds over time.
Which AWS service meets these requirements?
A
Amazon Personalize
B
Amazon Augmented AI (Amazon A2I)
C
Amazon Inspector
D
AWS Audit Manager
Reveal answer detailsClose answer details
Correct answerB
Explanation
Amazon Augmented AI (Amazon A2I) enables you to build workflows for human review of machine learning predictions, allowing you to define and adjust confidence thresholds for when human intervention is required.
Question 42
Multiple choice
A documentary filmmaker wants to reach more viewers. The filmmaker wants to automatically add subtitles and voice-overs in multiple languages to their films.
Which combination of steps will meet these requirements? (Choose two.)
A
Use Amazon Transcribe and Amazon Translate to generate subtitles in other languages.
B
Use Amazon Textract and Amazon Translate to generate subtitles in other languages.
C
Use Amazon Polly to generate voice-overs in other languages.
D
Use Amazon Translate to generate voice-overs in other languages.
E
Use Amazon Textract to generate voice-overs in other languages.
Reveal answer detailsClose answer details
Correct answersA, C
Explanation
Use Amazon Transcribe and Amazon Translate to generate subtitles in other languages: Amazon Transcribe converts spoken dialogue to text (subtitles), and Amazon Translate can then translate these subtitles into multiple languages.
Use Amazon Polly to generate voice-overs in other languages: Amazon Polly converts translated text into lifelike speech, enabling the creation of multilingual voice-overs.
Question 43
Single choice
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?
A
Measurement bias
B
Sampling bias
C
Observer bias
D
Confirmation bias
Reveal answer detailsClose answer details
Correct answerB
Explanation
Sampling bias is the correct type of bias affecting the model output when it disproportionately flags people from a specific ethnic group.
Question 44
Single choice
An AI practitioner is building an ML model. The AI practitioner wants to provide model transparency and explainability to stakeholders.
Which solution will meet these requirements?
A
Present the model Shapley values.
B
Provide the model accuracy measure.
C
Provide the model confusion matrix.
D
Provide a secure model inference endpoint.
Reveal answer detailsClose answer details
Correct answerA
Explanation
Presenting the model Shapley values provides transparency and explainability by showing how each feature contributes to individual predictions, helping stakeholders understand the reasoning behind the model's outputs.
Question 45
Single choice
A chatbot returns overly generic responses. The company wants the model to produce industry-specific answers without retraining the model.
Which technique will improve response relevance?
A
Zero-shot prompting
B
Temperature = 0
C
Few-shot prompting
D
Increase max tokens
Reveal answer detailsClose answer details
Correct answerC
Explanation
Few-shot prompting provides examples that teach the model how to respond in a specific domain or style. This improves accuracy and relevance without needing fine-tuning.
Question 46
Single choice
A company wants to fine-tune a foundation model (FM) for a specific use case. The company needs to deploy the FM on Amazon Bedrock for internal use.
Which solution will meet these requirements?
A
Run responses that have been generated by a pre-trained FM through Amazon Bedrock Guardrails to create the custom FM.
B
Use Amazon Personalize to customize the FM with custom data.
C
Use conversational builder for Amazon Bedrock Agents to create the custom model.
D
Use Amazon SageMaker AI to customize the FM. Then, import the trained model into Amazon Bedrock.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Amazon SageMaker AI provides full training and fine-tuning capabilities for foundation models using custom data, and the resulting trained model can then be imported and deployed in Amazon Bedrock for internal use.
Question 47
Single choice
A company creates video content. The company wants to use generative AI to generate new creative content and to reduce video creation time.
Which solution will meet these requirements in the MOST operationally efficient way?
A
Use the Amazon Titan Image Generator model on Amazon Bedrock to generate intermediate images. Use video editing software to create videos.
B
Use the Amazon Nova Canvas model on Amazon Bedrock to generate intermediate images. Use video editing software to create videos.
C
Use the Amazon Nova Reel model on Amazon Bedrock to generate videos.
D
Use the Amazon Nova Pro model on Amazon Bedrock to generate videos.
Reveal answer detailsClose answer details
Correct answerC
Explanation
The Amazon Nova Reel model on Amazon Bedrock is specifically designed for generative video creation, enabling the company to efficiently generate new creative content and significantly reduce video creation time in an operationally efficient manner.
Question 48
Single choice
A company is creating an agent for its application by using Amazon Bedrock Agents. The agent is performing well, but the company wants to improve the agent's accuracy by providing some specific examples.
Which solution meets these requirements?
A
Modify the advanced prompts for the agent to include the examples.
B
Create a guardrail for the agent that includes the examples.
C
Use Amazon SageMaker Ground Truth to label the examples.
D
Run a script in AWS Lambda that adds the examples to the training dataset.
Reveal answer detailsClose answer details
Correct answerA
Explanation
Embedding specific input-output examples directly into the agent's advanced prompt (few-shot prompting) guides the model toward more accurate behavior without retraining or additional tooling.
Question 49
Single choice
An ecommerce company receives multiple gigabytes of customer data daily. The company uses the data to train an ML model to forecast future product demand. The company needs a solution to perform inferences once each day.
Which inference type meets these requirements?
A
Batch inference
B
Asynchronous inference
C
Real-time inference
D
Serverless inference
Reveal answer detailsClose answer details
Correct answerA
Explanation
Batch inference is designed for high-volume, scheduled predictions: you can point it at the day's gigabytes of data, run a job once daily, and generate all forecasts in one go without needing a persistent endpoint.
Question 50
Single choice
A company maintains a large product catalog with detailed descriptions. The company wants to build an AI assistant to answer customer questions about the products. However, the company's labeled training data is limited.
Which solution will meet these requirements with the LEAST implementation effort?
A
Use a Retrieval Augmented Generation (RAG) architecture to query the product database at runtime. Provide relevant, unmodified product descriptions as context for the foundation model (FM).
B
Fine-tune a foundation model (FM) on the restricted labeled data. Automatically refresh the model with novel product details weekly for accuracy.
C
Deploy a foundation model (FM) for each product category. Implement a routing layer to direct customer queries to the appropriate specialized model.
D
Create a new custom foundation model (FM) that is trained on the product database. Optimize the FM for minimal token usage during inference.
Reveal answer detailsClose answer details
Correct answerA
Explanation
A RAG architecture is the least-effort solution because it uses the existing product catalog as the knowledge source at runtime, so the foundation model can answer questions with current product information without requiring extensive labeled data or custom model training.
Question 51
Single choice
What are tokens in the context of generative AI models?
A
Tokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units.
B
Tokens are the mathematical representations of words or concepts used in generative AI models.
C
Tokens are the pre-trained weights of a generative AI model that are fine-tuned for specific tasks.
D
Tokens are the specific prompts or instructions given to a generative AI model to generate output.
Reveal answer detailsClose answer details
Correct answerA
Explanation
Tokens in generative AI models are the smallest units that the model processes, typically representing words, subwords, or characters. They are essential for the model to understand and generate language, breaking down text into manageable parts for processing. Option A (Correct): "Tokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units":This is the correct definition of tokens in the context of generative AI models. Option B:"Mathematical representations of words" describes embeddings, not tokens. Option C:"Pre-trained weights of a model" refers to the parameters of a model, not tokens. Option D:"Prompts or instructions given to a model" refers to the queries or commands provided to a model, not tokens.
References: Understanding Tokens in NLP:AWS provides detailed explanations of how tokens are used in natural language processing tasks by AI models, such as in Amazon Comprehend and other AWS AI services.
Question 52
Hotspot
HOTSPOT
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.)
1. Convert meeting audio recordings to meeting text files by using Amazon Polly. 2. Convert meeting audio recordings to meeting text files by using Amazon Transcribe. 3. Store meeting audio recordings in an Amazon S3 bucket. 4. Store meeting audio recordings in an Amazon Elastic Block Store (Amazon EBS) volume. 5. Summarize meeting text files by using Amazon Bedrock. 6. Summarize meeting text files by using Amazon Lex.
Reveal answer detailsClose answer details
Question 53
Single choice
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?
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.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Reinforcement learning from human feedback allows the model to continuously learn from real-time input provided by skilled moderators, aligning it with company-specific values and ethics while adapting to emerging trends in content.
Question 54
Single choice
In which stage of the generative AI model lifecycle are tests performed to examine the model's accuracy?
A
Deployment
B
Data selection
C
Fine-tuning
D
Evaluation
Reveal answer detailsClose answer details
Correct answerD
Explanation
The evaluation stage is when you run tests and benchmarks, such as accuracy, precision, and other performance metrics, to measure how well the generative AI model performs on hold-out or validation data before moving on to deployment.
Question 55
Single choice
A company has thousands of unlabeled customer comments and wants to group comments that discuss similar issues.
Which machine learning technique will meet this requirement?
A
Supervised learning
B
Unsupervised learning
C
Reinforcement learning
D
Transfer learning
Reveal answer detailsClose answer details
Correct answerB
Explanation
Unsupervised learning is the correct answer because the data is unlabeled and the goal is to discover natural groupings in the comments. Clustering is a common unsupervised technique for this type of task. Option B (Correct): "Unsupervised learning": This is correct because it can identify patterns and group similar data without predefined labels. Option A: "Supervised learning" is incorrect because supervised learning requires labeled examples. Option C: "Reinforcement learning" is incorrect because it focuses on learning from rewards and actions over time. Option D: "Transfer learning" is incorrect because it is a model adaptation strategy, not the core technique for grouping unlabeled comments.
Question 56
Single choice
An AI practitioner needs to improve the accuracy of a natural language generation model. The model uses rapidly changing inventory data.
Which technique will improve the model's accuracy?
A
Transfer learning
B
Federated learning
C
Retrieval Augmented Generation (RAG)
D
One-shot prompting
Reveal answer detailsClose answer details
Correct answerC
Explanation
RAG enhances a language model by fetching up-to-date, domain-specific data (e.g., current inventory) at inference time and conditioning the generation on those facts, ensuring the output reflects the latest information and improving accuracy without retraining the core model.
Question 57
Single choice
A company is using a large collection of web data to produce a large language model (LLM). The company completes a random initialization of the model's weights. Next, the company fits the model to the data through a language objective modelling function.
Which stage of the model training process does this scenario describe?
A
Fine-tuning
B
Pre-training
C
Model selection
D
Deployment
Reveal answer detailsClose answer details
Correct answerB
Explanation
The model is being trained from randomly initialized weights on a large corpus using a general language modeling objective, which corresponds to the pre-training phase where foundational knowledge is learned.
Question 58
Hotspot
HOTSPOT
Select the correct AWS service or tool from the following list for each use case. Select each AWS service or tool one time or not at all.
Reveal answer detailsClose answer details
Explanation
Apply human feedback across the ML lifecycle to improve the accuracy and relevancy of models. -> Amazon SageMaker Ground Truth Implement safeguards that align with responsible AI policies. -> Amazon Bedrock Guardrails Detect potential bias during data preparation and model training. -> Amazon SageMaker Clarify
Amazon SageMaker Ground Truth is used for human-in-the-loop data labeling and model improvement.
Amazon Bedrock Guardrails are designed to enforce responsible AI safeguards. Amazon SageMaker Clarify detects and helps mitigate bias during data preparation and model training.
Question 59
Single choice
A company plans to build an AI model for the company's global customer base. The company wants to train the model on a dataset that reflects user diversity.
Which action will meet this requirement?
A
Balance class representation in the dataset.
B
Use a regional dataset with complete data.
C
Oversample majority class data.
D
Drop minority class data records.
Reveal answer detailsClose answer details
Correct answerA
Explanation
Balancing class representation ensures that all groups in the dataset are adequately represented, which helps the model learn patterns across diverse users and reduces bias.
Question 60
Single choice
What is the primary purpose of system prompts in generative AI applications?
A
To authenticate user credentials to access responses from AI
B
To generate random responses by AI
C
To define the role and behavioral boundaries of AI
D
To compress output data from AI
Reveal answer detailsClose answer details
Correct answerC
Explanation
System prompts are used to establish the role, tone, rules, and behavioral constraints of the AI, ensuring it responds in a controlled and consistent manner aligned with the application's intended purpose.
Question 61
Multiple choice
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? (Choose two.)
A
AWS CloudTrail
B
Amazon CloudWatch
C
AWS Audit Manager
D
Amazon S3 Intelligent-Tiering
E
Amazon S3 Standard
Reveal answer detailsClose answer details
Correct answersA, D
Explanation
AWS CloudTrail is the AWS service designed for logging and monitoring API calls made to AWS services, including Amazon Bedrock. CloudTrail records detailed information about the API requests, including the identity of the requester, the time of the request, and the source IP address. This service is ideal for logging all requests made to the Amazon Bedrock API and meets the logging requirement.
Amazon S3 Intelligent-Tiering is a storage class designed for storing data that has unpredictable access patterns. It automatically moves data between two access tiers (frequent and infrequent) based on usage, which helps reduce costs while ensuring data is still available when needed. For retaining logs securely over 5 years at the lowest possible cost, this storage class provides an efficient way to handle long-term storage requirements without incurring unnecessary costs.
Question 62
Single choice
A company wants to create an ML model to predict customer satisfaction. The company needs fully automated model tuning.
Which AWS service meets these requirements?
A
Amazon Personalize
B
Amazon SageMaker
C
Amazon Athena
D
Amazon Comprehend
Reveal answer detailsClose answer details
Correct answerB
Explanation
Amazon SageMaker provides a fully managed environment for building, training, and deploying machine learning models, including automatic model tuning. Specifically, SageMaker includes a feature called Automatic Model Tuning (or Hyperparameter Optimization), which automates the process of finding the best hyperparameters for your machine learning model. This is essential when you want to optimize the model's performance without manual intervention.
Amazon SageMaker allows you to automate the training process and hyperparameter tuning, which aligns perfectly with the company's need for fully automated model tuning.
Question 63
Multiple choice
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.)
A
Amazon Translate
B
Amazon Bedrock
C
Amazon Transcribe
D
Amazon Polly
E
Amazon Textract
Reveal answer detailsClose answer details
Correct answersB, E
Question 64
Hotspot
HOTSPOT
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.)
1. Diffusion model 2. Object detection model 3. Transformer-based model
Reveal answer detailsClose answer details
Explanation
Create high-quality images that are influenced by the generated slogans and product -> Diffusion model Create contextually relevant slogans based on the advertisement product -> Transformer-based model Ensure that company brand elements are properly placed in the images -> Object detection model
Diffusion models are state-of-the-art for high-quality image generation.
Transformer-based models excel at natural language processing, making them suitable for generating contextually relevant slogans.
Object detection models are designed to identify and ensure correct placement of specific objects (e.g., brand elements) within images.
Question 65
Single choice
A company wants to create a chatbot to answer employee questions about company policies. Company policies are updated frequently. The chatbot must reflect the changes in near real time. The company wants to choose a large language model (LLM).
Which solution meets these requirements?
A
Fine-tune an LLM on the company policy text by using Amazon SageMaker.
B
Select a foundation model (FM) from Amazon Bedrock to build an application.
C
Create a Retrieval Augmented Generation (RAG) workflow by using Amazon Bedrock Knowledge Bases.
D
Use Amazon Q Business to build a custom Q App.
Reveal answer detailsClose answer details
Correct answerC
Explanation
A RAG workflow with Amazon Bedrock Knowledge Bases allows the chatbot to access the most recent company policy documents dynamically, ensuring responses reflect policy updates in near real time without the need to retrain or fine-tune the LLM each time content changes.
Question 66
Single choice
An education company waftion. 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?
A
Computer vision model
B
Large multi-modal language model
C
Diffusion model
D
Text-to-speech model
Reveal answer detailsClose answer details
Correct answerB
Explanation
A large multi-modal language model can natively ingest both text and images as inputs and generate text outputs, making it ideal for a system that accepts typed questions or photos of questions and returns written answers with explanations.
Question 67
Single choice
A company wants to use its documents as a knowledge base for a large language model (LLM) in a Retrieval Augmented Generation (RAG) solution.
Which solution will meet these requirements?
A
Encrypt each document with encryption keys.
B
Create embeddings from document chunks.
C
Label the document data with metadata.
D
Generate one-hot encoding for each document
Reveal answer detailsClose answer details
Correct answerB
Explanation
In a RAG solution, documents are split into chunks and converted into embeddings so they can be indexed and retrieved based on semantic similarity to user queries.
Question 68
Hotspot
HOTSPOT
A company is developing an AI application to help the company approve or deny personal loans. The application must follow the principles of responsible AI.
Select the correct responsible AI principle from the following list for each action. Select each responsible AI principle one time or not at all.
Reveal answer detailsClose answer details
Explanation
Encrypt the application data, and isolate the application on a private network -> Privacy and security Evaluate how different population groups will be impacted -> Fairness Test the application with unexpected data to ensure the application will work in unique situations -> Robustness
Protecting data and networks is part of privacy and security.
Assessing impacts on different groups ensures fairness.
Testing with unexpected data checks the application's robustness.
Question 69
Single choice
A company is developing a mobile ML app that uses a phone's camera to diagnose and treat insect bites. The company wants to train an image classification model by using a diverse dataset of insect bite photos from different genders, ethnicities, and geographic locations around the world.
Which principle of responsible AI does the company demonstrate in this scenario?
A
Fairness
B
Explainability
C
Governance
D
Transparency
Reveal answer detailsClose answer details
Correct answerA
Explanation
The company is actively seeking to ensure that the image classification model is trained on a diverse dataset that includes insect bite photos from various genders, ethnicities, and geographic locations. This reflects the fairness principle of responsible AI, which emphasizes creating models that make unbiased decisions across all demographic groups. By including a diverse range of data, the company is aiming to prevent biases that could lead to inaccurate diagnoses or treatments for certain groups of people.
Fairness ensures that AI systems do not discriminate based on race, gender, geography, or other characteristics.
Question 70
Hotspot
HOTSPOT
A company is building an AI assistant application. The company must implement a core governance process for the application development project. The company must ensure that the application aligns with responsible AI practices.
Select and order the steps from the following list to correctly describe the implementation of a core governance process for this use case. Select each step one time.
Reveal answer detailsClose answer details
Question 71
Single choice
A company is introducing a mobile app that helps users learn foreign languages. The app makes text more coherent by calling a large language model (LLM). The company collected a diverse dataset of text and supplemented the dataset with examples of more readable versions. The company wants the LLM output to resemble the provided examples.
Which metric should the company use to assess whether the LLM meets these requirements?
A
Value of the loss function
B
Semantic robustness
C
Recall-Oriented Understudy for Gisting Evaluation (ROUGE) score
D
Latency of the text generation
Reveal answer detailsClose answer details
Correct answerC
Explanation
ROUGE is a set of metrics that evaluates the quality of summaries by comparing the overlap of n-grams, word sequences, and word pairs between the model output and reference examples. Since the company is working on a language model that improves the coherence of text and wants the output to resemble the provided examples (which are more readable versions of the original text), ROUGE is the most appropriate metric. It assesses how closely the generated text matches the reference text in terms of content and readability.
ROUGE score is commonly used to evaluate the performance of models in tasks like summarization, where the goal is to ensure the generated text aligns closely with human-provided examples.
Question 72
Single choice
A company is developing an ML model to predict heart disease risk. The model uses patient data, such as age, cholesterol, blood pressure, smoking status, and exercise habits. The dataset includes a target value that indicates whether a patient has heart disease.
Which ML technique will meet these requirements?
A
Unsupervised learning
B
Supervised learning
C
Reinforcement learning
D
Semi-supervised learning
Reveal answer detailsClose answer details
Correct answerB
Explanation
Supervised learning is used when the dataset includes both input features (like age, cholesterol, blood pressure, etc.) and a target value indicating the presence of heart disease. The model learns to predict the target value from labeled examples.
Question 73
Single choice
Which functionality does Amazon SageMaker Clarify provide?
A
Integrates a Retrieval Augmented Generation (RAG) workflow
B
Monitors the quality of ML models in production
C
Documents critical details about ML models
D
Identifies potential bias during data preparation
Reveal answer detailsClose answer details
Correct answerD
Explanation
Exploratory data analysis (EDA) involves understanding the data by visualizing it, calculating statistics, and creating correlation matrices. This stage helps identify patterns, relationships, and anomalies in the data, which can guide further steps in the ML pipeline. Option C (Correct): "Exploratory data analysis":This is the correct answer as the tasks described (correlation matrix, calculating statistics, visualizing data) are all part of the EDA process. Option A:"Data pre-processing" is incorrect because it involves cleaning and transforming data, not initial analysis. Option B:"Feature engineering" is incorrect because it involves creating new features from raw data, not analyzing the data's existing structure. Option D:"Hyperparameter tuning" is incorrect because it refers to optimizing model parameters, not analyzing the data.
References: Stages of the Machine Learning Pipeline:AWS outlines EDA as the initial phase of understanding and exploring data before moving to more specific preprocessing, feature engineering, and model training stages.
An education company is building a chatbot whose target audience is teenagers. The company is training a custom large language model (LLM). The company wants the chatbot to speak in the target audience's language style by using creative spelling and shortened words.
Which metric will assess the LLM's performance?
A.
F1 score
B.
BERTScore
C.
Recall-Oriented Understudy for Gisting Evaluation (ROUGE)
D.
Bilingual Evaluation Understudy (BLEU) score
Correct Answer: D
Explanation
Explanation/Reference:
BLEU evaluates surface-level n-gram overlap between the LLM's outputs and reference examples--in this case, targets written in creative spelling and shorthand, making it well suited to measure how closely the model's style matches the teenager-oriented language.
QUESTION 2
A company uses Amazon SageMaker AI to generate article summaries in multiple languages. The company needs a metric to evaluate the quality of the summary translations in multiple languages.
Which evaluation metric will meet these requirements?
A.
Recall-Oriented Understudy for Gisting Evaluation (ROUGE)
B.
Bilingual evaluation understudy (BLEU)
C.
Area Under the ROC Curve (AUC)
D.
Precision
Correct Answer: B
Explanation
Explanation/Reference:
Bilingual Evaluation Understudy measures how closely a generated translation matches one or more high-quality reference translations, making it well suited for evaluating the quality of multilingual summary translations.
QUESTION 3
A company uses foundation models (FMs) to automate daily tasks. An AI practitioner at the company is creating system instructions that include context that is 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?
A.
Knowledge Bases
B.
Guardrails
C.
Playgrounds
D.
Prompt management
Correct Answer: D
Explanation
Explanation/Reference:
Prompt management in Amazon Bedrock lets you create, save, version, and reuse prompts, including system instructions and task context, across repeated interactions.
QUESTION 4
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.
Which solution meets these requirements?
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.
Correct Answer: B
Explanation
Explanation/Reference:
Explainable AI techniques provide transparency by identifying and displaying the specific factors that influenced the generative AI model's credit limit decisions, making the decision-making process understandable to customers.
QUESTION 5
A company wants to develop an AI assistant for employees to query internal data.
Which AWS service will meet this requirement?
A.
Amazon Rekognition
B.
Amazon Textract
C.
Amazon Lex
D.
Amazon Q Business
Correct Answer: D
Explanation
Explanation/Reference:
Amazon Q Business is designed to build generative AI assistants for querying and interacting with internal organizational data, making it the ideal service for creating an AI assistant for employees to access company information.
QUESTION 6
A company has built a chatbot that can respond to natural language questions with images. The company wants to ensure that the chatbot does not return inappropriate or unwanted images.
Which solution will meet these requirements?
A.
Implement moderation APIs.
B.
Retrain the model with a general public dataset.
C.
Perform model validation.
D.
Automate user feedback integration.
Correct Answer: A
Explanation
Explanation/Reference:
Moderation APIs, such as Amazon Rekognition's Content Moderation API, can help filter and block inappropriate or unwanted images from being returned by a chatbot. These APIs are specifically designed to detect and manage undesirable content in images. Option A (Correct): "Implement moderation APIs":This is the correct answer because moderation APIs are designed to identify and filter inappropriate content, ensuring the chatbot does not return unwanted images. Option B:"Retrain the model with a general public dataset" is incorrect because retraining does not directly prevent inappropriate content from being returned. Option C:"Perform model validation" is incorrect as it ensures model correctness, not content moderation. Option D:"Automate user feedback integration" is incorrect because user feedback does not prevent inappropriate images in real-time.
References: AWS Content Moderation Services:AWS provides moderation APIs for filtering unwanted content from applications.
QUESTION 7
A company is analyzing financial transaction records. The company categorizes the records as either personal or business. The company inserts the categories into the transaction records.
Which data preparation step does this describe?
A.
Data encoding
B.
Data labeling
C.
Data normalization
D.
Data balancing
Correct Answer: B
Explanation
Explanation/Reference:
Assigning categories such as "personal" or "business" to financial transaction records is an example of data labeling, where each data point is tagged with a specific label for use in machine learning or data analysis tasks.
QUESTION 8
An online learning company with large volumes of education materials wants to use enterprise search.
Which AWS service meets these requirements?
A.
Amazon Comprehend
B.
Amazon Textract
C.
Amazon Kendra
D.
Amazon Personalize
Correct Answer: C
Explanation
Explanation/Reference:
Amazon Kendra is an intelligent enterprise search service that enables organizations to search large volumes of unstructured data, such as educational materials, making it ideal for enterprise search needs.
QUESTION 9
A bank is building a chatbot to answer customer questions about opening a bank account. The chatbot will use public bank documents to generate responses. The company will use Amazon Bedrock and prompt engineering to improve the chatbot's responses.
Which prompt engineering technique meets these requirements?
A.
Complexity-based prompting
B.
Zero-shot prompting
C.
Few-shot prompting
D.
Directional stimulus prompting
Correct Answer: C
Explanation
Explanation/Reference:
Few-shot prompting involves providing the generative AI model with several examples (drawn from public bank documents) to guide it in generating more accurate and relevant responses. This technique helps the chatbot better align its answers with the desired content and format.
QUESTION 10
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?
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.
Correct Answer: D
Explanation
Explanation/Reference:
Provisioned Throughput is priced lower per request when you have a predictable, steady volume of calls. By committing to a fixed throughput level, you secure the necessary capacity at a reduced unit cost compared to on-demand, making it the most cost-effective choice for steady-minute usage.
QUESTION 11
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?
A.
Temperature
B.
Batch size
C.
Learning rate
D.
Optimizer type
Correct Answer: A
Explanation
Explanation/Reference:
The "temperature" parameter controls the randomness and diversity of outputs generated by a large language model. Increasing the temperature produces more diverse and creative responses, while lowering it makes the outputs more focused and deterministic.
QUESTION 12
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 one time.
Correct Answer:
Explanation
Explanation/Reference:
"Classify the following text as either sports, politics, or entertainment: [input text]." Correct Answer: Zero-shot learning Zero-shot learning involves providing the model with a task and no prior examples, relying entirely on the model's pre-trained knowledge to perform the classification. "A [image 1], [image 2], and [image 3] are examples of [target class]. Classify the following image as [target class]." Few-shot learning provides the model with a few examples (image 1, image 2, and image 3) before asking it to classify a new instance, helping it generalize to the task with minimal examples.
"[Question.] [Instructions to follow.] Think step by step and walk me through your thinking." Correct Answer: Chain-of-thought reasoning Chain-of-thought reasoning encourages the model to break down its reasoning process step by step, enhancing its ability to solve complex tasks logically.
QUESTION 13
A company wants to implement a single environment for both data and AI development. Developers across different teams must be able to access the environment and work together. The developers must be able to build and share models and generative AI applications securely in the environment.
Which AWS solution will meet these requirements?
A.
Amazon Lex
B.
Amazon SageMaker Unified Studio
C.
Amazon Bedrock PartyRock
D.
Amazon Q Developer
Correct Answer: B
Explanation
Explanation/Reference:
Amazon SageMaker Unified Studio provides a collaborative, centralized environment for data and AI development where multiple teams can securely build, share, and manage models and generative AI applications.
QUESTION 14
A research company is growing microbiological cultures. The company captures images of the cultures without any prior labeled data about growth areas. The company needs to identify the regions of the images that show culture growth.
Which ML technique will meet these requirements?
A.
Logistic regression
B.
Decision tree
C.
Clustering
D.
Dimensionality reduction
Correct Answer: C
Explanation
Explanation/Reference:
Clustering can group similar pixel patterns or image regions without labeled data, allowing the model to identify areas that share visual characteristics associated with culture growth.
QUESTION 15
Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?
A.
Integration with Amazon S3 for object storage
B.
Support for geospatial indexing and queries
C.
Scalable index management and nearest neighbor search capability
D.
Ability to perform real-time analysis on streaming data
Correct Answer: C
Explanation
Explanation/Reference:
Amazon OpenSearch Service (formerly Amazon Elasticsearch Service) has introduced capabilities to support vector search, which allows companies to build vector database applications. This is particularly useful in machine learning, where vector representations (embeddings) of data are often used to capture semantic meaning. Scalable index management and nearest neighbor search capabilityare the core features enabling vector database functionalities in OpenSearch. The service allows users to index high-dimensional vectors and perform efficient nearest neighbor searches, which are crucial for tasks such as recommendation systems, anomaly detection, and semantic search. Here is why option C is the correct answer: Scalable Index Management:OpenSearch Service supports scalable indexing of vector data. This means you can index a large volume of high-dimensional vectors and manage these indexes in a cost-effective and performance-optimized way. The service leverages underlying AWS infrastructure to ensure that indexing scales seamlessly with data size. Nearest Neighbor Search Capability:OpenSearch Service's nearest neighbor search capability allows for fast and efficient searches over vector data. This is essential for applicationslike product recommendation engines, where the system needs to quickly find the most similar items based on a user's query or behavior.
References: The other options do not directly relate to building vector database applications: Option A. Integration with Amazon S3 for object storageis about storing data objects, not vector-based searching or indexing. Option B. Support for geospatial indexing and queriesis related to location-based data, not vectors used in machine learning. Option D. Ability to perform real-time analysis on streaming datarelates to analyzing incoming data streams, which is different from the vector search capabilities.
QUESTION 16
A company wants to build a chatbot that can understand spoken user input and respond with synthesized speech.
Which combination of AWS services should the company use? (Select TWO.)
A.
Amazon Lex
B.
Amazon Polly
C.
Amazon Macie
D.
AWS Artifact
E.
Amazon S3 Glacier
Correct Answer: AB
Explanation
Explanation/Reference:
Amazon Lex and Amazon Polly are the correct answers because Lex can build conversational interfaces and Polly can convert the chatbot's text responses into speech. Together they support a voice-enabled chatbot experience. Option A (Correct): "Amazon Lex": This is correct because it supports conversational interfaces and can process user utterances. Option B (Correct): "Amazon Polly": This is correct because it converts generated text responses into speech. Option C: "Amazon Macie" is incorrect because it is used for sensitive data discovery and protection. Option D: "AWS Artifact" is incorrect because it provides compliance documentation. Option E: "Amazon S3 Glacier" is incorrect because it is archival storage and not part of voice interaction.
QUESTION 17
A company has a team of AI practitioners that builds and maintains AI applications in an AWS account.
The company must keep records of the actions that each AI practitioner takes in the AWS account for audit purposes.
Which AWS service will meet these requirements?
A.
AWS CloudTrail
B.
AWS Config
C.
AWS Audit Manager
D.
AWS Trusted Advisor
Correct Answer: A
Explanation
Explanation/Reference:
AWS CloudTrail records and logs all API calls and user actions in an AWS account, providing a complete audit trail of activities performed by each AI practitioner for compliance and audit purposes.
QUESTION 18
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?
A.
Computer vision
B.
Natural language processing (NLP)
C.
Recommendation systems
D.
Fraud detection
Correct Answer: B
Explanation
Explanation/Reference:
Automatically analyzing and classifying free-text feedback into thematic categories is a core NLP task (text classification).
QUESTION 19
A company wants to compare two foundation models for a summarization use case. The company wants people to judge which model produces summaries that are more useful for employees.
Which evaluation approach should the company use?
A.
Human evaluation with custom prompts
B.
Only measure invocation latency
C.
Only compare the number of model parameters
D.
Only increase the context window
Correct Answer: A
Explanation
Explanation/Reference:
Human evaluation with custom prompts is the correct answer because usefulness is a qualitative requirement that depends on the preferences and needs of the company's users. Human reviewers are best suited to assess that kind of output quality. Option A (Correct): "Human evaluation with custom prompts": This is correct because people can directly assess usefulness and quality. Option B: "Only measure invocation latency" is incorrect because speed does not measure summary usefulness. Option C: "Only compare the number of model parameters" is incorrect because size alone does not determine output quality. Option D: "Only increase the context window" is incorrect because that is not an evaluation method.
QUESTION 20
Which AWS feature records details about ML instance data for governance and reporting?
A.
Amazon SageMaker Model Cards
B.
Amazon SageMaker Debugger
C.
Amazon SageMaker Model Monitor
D.
Amazon SageMaker JumpStart
Correct Answer: A
Explanation
Explanation/Reference:
Amazon SageMaker Model Cards provide a centralized and standardized repository for documenting machine learning models. They capture key details such as the model's intended use, training and evaluation datasets, performance metrics, ethical considerations, and other relevant information. This documentation facilitates governance and reporting by ensuring that all stakeholders have access to consistent and comprehensive information about each model. While Amazon SageMaker Debugger is used for real-time debugging and monitoring during training, and Amazon SageMaker Model Monitor tracks deployed models for data and prediction quality, neither offers the comprehensive documentation capabilities of Model Cards. Amazon SageMaker JumpStart provides pre-built models and solutions but does not focus on governance documentation.
References: Amazon SageMaker Model Cards
QUESTION 21
Which phase of the ML lifecycle determines compliance and regulatory requirements?
A.
Feature engineering
B.
Model training
C.
Data collection
D.
Business goal identification
Correct Answer: C
Explanation
Explanation/Reference:
The data collection phase of the ML lifecycle is the most relevant for determining compliance and regulatory requirements. During this phase, organizations must ensure that the data being collected and used for training the model complies with legal and regulatory standards, such as data privacy laws (e.g., GDPR, HIPAA), industry-specific regulations, and ethical considerations. The organization must also verify that they have the proper consent to use the data and that the data does not contain any biases or violate any regulations.
QUESTION 22
A retail company wants to use a generative AI model in Amazon Bedrock to automatically generate product titles and descriptions. The marketing team needs the ability to review, approve, and revise AI-generated content before it is published.
Which AWS service will help integrate human review into the workflow?
A.
Amazon SageMaker Ground Truth
B.
Amazon Augmented AI (Amazon A2I)
C.
Amazon Lex
D.
AWS IAM Access Analyzer
Correct Answer: B
Explanation
Explanation/Reference:
Amazon Augmented AI (Amazon A2I) provides built-in workflows for adding human review to AI processes, including generative AI content. When a model generates product descriptions, A2I can route outputs for human approval before publishing. This ensures quality control and brand compliance and fits scenarios where human validation is required in a content generation pipeline.
QUESTION 23
A company wants an application to generate several different slogan ideas from the same prompt. The company wants the model to produce more varied outputs.
Which inference parameter adjustment should the company make?
A.
Decrease the temperature
B.
Increase the temperature
C.
Decrease the number of input tokens
D.
Use batch inference
Correct Answer: B
Explanation
Explanation/Reference:
Increasing the temperature is the correct answer because higher temperature values generally make model outputs more diverse and less deterministic. This is useful when a business wants multiple creative variations. Option B (Correct): "Increase the temperature": This is correct because a higher temperature encourages more varied generations. Option A: "Decrease the temperature" is incorrect because it usually makes outputs more predictable and repetitive. Option C: "Decrease the number of input tokens" is incorrect because that does not directly control creativity. Option D: "Use batch inference" is incorrect because batch inference relates to processing mode, not output diversity.
QUESTION 24
A media company wants to analyze viewer behavior and demographics to recommend personalized content. The company wants to deploy a customized ML model in its production environment. The company also wants to observe if the model quality drifts over time.
Which AWS service or feature meets these requirements?
A.
Amazon Rekognition
B.
Amazon SageMaker Clarify
C.
Amazon Comprehend
D.
Amazon SageMaker Model Monitor
Correct Answer: D
Explanation
Explanation/Reference:
Amazon SageMaker Model Monitor continuously tracks deployed ML models in production to detect data drift, model drift, and quality degradation over time. This is essential for ensuring that the recommendation model remains accurate as viewer behavior and demographics change. Model Monitor helps detect anomalies and provides alerts when model performance deviates from expected trends, allowing the company to take corrective action.
QUESTION 25
A company designed an AI-powered agent to answer customer inquiries based on product manuals.
Which strategy can improve customer confidence levels in the AI-powered agent's responses?
A.
Writing the confidence level in the response
B.
Including referenced product manual links in the response
C.
Designing an agent avatar that looks like a computer
D.
Training the agent to respond in the company's language style
Correct Answer: B
Explanation
Explanation/Reference:
Providing direct links to the exact sections of the product manual that support each answer lets customers verify and trust the information, boosting confidence in the AI agent's responses.
QUESTION 26
A company is exploring Amazon Nova models in Amazon Bedrock. The company needs a multimodal model that supports multiple languages.
Which Nova model will meet these requirements MOST cost-effectively?
A.
Nova Lite
B.
Nova Pro
C.
Nova Canvas
D.
Nova Reel
Correct Answer: A
Explanation
Explanation/Reference:
Nova Lite is a multimodal model in Amazon Bedrock that supports multiple languages and is designed to be the most cost-effective option among the Nova models, making it suitable for organizations seeking efficient, scalable, and economical AI solutions.
QUESTION 27
A company is using AI to improve its services. The company needs to ensure that the AI system is fair and explainable. The company wants to require training for members of the AI system development team.
Which training will meet these requirements?
A.
Training on advanced coding skills
B.
Training on data privacy and encryption protocols
C.
Training on bias awareness and responsible AI
D.
Training on advanced ML algorithms
Correct Answer: C
Explanation
Explanation/Reference:
Training on bias awareness and responsible AI equips the development team with the knowledge and practices necessary to ensure that AI systems are fair, unbiased, and explainable, which aligns with the company's requirements.
QUESTION 28
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.
Which AWS service meets these requirements?
A.
Amazon Macie
B.
AWS Artifact
C.
AWS Secrets Manager
D.
AWS Config
Correct Answer: B
Explanation
Explanation/Reference:
AWS Artifact provides on-demand access to AWS's compliance reports and certifications (for example, ISO, SOC, GDPR), enabling the company to demonstrate its generative AI workloads and data handling practices adhere to international regulatory requirements.
QUESTION 29
A company needs to apply numerical transformations to a set of images to transpose and rotate the images.
Which solution will meet these requirements in the MOST operationally efficient way?
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.
Correct Answer: B
Explanation
Explanation/Reference:
An AWS Lambda function can efficiently perform numerical image transformations such as transposing and rotating images at scale without the need to build or train a neural network, making it the most operationally efficient solution.
QUESTION 30
A company needs to select a generative AI model to build an application. The application must provide responses to users in real time.
Which model characteristic should the company consider to meet these requirements?
A.
Model complexity
B.
Innovation speed
C.
Inference speed
D.
Training time
Correct Answer: C
Explanation
Explanation/Reference:
For real-time applications, the model's inference speed - ability to generate responses with low latency - is the critical characteristic to ensure users receive answers promptly.
QUESTION 31
A company wants to allow employees to privately access Amazon Bedrock models only through the corporate VPC and without internet exposure.
Which solution meets this requirement?
A.
Use AWS CloudTrail
B.
Use AWS PrivateLink
C.
Use an Amazon S3 VPC endpoint
D.
Deploy EC2 gateway endpoints
Correct Answer: B
Explanation
Explanation/Reference:
AWS PrivateLink enables private, internal-only connectivity to Bedrock APIs, ensuring no traffic traverses the public internet. This is essential for secure enterprise deployments.
QUESTION 32
An AI practitioner is developing a prompt for large language models (LLMs) in Amazon Bedrock. The AI practitioner must ensure that the prompt works across all Amazon Bedrock LLMs.
Which characteristic can differ across the LLMs?
A.
Maximum token count
B.
On-demand inference parameter support
C.
The ability to control model output randomness
D.
Compatibility with Amazon Bedrock Guardrails
Correct Answer: A
Explanation
Explanation/Reference:
Different large language models have varying maximum token limits, which affects how much input and output text a prompt can include, so prompts must account for these differences to work consistently across models.
QUESTION 33
A company needs to allow an application in a VPC to privately access AWS AI services without sending traffic over the public internet.
Which AWS feature should the company use?
A.
Internet gateway
B.
AWS PrivateLink
C.
Amazon CloudFront
D.
Amazon Route 53
Correct Answer: B
Explanation
Explanation/Reference:
AWS PrivateLink is the correct answer because it enables private connectivity from a VPC to supported AWS services without exposing traffic to the public internet. Option B (Correct): "AWS PrivateLink": This is correct because it provides private network access to supported services. Option A: "Internet gateway" is incorrect because it enables internet connectivity. Option C: "Amazon CloudFront" is incorrect because it is a content delivery service. Option D: "Amazon Route 53" is incorrect because it is a DNS service.
QUESTION 34
A company wants to train a model but must ensure sensitive training data never leaves its AWS Region.
Which approach meets these requirements?
A.
Use Amazon CloudFront with encryption
B.
Use Bedrock API with Regional endpoints and PrivateLink
C.
Export data to a local workstation for preprocessing
D.
Use Amazon Macie to mask sensitive fields before export
Correct Answer: B
Explanation
Explanation/Reference:
Amazon Bedrock operates regionally and, combined with PrivateLink, ensures all data stays within the customer's VPC and Region. This satisfies data residency and compliance requirements.
QUESTION 35
A company wants to use a large language model (LLM) to generate concise, feature-specific descriptions for the company's products.
Which prompt engineering technique meets these requirements?
A.
Create one prompt that covers all products. Edit the responses to make the responses more specific, concise, and tailored to each product.
B.
Create prompts for each product category that highlight the key features. Include the desired output format and length for each prompt response.
C.
Include a diverse range of product features in each prompt to generate creative and unique descriptions.
D.
Provide detailed, product-specific prompts to ensure precise and customized descriptions.
Correct Answer: B
Explanation
Explanation/Reference:
To generate concise, feature-specific descriptions for each product, the company should create prompts tailored to specific product categories. By highlighting the key features of each product category in the prompt, the model can focus on generating descriptions that are relevant and aligned with the unique attributes of each product. Additionally, specifying the desired output format and length ensures that the responses meet the company's requirements for conciseness and clarity.
Tailored prompts help ensure the model generates relevant and accurate descriptions by focusing on the most important features of each product category.
Desired output format and length ensure the responses are consistent and concise, as required.
QUESTION 36
A company has developed a neural network model to replace an existing decision tree model. The neural network model has a higher prediction accuracy compared to the decision tree model. However, the neural network model's decision process is not as explainable as the decision tree model's decision process.
Which tradeoff is the company making by adopting the neural network model?
A.
Higher compliance for lower interpretability
B.
Higher performance for lower portability
C.
Higher performance for lower interpretability
D.
Higher portability for lower interpretability
Correct Answer: C
Explanation
Explanation/Reference:
Neural networks typically provide higher predictive performance but are less transparent than decision trees, resulting in reduced interpretability of how decisions are made.
QUESTION 37
A company is using Amazon SageMaker Studio notebooks to build and train ML models. The company stores the data in an Amazon S3 bucket. The company needs to manage the flow of data from Amazon S3 to SageMaker Studio notebooks.
Which solution will meet this requirement?
A.
Use Amazon Inspector to monitor SageMaker Studio.
B.
Use Amazon Macie to monitor SageMaker Studio.
C.
Configure SageMaker to use a VPC with an S3 endpoint.
D.
Configure SageMaker to use S3 Glacier Deep Archive.
Correct Answer: C
Explanation
Explanation/Reference:
To manage the flow of data from Amazon S3 to SageMaker Studio notebooks securely, using a VPC with an S3 endpoint is the best solution.
QUESTION 38
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?
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.
Correct Answer: C
Explanation
Explanation/Reference:
Using a prebuilt AI assistant allows the company to deploy generative AI quickly without the time and cost of training custom models. This accelerates implementation, enabling measurable business impact such as improved customer engagement and increased revenue within the short 6-month timeframe.
QUESTION 39
Which option is a benefit of using Amazon SageMaker Model Cards to document AI models?
A.
Providing a visually appealing summary of a model's capabilities.
B.
Standardizing information about a model's purpose, performance, and limitations.
C.
Reducing the overall computational requirements of a model.
D.
Physically storing models for archival purposes.
Correct Answer: B
Explanation
Explanation/Reference:
Amazon SageMaker Model Cards provide a standardized way to document important details about an AI model, such as its purpose, performance, intended usage, and known limitations. This enables transparency and compliance while fostering better communication between stakeholders. It does not store models physically or optimize computational requirements.
References: AWS SageMaker Model Cards Documentation.
QUESTION 40
A logistics company wants to classify support emails as "urgent" or "non-urgent." The company has a labeled dataset of past emails.
Which ML method should the company use?
A.
Clustering
B.
Regression
C.
Binary classification
D.
Topic modeling
Correct Answer: C
Explanation
Explanation/Reference:
Binary classification is designed to separate data into two classes -- in this case, urgent vs. non-urgent. It uses labeled data to learn patterns distinguishing the two categories, aligning perfectly with the company's needs.
QUESTION 41
A financial company wants to build workflows for human review of ML predictions. The company wants to define confidence thresholds for its use case and adjust the thresholds over time.
Which AWS service meets these requirements?
A.
Amazon Personalize
B.
Amazon Augmented AI (Amazon A2I)
C.
Amazon Inspector
D.
AWS Audit Manager
Correct Answer: B
Explanation
Explanation/Reference:
Amazon Augmented AI (Amazon A2I) enables you to build workflows for human review of machine learning predictions, allowing you to define and adjust confidence thresholds for when human intervention is required.
QUESTION 42
A documentary filmmaker wants to reach more viewers. The filmmaker wants to automatically add subtitles and voice-overs in multiple languages to their films.
Which combination of steps will meet these requirements? (Choose two.)
A.
Use Amazon Transcribe and Amazon Translate to generate subtitles in other languages.
B.
Use Amazon Textract and Amazon Translate to generate subtitles in other languages.
C.
Use Amazon Polly to generate voice-overs in other languages.
D.
Use Amazon Translate to generate voice-overs in other languages.
E.
Use Amazon Textract to generate voice-overs in other languages.
Correct Answer: AC
Explanation
Explanation/Reference:
Use Amazon Transcribe and Amazon Translate to generate subtitles in other languages: Amazon Transcribe converts spoken dialogue to text (subtitles), and Amazon Translate can then translate these subtitles into multiple languages.
Use Amazon Polly to generate voice-overs in other languages: Amazon Polly converts translated text into lifelike speech, enabling the creation of multilingual voice-overs.
QUESTION 43
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?
A.
Measurement bias
B.
Sampling bias
C.
Observer bias
D.
Confirmation bias
Correct Answer: B
Explanation
Explanation/Reference:
Sampling bias is the correct type of bias affecting the model output when it disproportionately flags people from a specific ethnic group.
QUESTION 44
An AI practitioner is building an ML model. The AI practitioner wants to provide model transparency and explainability to stakeholders.
Which solution will meet these requirements?
A.
Present the model Shapley values.
B.
Provide the model accuracy measure.
C.
Provide the model confusion matrix.
D.
Provide a secure model inference endpoint.
Correct Answer: A
Explanation
Explanation/Reference:
Presenting the model Shapley values provides transparency and explainability by showing how each feature contributes to individual predictions, helping stakeholders understand the reasoning behind the model's outputs.
QUESTION 45
A chatbot returns overly generic responses. The company wants the model to produce industry-specific answers without retraining the model.
Which technique will improve response relevance?
A.
Zero-shot prompting
B.
Temperature = 0
C.
Few-shot prompting
D.
Increase max tokens
Correct Answer: C
Explanation
Explanation/Reference:
Few-shot prompting provides examples that teach the model how to respond in a specific domain or style. This improves accuracy and relevance without needing fine-tuning.
QUESTION 46
A company wants to fine-tune a foundation model (FM) for a specific use case. The company needs to deploy the FM on Amazon Bedrock for internal use.
Which solution will meet these requirements?
A.
Run responses that have been generated by a pre-trained FM through Amazon Bedrock Guardrails to create the custom FM.
B.
Use Amazon Personalize to customize the FM with custom data.
C.
Use conversational builder for Amazon Bedrock Agents to create the custom model.
D.
Use Amazon SageMaker AI to customize the FM. Then, import the trained model into Amazon Bedrock.
Correct Answer: D
Explanation
Explanation/Reference:
Amazon SageMaker AI provides full training and fine-tuning capabilities for foundation models using custom data, and the resulting trained model can then be imported and deployed in Amazon Bedrock for internal use.
QUESTION 47
A company creates video content. The company wants to use generative AI to generate new creative content and to reduce video creation time.
Which solution will meet these requirements in the MOST operationally efficient way?
A.
Use the Amazon Titan Image Generator model on Amazon Bedrock to generate intermediate images. Use video editing software to create videos.
B.
Use the Amazon Nova Canvas model on Amazon Bedrock to generate intermediate images. Use video editing software to create videos.
C.
Use the Amazon Nova Reel model on Amazon Bedrock to generate videos.
D.
Use the Amazon Nova Pro model on Amazon Bedrock to generate videos.
Correct Answer: C
Explanation
Explanation/Reference:
The Amazon Nova Reel model on Amazon Bedrock is specifically designed for generative video creation, enabling the company to efficiently generate new creative content and significantly reduce video creation time in an operationally efficient manner.
QUESTION 48
A company is creating an agent for its application by using Amazon Bedrock Agents. The agent is performing well, but the company wants to improve the agent's accuracy by providing some specific examples.
Which solution meets these requirements?
A.
Modify the advanced prompts for the agent to include the examples.
B.
Create a guardrail for the agent that includes the examples.
C.
Use Amazon SageMaker Ground Truth to label the examples.
D.
Run a script in AWS Lambda that adds the examples to the training dataset.
Correct Answer: A
Explanation
Explanation/Reference:
Embedding specific input-output examples directly into the agent's advanced prompt (few-shot prompting) guides the model toward more accurate behavior without retraining or additional tooling.
QUESTION 49
An ecommerce company receives multiple gigabytes of customer data daily. The company uses the data to train an ML model to forecast future product demand. The company needs a solution to perform inferences once each day.
Which inference type meets these requirements?
A.
Batch inference
B.
Asynchronous inference
C.
Real-time inference
D.
Serverless inference
Correct Answer: A
Explanation
Explanation/Reference:
Batch inference is designed for high-volume, scheduled predictions: you can point it at the day's gigabytes of data, run a job once daily, and generate all forecasts in one go without needing a persistent endpoint.
QUESTION 50
A company maintains a large product catalog with detailed descriptions. The company wants to build an AI assistant to answer customer questions about the products. However, the company's labeled training data is limited.
Which solution will meet these requirements with the LEAST implementation effort?
A.
Use a Retrieval Augmented Generation (RAG) architecture to query the product database at runtime. Provide relevant, unmodified product descriptions as context for the foundation model (FM).
B.
Fine-tune a foundation model (FM) on the restricted labeled data. Automatically refresh the model with novel product details weekly for accuracy.
C.
Deploy a foundation model (FM) for each product category. Implement a routing layer to direct customer queries to the appropriate specialized model.
D.
Create a new custom foundation model (FM) that is trained on the product database. Optimize the FM for minimal token usage during inference.
Correct Answer: A
Explanation
Explanation/Reference:
A RAG architecture is the least-effort solution because it uses the existing product catalog as the knowledge source at runtime, so the foundation model can answer questions with current product information without requiring extensive labeled data or custom model training.
QUESTION 51
What are tokens in the context of generative AI models?
A.
Tokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units.
B.
Tokens are the mathematical representations of words or concepts used in generative AI models.
C.
Tokens are the pre-trained weights of a generative AI model that are fine-tuned for specific tasks.
D.
Tokens are the specific prompts or instructions given to a generative AI model to generate output.
Correct Answer: A
Explanation
Explanation/Reference:
Tokens in generative AI models are the smallest units that the model processes, typically representing words, subwords, or characters. They are essential for the model to understand and generate language, breaking down text into manageable parts for processing. Option A (Correct): "Tokens are the basic units of input and output that a generative AI model operates on, representing words, subwords, or other linguistic units":This is the correct definition of tokens in the context of generative AI models. Option B:"Mathematical representations of words" describes embeddings, not tokens. Option C:"Pre-trained weights of a model" refers to the parameters of a model, not tokens. Option D:"Prompts or instructions given to a model" refers to the queries or commands provided to a model, not tokens.
References: Understanding Tokens in NLP:AWS provides detailed explanations of how tokens are used in natural language processing tasks by AI models, such as in Amazon Comprehend and other AWS AI services.
QUESTION 52
HOTSPOT
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.)
1. Convert meeting audio recordings to meeting text files by using Amazon Polly. 2. Convert meeting audio recordings to meeting text files by using Amazon Transcribe. 3. Store meeting audio recordings in an Amazon S3 bucket. 4. Store meeting audio recordings in an Amazon Elastic Block Store (Amazon EBS) volume. 5. Summarize meeting text files by using Amazon Bedrock. 6. Summarize meeting text files by using Amazon Lex.
Correct Answer:
QUESTION 53
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?
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.
Correct Answer: D
Explanation
Explanation/Reference:
Reinforcement learning from human feedback allows the model to continuously learn from real-time input provided by skilled moderators, aligning it with company-specific values and ethics while adapting to emerging trends in content.
QUESTION 54
In which stage of the generative AI model lifecycle are tests performed to examine the model's accuracy?
A.
Deployment
B.
Data selection
C.
Fine-tuning
D.
Evaluation
Correct Answer: D
Explanation
Explanation/Reference:
The evaluation stage is when you run tests and benchmarks, such as accuracy, precision, and other performance metrics, to measure how well the generative AI model performs on hold-out or validation data before moving on to deployment.
QUESTION 55
A company has thousands of unlabeled customer comments and wants to group comments that discuss similar issues.
Which machine learning technique will meet this requirement?
A.
Supervised learning
B.
Unsupervised learning
C.
Reinforcement learning
D.
Transfer learning
Correct Answer: B
Explanation
Explanation/Reference:
Unsupervised learning is the correct answer because the data is unlabeled and the goal is to discover natural groupings in the comments. Clustering is a common unsupervised technique for this type of task. Option B (Correct): "Unsupervised learning": This is correct because it can identify patterns and group similar data without predefined labels. Option A: "Supervised learning" is incorrect because supervised learning requires labeled examples. Option C: "Reinforcement learning" is incorrect because it focuses on learning from rewards and actions over time. Option D: "Transfer learning" is incorrect because it is a model adaptation strategy, not the core technique for grouping unlabeled comments.
QUESTION 56
An AI practitioner needs to improve the accuracy of a natural language generation model. The model uses rapidly changing inventory data.
Which technique will improve the model's accuracy?
A.
Transfer learning
B.
Federated learning
C.
Retrieval Augmented Generation (RAG)
D.
One-shot prompting
Correct Answer: C
Explanation
Explanation/Reference:
RAG enhances a language model by fetching up-to-date, domain-specific data (e.g., current inventory) at inference time and conditioning the generation on those facts, ensuring the output reflects the latest information and improving accuracy without retraining the core model.
QUESTION 57
A company is using a large collection of web data to produce a large language model (LLM). The company completes a random initialization of the model's weights. Next, the company fits the model to the data through a language objective modelling function.
Which stage of the model training process does this scenario describe?
A.
Fine-tuning
B.
Pre-training
C.
Model selection
D.
Deployment
Correct Answer: B
Explanation
Explanation/Reference:
The model is being trained from randomly initialized weights on a large corpus using a general language modeling objective, which corresponds to the pre-training phase where foundational knowledge is learned.
QUESTION 58
HOTSPOT
Select the correct AWS service or tool from the following list for each use case. Select each AWS service or tool one time or not at all.
Correct Answer:
Explanation
Explanation/Reference:
Apply human feedback across the ML lifecycle to improve the accuracy and relevancy of models. -> Amazon SageMaker Ground Truth Implement safeguards that align with responsible AI policies. -> Amazon Bedrock Guardrails Detect potential bias during data preparation and model training. -> Amazon SageMaker Clarify
Amazon SageMaker Ground Truth is used for human-in-the-loop data labeling and model improvement.
Amazon Bedrock Guardrails are designed to enforce responsible AI safeguards. Amazon SageMaker Clarify detects and helps mitigate bias during data preparation and model training.
QUESTION 59
A company plans to build an AI model for the company's global customer base. The company wants to train the model on a dataset that reflects user diversity.
Which action will meet this requirement?
A.
Balance class representation in the dataset.
B.
Use a regional dataset with complete data.
C.
Oversample majority class data.
D.
Drop minority class data records.
Correct Answer: A
Explanation
Explanation/Reference:
Balancing class representation ensures that all groups in the dataset are adequately represented, which helps the model learn patterns across diverse users and reduces bias.
QUESTION 60
What is the primary purpose of system prompts in generative AI applications?
A.
To authenticate user credentials to access responses from AI
B.
To generate random responses by AI
C.
To define the role and behavioral boundaries of AI
D.
To compress output data from AI
Correct Answer: C
Explanation
Explanation/Reference:
System prompts are used to establish the role, tone, rules, and behavioral constraints of the AI, ensuring it responds in a controlled and consistent manner aligned with the application's intended purpose.
QUESTION 61
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? (Choose two.)
A.
AWS CloudTrail
B.
Amazon CloudWatch
C.
AWS Audit Manager
D.
Amazon S3 Intelligent-Tiering
E.
Amazon S3 Standard
Correct Answer: AD
Explanation
Explanation/Reference:
AWS CloudTrail is the AWS service designed for logging and monitoring API calls made to AWS services, including Amazon Bedrock. CloudTrail records detailed information about the API requests, including the identity of the requester, the time of the request, and the source IP address. This service is ideal for logging all requests made to the Amazon Bedrock API and meets the logging requirement.
Amazon S3 Intelligent-Tiering is a storage class designed for storing data that has unpredictable access patterns. It automatically moves data between two access tiers (frequent and infrequent) based on usage, which helps reduce costs while ensuring data is still available when needed. For retaining logs securely over 5 years at the lowest possible cost, this storage class provides an efficient way to handle long-term storage requirements without incurring unnecessary costs.
QUESTION 62
A company wants to create an ML model to predict customer satisfaction. The company needs fully automated model tuning.
Which AWS service meets these requirements?
A.
Amazon Personalize
B.
Amazon SageMaker
C.
Amazon Athena
D.
Amazon Comprehend
Correct Answer: B
Explanation
Explanation/Reference:
Amazon SageMaker provides a fully managed environment for building, training, and deploying machine learning models, including automatic model tuning. Specifically, SageMaker includes a feature called Automatic Model Tuning (or Hyperparameter Optimization), which automates the process of finding the best hyperparameters for your machine learning model. This is essential when you want to optimize the model's performance without manual intervention.
Amazon SageMaker allows you to automate the training process and hyperparameter tuning, which aligns perfectly with the company's need for fully automated model tuning.
QUESTION 63
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.)
A.
Amazon Translate
B.
Amazon Bedrock
C.
Amazon Transcribe
D.
Amazon Polly
E.
Amazon Textract
Correct Answer: BE
QUESTION 64
HOTSPOT
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.)
1. Diffusion model 2. Object detection model 3. Transformer-based model
Correct Answer:
Explanation
Explanation/Reference:
Create high-quality images that are influenced by the generated slogans and product -> Diffusion model Create contextually relevant slogans based on the advertisement product -> Transformer-based model Ensure that company brand elements are properly placed in the images -> Object detection model
Diffusion models are state-of-the-art for high-quality image generation.
Transformer-based models excel at natural language processing, making them suitable for generating contextually relevant slogans.
Object detection models are designed to identify and ensure correct placement of specific objects (e.g., brand elements) within images.
QUESTION 65
A company wants to create a chatbot to answer employee questions about company policies. Company policies are updated frequently. The chatbot must reflect the changes in near real time. The company wants to choose a large language model (LLM).
Which solution meets these requirements?
A.
Fine-tune an LLM on the company policy text by using Amazon SageMaker.
B.
Select a foundation model (FM) from Amazon Bedrock to build an application.
C.
Create a Retrieval Augmented Generation (RAG) workflow by using Amazon Bedrock Knowledge Bases.
D.
Use Amazon Q Business to build a custom Q App.
Correct Answer: C
Explanation
Explanation/Reference:
A RAG workflow with Amazon Bedrock Knowledge Bases allows the chatbot to access the most recent company policy documents dynamically, ensuring responses reflect policy updates in near real time without the need to retrain or fine-tune the LLM each time content changes.
QUESTION 66
An education company waftion. 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?
A.
Computer vision model
B.
Large multi-modal language model
C.
Diffusion model
D.
Text-to-speech model
Correct Answer: B
Explanation
Explanation/Reference:
A large multi-modal language model can natively ingest both text and images as inputs and generate text outputs, making it ideal for a system that accepts typed questions or photos of questions and returns written answers with explanations.
QUESTION 67
A company wants to use its documents as a knowledge base for a large language model (LLM) in a Retrieval Augmented Generation (RAG) solution.
Which solution will meet these requirements?
A.
Encrypt each document with encryption keys.
B.
Create embeddings from document chunks.
C.
Label the document data with metadata.
D.
Generate one-hot encoding for each document
Correct Answer: B
Explanation
Explanation/Reference:
In a RAG solution, documents are split into chunks and converted into embeddings so they can be indexed and retrieved based on semantic similarity to user queries.
QUESTION 68
HOTSPOT
A company is developing an AI application to help the company approve or deny personal loans. The application must follow the principles of responsible AI.
Select the correct responsible AI principle from the following list for each action. Select each responsible AI principle one time or not at all.
Correct Answer:
Explanation
Explanation/Reference:
Encrypt the application data, and isolate the application on a private network -> Privacy and security Evaluate how different population groups will be impacted -> Fairness Test the application with unexpected data to ensure the application will work in unique situations -> Robustness
Protecting data and networks is part of privacy and security.
Assessing impacts on different groups ensures fairness.
Testing with unexpected data checks the application's robustness.
QUESTION 69
A company is developing a mobile ML app that uses a phone's camera to diagnose and treat insect bites. The company wants to train an image classification model by using a diverse dataset of insect bite photos from different genders, ethnicities, and geographic locations around the world.
Which principle of responsible AI does the company demonstrate in this scenario?
A.
Fairness
B.
Explainability
C.
Governance
D.
Transparency
Correct Answer: A
Explanation
Explanation/Reference:
The company is actively seeking to ensure that the image classification model is trained on a diverse dataset that includes insect bite photos from various genders, ethnicities, and geographic locations. This reflects the fairness principle of responsible AI, which emphasizes creating models that make unbiased decisions across all demographic groups. By including a diverse range of data, the company is aiming to prevent biases that could lead to inaccurate diagnoses or treatments for certain groups of people.
Fairness ensures that AI systems do not discriminate based on race, gender, geography, or other characteristics.
QUESTION 70
HOTSPOT
A company is building an AI assistant application. The company must implement a core governance process for the application development project. The company must ensure that the application aligns with responsible AI practices.
Select and order the steps from the following list to correctly describe the implementation of a core governance process for this use case. Select each step one time.
Correct Answer:
QUESTION 71
A company is introducing a mobile app that helps users learn foreign languages. The app makes text more coherent by calling a large language model (LLM). The company collected a diverse dataset of text and supplemented the dataset with examples of more readable versions. The company wants the LLM output to resemble the provided examples.
Which metric should the company use to assess whether the LLM meets these requirements?
A.
Value of the loss function
B.
Semantic robustness
C.
Recall-Oriented Understudy for Gisting Evaluation (ROUGE) score
D.
Latency of the text generation
Correct Answer: C
Explanation
Explanation/Reference:
ROUGE is a set of metrics that evaluates the quality of summaries by comparing the overlap of n-grams, word sequences, and word pairs between the model output and reference examples. Since the company is working on a language model that improves the coherence of text and wants the output to resemble the provided examples (which are more readable versions of the original text), ROUGE is the most appropriate metric. It assesses how closely the generated text matches the reference text in terms of content and readability.
ROUGE score is commonly used to evaluate the performance of models in tasks like summarization, where the goal is to ensure the generated text aligns closely with human-provided examples.
QUESTION 72
A company is developing an ML model to predict heart disease risk. The model uses patient data, such as age, cholesterol, blood pressure, smoking status, and exercise habits. The dataset includes a target value that indicates whether a patient has heart disease.
Which ML technique will meet these requirements?
A.
Unsupervised learning
B.
Supervised learning
C.
Reinforcement learning
D.
Semi-supervised learning
Correct Answer: B
Explanation
Explanation/Reference:
Supervised learning is used when the dataset includes both input features (like age, cholesterol, blood pressure, etc.) and a target value indicating the presence of heart disease. The model learns to predict the target value from labeled examples.
QUESTION 73
Which functionality does Amazon SageMaker Clarify provide?
A.
Integrates a Retrieval Augmented Generation (RAG) workflow
B.
Monitors the quality of ML models in production
C.
Documents critical details about ML models
D.
Identifies potential bias during data preparation
Correct Answer: D
Explanation
Explanation/Reference:
Exploratory data analysis (EDA) involves understanding the data by visualizing it, calculating statistics, and creating correlation matrices. This stage helps identify patterns, relationships, and anomalies in the data, which can guide further steps in the ML pipeline. Option C (Correct): "Exploratory data analysis":This is the correct answer as the tasks described (correlation matrix, calculating statistics, visualizing data) are all part of the EDA process. Option A:"Data pre-processing" is incorrect because it involves cleaning and transforming data, not initial analysis. Option B:"Feature engineering" is incorrect because it involves creating new features from raw data, not analyzing the data's existing structure. Option D:"Hyperparameter tuning" is incorrect because it refers to optimizing model parameters, not analyzing the data.
References: Stages of the Machine Learning Pipeline:AWS outlines EDA as the initial phase of understanding and exploring data before moving to more specific preprocessing, feature engineering, and model training stages.