Free AIF-C01 Practice Questions & Study Guide (2026)

Official Exam Details: (AIF-C01)

Exam Code:
AIF-C01
Passing Score:
70%
Total Question Bank:
521 Verified Questions
Exam Duration:
120 Minutes

Exam Format & Question Types

This certification exam features multiple-choice questions (single and multi-select), interactive Hotspots, Hot Areas, and Drag-and-Drop scenario configurations designed to test real-world technical competency.

AIF-C01 Certification Exam Study Guide & Architectural Master Blueprint

This comprehensive study guide and architectural blueprint is meticulously crafted for the AIF-C01 certification exam, targeting professionals who architect, develop, and deploy Artificial Intelligence solutions on a leading cloud platform. Success in AIF-C01 signifies advanced proficiency in leveraging a broad spectrum of AI/ML services to solve complex real-world problems.

1. Exam Overview & Profile

  • Target Audience: Experienced AI/ML engineers, data scientists, and solution architects with two or more years of hands-on experience designing, implementing, and optimizing AI solutions. Candidates should demonstrate a deep understanding of core AI concepts, machine learning workflows, and specialized AI service integrations.
  • Question Count: Typically 65-75 multiple-choice or multiple-response questions.
  • Duration: 170-180 minutes.
  • Passing Score Context: A scaled score of 750 out of 1000 is required. Questions are predominantly scenario-based, demanding practical application of knowledge to architectural challenges and operational dilemmas.

2. Deep-Dive Domain Breakdown

The AIF-C01 exam extensively covers the following architectural concepts, service selections, and core technologies:

  • Data Engineering for AI/ML: Master data ingestion, storage, processing, and labeling for diverse AI workloads. Key services include S3 for data lakes, Kinesis for real-time streaming, Glue for ETL, Athena for ad-hoc querying, and Lake Formation for governance. Understand schema evolution, data partitioning, and data quality best practices.
  • Machine Learning Fundamentals & Model Lifecycle: Deep knowledge of supervised, unsupervised, reinforcement learning, and deep learning algorithms. Focus on SageMaker for model training (distributed, hyperparameter tuning), deployment (endpoints, batch transform), and MLOps (Pipelines, Model Monitor, Feature Store). Evaluate models using appropriate metrics (e.g., F1, RMSE, R-squared) and understand bias/variance trade-offs.
  • Specialized AI Services & Architectures:
    • Natural Language Processing (NLP): Comprehend, Translate, Polly, Transcribe, Lex. Design architectures for text analysis, language translation, speech-to-text, and conversational AI. Understand Retrieval Augmented Generation (RAG) patterns and their application for LLMs.
    • Computer Vision (CV): Rekognition, Textract, Panorama. Architect solutions for image/video analysis, object detection, facial recognition, and document processing.
    • Generative AI: In-depth understanding of Foundation Models, prompt engineering, fine-tuning techniques (e.g., LoRA), and knowledge bases for LLMs (e.g., using Bedrock with vector databases). Architect end-to-end generative AI applications.
    • Forecasting & Recommendation: Forecast, Personalize. Apply these services for time-series prediction and hyper-personalized user experiences.
  • Security, Governance, & Cost Optimization: Implement robust security using IAM, KMS, and VPC private endpoints. Understand data encryption at rest and in transit. Apply responsible AI principles. Optimize costs using appropriate instance types (Spot for training), managed services, and data storage tiers.

3. High-Yield Exam Tips & Scenario Traps

  • RAG vs. Fine-tuning: Understand when to implement RAG for real-time, domain-specific knowledge retrieval (cost-effective for rapidly changing info) versus fine-tuning for adapting model behavior, style, or specific task performance (higher cost, robust model adaptation).
  • Real-time vs. Batch Processing: Distinguish between scenarios requiring SageMaker Endpoints for low-latency, real-time inference versus Batch Transform for high-throughput, offline predictions. Consider Kinesis Data Streams for real-time data ingestion.
  • Data Lake vs. Data Warehouse: Identify when S3/Glue/Athena (flexible, schema-on-read) is appropriate for diverse, raw data versus Redshift (structured, analytical, schema-on-write) for traditional business intelligence.
  • Scalability & Resilience: Prioritize distributed training strategies (SageMaker), auto-scaling for inference endpoints, and multi-AZ deployments for high availability.
  • Security Best Practices: Always opt for least privilege IAM policies, VPC endpoints for private network access, and KMS for managed encryption keys.
  • Cost Optimization: Look for opportunities to recommend managed services, utilize Spot Instances for non-critical or fault-tolerant training jobs, and select appropriate SageMaker instance families.

4. Frequently Asked Questions (FAQ)

Q: What is the primary focus of AIF-C01 compared to broader ML certifications?
A: AIF-C01 emphasizes the practical application and architectural integration of specialized, high-level AI services (like generative AI, vision, language, forecasting) beyond core machine learning algorithms. It tests your ability to select and combine these services for complex, end-to-end AI solutions, focusing on production readiness and operational excellence.
Q: Is hands-on experience crucial for passing this exam?
A: Absolutely. While theoretical knowledge is foundational, the AIF-C01 exam heavily relies on scenario-based questions that demand an understanding of how services interact, common pitfalls, and architectural trade-offs. Extensive hands-on practice with SageMaker, Bedrock, Rekognition, Comprehend, and other relevant services is indispensable.
Q: How important is understanding MLOps for AIF-C01?
A: MLOps is a critical domain. Expect questions on automating ML workflows (SageMaker Pipelines), monitoring model performance and data drift (SageMaker Model Monitor), managing feature engineering (SageMaker Feature Store), and implementing CI/CD for ML. A strong grasp of MLOps ensures robust, scalable, and maintainable AI systems.

Free AIF-C01 Sample Practice Questions

Test your knowledge with these sample scenario questions complete with verified explanations:

General Practice Questions

QUESTION 1

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

Which technique will solve the problem?

  • A. Data augmentation for imbalanced classes
  • B. Model monitoring for class distribution
  • C. Retrieval Augmented Generation (RAG)
  • D. Watermark detection for images
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅ **Data augmentation for imbalanced classes **

Reasoning: The problem states input data is biased, causing model bias in image generation. Data augmentation, specifically for imbalanced classes or attributes, directly addresses this by creating diverse synthetic samples for underrepresented groups. This balances the training dataset, enabling the model to learn more equitably and reduce bias in generated images. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Model monitoring detects bias in model outputs after deployment but doesn’t solve the root cause of biased training data. It’s a detection mechanism, not a mitigation technique for data bias.
  • Option C is incorrect: Retrieval Augmented Generation (RAG) primarily enhances factual accuracy in LLMs by integrating external knowledge during text generation. It is not a technique to address input data bias in image generation models.
  • Option D is incorrect: Watermark detection identifies embedded information in images, typically for copyright or authenticity. It is entirely unrelated to solving training data bias in generative AI models.

QUESTION 2

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.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Implementing moderation APIs, such as Amazon Rekognition Content Moderation, directly addresses the requirement. These services are purpose-built to detect and filter inappropriate, offensive, or unwanted visual content, proactively preventing the chatbot from returning undesirable images. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Retraining with a general public dataset does not guarantee the removal of inappropriate content; it might even introduce new issues if the dataset itself contains such material and lacks specific content filtering.
  • Option C is incorrect: Model validation assesses performance, accuracy, and generalization. It does not actively filter or prevent the generation or retrieval of inappropriate images, which is a content-level concern.
  • Option D is incorrect: Automating user feedback integration is a reactive measure for post-event improvement. It doesn’t proactively prevent the initial display of inappropriate images, which is the primary objective stated in the problem.

QUESTION 3

A company wants to develop a large language model (LLM) application by using Amazon Bedrock and customer data that is uploaded to Amazon S3. The company’s security policy states that each team can access data for only the team’s own customers.

Which solution will meet these requirements?

  • A. Create an Amazon Bedrock custom service role for each team that has access to only the team's customer data.
  • B. Create a custom service role that has Amazon S3 access. Ask teams to specify the customer name on each Amazon Bedrock request.
  • C. Redact personal data in Amazon S3. Update the S3 bucket policy to allow team access to customer data.
  • D. Create one Amazon Bedrock role that has full Amazon S3 access. Create IAM roles for each team that have access to only each team's customer folders.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Creating a distinct Amazon Bedrock custom service role for each team, with its IAM policy scoped to only that team’s customer data in S3, directly enforces the "least privilege" principle and ensures strict data isolation between teams. ❌ Why the other choices are incorrect:

  • Option B is incorrect: A single Bedrock service role with broad S3 access violates the principle of least privilege, allowing Bedrock to potentially access data beyond a team’s authorization, regardless of request parameters.
  • Option C is incorrect: Redacting data addresses privacy but doesn’t enforce team-specific access control. While S3 bucket policies can be used, creating dedicated roles is a more direct and manageable solution for this segregation.
  • Option D is incorrect: Granting the Bedrock service role full S3 access creates a critical security vulnerability. The Bedrock service role determines its data access, which would bypass the finer-grained access intended by team-specific IAM roles.

QUESTION 4

A medical company deployed a disease detection model on Amazon Bedrock. To comply with privacy policies, the company wants to prevent the model from including personal patient information in its responses. The company also wants to receive notification when policy violations occur.

Which solution meets these requirements?

  • A. Use Amazon Macie to scan the model's output for sensitive data and set up alerts for potential violations.
  • B. Configure AWS CloudTrail to monitor the model's responses and create alerts for any detected personal information.
  • C. Use Guardrails for Amazon Bedrock to filter content. Set up Amazon CloudWatch alarms for notification of policy violations.
  • D. Implement Amazon SageMaker Model Monitor to detect data drift and receive alerts when model quality degrades.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Guardrails for Amazon Bedrock specifically filters unwanted content, including Personal Identifiable Information (PII), from model responses. CloudWatch alarms can then be configured based on Guardrails metrics to notify of policy violations, directly meeting both requirements. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Macie primarily scans data stored in S3 and other data stores for sensitive information, it’s not designed for real-time content filtering of Amazon Bedrock model inference responses.
  • Option B is incorrect: AWS CloudTrail logs API calls and events for auditing AWS service usage. It does not inspect or filter the actual content within Amazon Bedrock model responses for personal information.
  • Option D is incorrect: Amazon SageMaker Model Monitor detects data drift and model quality issues for SageMaker models. It is not designed for content filtering or PII detection within Bedrock model outputs.

QUESTION 5

A company is using few shot prompting on a base model that is hosted on Amazon Bedrock. The model currently uses 10 examples in the prompt. The model is invoked once daily and is performing well. The company wants to lower the monthly cost.

Which solution will meet these requirements?

  • A. Customize the model by using fine-tuning.
  • B. Decrease the number of tokens in the prompt.
  • C. Increase the number of tokens in the prompt.
  • D. Use Provisioned Throughput.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon Bedrock charges primarily per input and output token. Reducing the number of tokens in the prompt, especially from few-shot examples, directly lowers the input token count and, consequently, the monthly cost for a model invoked once daily. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Fine-tuning incurs training costs and potentially dedicated throughput costs. While it can reduce future prompt length, it introduces new costs and isn’t the most direct or cost-effective solution for immediate reduction when the model is already performing well.
  • Option C is incorrect: Increasing tokens in the prompt would directly increase the cost, contradicting the requirement to lower it.
  • Option D is incorrect: Provisioned Throughput is designed for high-volume, predictable workloads to guarantee throughput and potentially save costs over high on-demand usage. For a model invoked only "once daily," on-demand pricing is significantly cheaper, and Provisioned Throughput would drastically increase costs.

QUESTION 6

A research company implemented a chatbot by using a foundation model (FM) from Amazon Bedrock. The chatbot searches for answers to questions from a large database of research papers.

After multiple prompt engineering attempts, the company notices that the FM is performing poorly because of the complex scientific terms in the research papers.

How can the company improve the performance of the chatbot?

  • A. Use few-shot prompting to define how the FM can answer the questions.
  • B. Use domain adaptation fine-tuning to adapt the FM to complex scientific terms.
  • C. Change the FM inference parameters.
  • D. Clean the research paper data to remove complex scientific terms.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Domain adaptation fine-tuning explicitly trains the foundation model on domain-specific data (e.g., scientific papers). This process customizes the model’s understanding and generation capabilities for complex scientific terminology, directly addressing its performance issues in the research paper domain. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Few-shot prompting provides examples to guide output format or style but does not fundamentally adapt the model’s understanding of complex, domain-specific vocabulary it struggles with.
  • Option C is incorrect: Changing inference parameters (e.g., temperature, top_k) modifies the output generation style or randomness, but it does not enhance the model’s underlying comprehension of new, complex scientific terms.
  • Option D is incorrect: Removing complex scientific terms from the data would make the chatbot unable to answer questions requiring those terms, undermining its purpose and data integrity.

QUESTION 7

A company is building an ML model. The company collected new data and analyzed the data by creating a correlation matrix, calculating statistics, and visualizing the data.

Which stage of the ML pipeline is the company currently in?

  • A. Data pre-processing
  • B. Feature engineering
  • C. Exploratory data analysis
  • D. Hyperparameter tuning
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅ **Exploratory data analysis **

Reasoning: Creating correlation matrices, calculating descriptive statistics, and visualizing data are core activities of Exploratory Data Analysis (EDA). EDA helps understand data characteristics, identify patterns, detect outliers, and determine relationships among features before model building. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Data pre-processing involves cleaning, transforming, and formatting data for ML models (e.g., handling missing values, scaling features), which typically follows EDA.
  • Option B is incorrect: Feature engineering creates new features or modifies existing ones to improve model performance, a step usually performed after initial data understanding from EDA.
  • Option D is incorrect: Hyperparameter tuning involves optimizing model parameters (e.g., learning rate, number of layers) to improve performance, a step performed during or after model training.

QUESTION 8

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
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Amazon OpenSearch Service provides k-Nearest Neighbor (k-NN) search capabilities. This feature allows users to index high-dimensional vectors at scale and efficiently perform approximate nearest neighbor searches, which is the core functionality required for building vector database applications like semantic search or recommendation systems. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Integration with Amazon S3 is primarily for data storage, backups, or ingestion. It does not directly enable the vector similarity search functionality within OpenSearch Service itself.
  • Option B is incorrect: While OpenSearch supports geospatial indexing, this is for location-based queries, not for general high-dimensional vector similarity search relevant to AI vector database applications.
  • Option D is incorrect: OpenSearch excels at real-time analysis on streaming data, which is a general analytics capability. This describes its broader use case, not the specific feature that enables vector database functionality for AI applications.

QUESTION 9

A company wants to develop an educational game where users answer questions such as the following: "A jar contains six red, four green, and three yellow marbles. What is the probability of choosing a green marble from the jar?"

Which solution meets these requirements with the LEAST operational overhead?

  • A. Use supervised learning to create a regression model that will predict probability'.
  • B. Use reinforcement learning to train a model to return the probability.
  • C. Use code that will calculate probability by using simple rules and computations.
  • D. Use unsupervised learning to create a model that will estimate probability density.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Calculating simple probabilities (favorable outcomes / total outcomes) is a deterministic task requiring basic arithmetic. Using code for direct computation is the most straightforward, lowest-cost, and least operationally intensive method, avoiding the complexity of ML model development and deployment. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Supervised learning for a regression model demands extensive labeled data, training infrastructure, and continuous model maintenance, incurring high operational overhead for a solvable deterministic problem.
  • Option B is incorrect: Reinforcement learning is suited for sequential decision-making in dynamic environments, not for direct calculation of a static probability. Its implementation involves significant complexity and operational overhead.
  • Option D is incorrect: Unsupervised learning is for pattern discovery in unlabeled data. Estimating probability density is a statistical task, but training and deploying such a model adds unnecessary complexity and overhead compared to simple code for a deterministic calculation.

QUESTION 10

A company uses a foundation model (FM) from Amazon Bedrock for an AI search tool. The company wants to fine-tune the model to be more accurate by using the company’s data.

Which strategy will successfully fine-tune the model?

  • A. Purchase Provisioned Throughput for Amazon Bedrock.
  • B. Provide labeled data with the prompt field and the completion field.
  • C. Prepare the training dataset by creating a .txt file that contains multiple lines in .csv format.
  • D. Train the model on journals and textbooks.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: To successfully utilize a custom (fine-tuned) model in Amazon Bedrock for inference, you must purchase Provisioned Throughput. This allocates dedicated resources, making the model available and ensuring guaranteed performance. For some specific base models (e.g., Cohere Command), Provisioned Throughput is also a prerequisite for the fine-tuning job itself. ❌ Why the other choices are incorrect:

  • Option B is incorrect: While providing labeled data (prompt/completion fields in JSONL format) is essential for the process of fine-tuning, "Provisioned Throughput" is the Bedrock-specific strategy for enabling and deploying the custom model once fine-tuned.
  • Option C is incorrect: Amazon Bedrock typically requires training data in JSONL format, not .txt files in .csv format.
  • Option D is incorrect: The problem explicitly states using "the company’s data" to improve accuracy, making generic journals and textbooks unsuitable.

QUESTION 11 (Multi-Select)

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

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

  • A. Include fairness metrics for model evaluation.
  • D. Avoid overfitting on the training data.
  • B. Adjust the temperature parameter of the model.
  • C. Modify the training data to mitigate bias.
  • E. Apply prompt engineering techniques.
Click to View Verified Solution & Explanation

Correct Option: A,C

Explanation: ✅

Reasoning: Including fairness metrics evaluates if the LLM produces equitable outcomes across different groups, directly addressing "potential harms" from bias. This proactive step ensures the model performs responsibly and without discrimination in sensitive financial contexts.


✅

Reasoning: Modifying training data to mitigate bias is fundamental to developing responsible LLMs. Biased data leads to biased outputs; addressing this at the source prevents the model from perpetuating or amplifying societal harms in document processing. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Adjusting temperature controls output randomness but doesn’t address underlying model bias or fairness for responsible, harm-free operation.
  • Option D is incorrect: Avoiding overfitting ensures generalization but doesn’t inherently prevent ethical harms like bias. An unbiased model can still overfit, and a fair model can still generalize poorly.
  • Option E is incorrect: Prompt engineering guides LLM behavior at inference but doesn’t resolve fundamental biases ingrained in the model during training, which are core to avoiding potential harms.

QUESTION 12

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

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

  • A. User-generated content
  • B. Moderation logs
  • C. Content moderation guidelines
  • D. Benchmark datasets
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Benchmark datasets are pre-curated, labeled, and specifically designed for evaluating model performance, including bias. Using them requires the least administrative effort as data collection, cleaning, and labeling are already complete, allowing direct application and analysis. ❌ Why the other choices are incorrect:

  • Option A is incorrect: User-generated content would require significant manual labeling and curation to create a suitable dataset for bias evaluation, demanding substantial administrative effort.
  • Option B is incorrect: Moderation logs contain operational decisions. Extracting specific bias signals from these logs would necessitate extensive data analysis, aggregation, and potentially human review, making it high effort.
  • Option C is incorrect: Content moderation guidelines define the rules for moderation. They are not a data source for evaluation but rather the criteria against which outputs are measured, requiring effort to apply them.

QUESTION 13

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

Which solution meets these requirements?

  • A. Create a recommendation engine.
  • B. Build an automatic named entity recognition system.
  • C. Develop a summarization chatbot.
  • D. Develop a multi-language translation system.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Developing a summarization chatbot directly addresses the need to read legal documents and extract key points. LLMs are highly effective for generating concise summaries, which involves identifying and presenting the most critical information from lengthy texts. ❌ Why the other choices are incorrect:

  • Option A is incorrect: A recommendation engine suggests items based on patterns, not extracts key points from documents. It doesn’t fulfill the primary requirement.
  • Option B is incorrect: NER identifies specific entities (e.g., names, dates, locations). While useful, it doesn’t encompass the broader task of extracting and summarizing overall "key points" from legal texts.
  • Option D is incorrect: A translation system converts text between languages. It does not extract or summarize key points from a single document’s content.

QUESTION 14

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

  • A. Embeddings
  • B. Tokens
  • C. Models
  • D. Binaries
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅ **Embeddings **

Reasoning: Embeddings are dense numerical vector representations of real-world objects or concepts (like words or phrases). AI and NLP models use these vectors to capture semantic meaning and relationships, enabling deeper understanding and processing of textual information. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Tokens are the basic units of text (e.g., words, subwords) into which a text is broken down. While essential for NLP, tokens themselves are not the numerical representations that capture semantic meaning.
  • Option C is incorrect: Models are the AI algorithms and architectures (e.g., neural networks) that process data, learn patterns, and make predictions. They use embeddings but are not the embeddings themselves.
  • Option D is incorrect: Binaries typically refer to compiled executable code or raw data in a computer-readable format (0s and 1s). This term is unrelated to the semantic numerical representations used in AI/NLP for understanding concepts.

QUESTION 15

A company manually reviews all submitted resumes in PDF format. As the company growst the company expects the volume of resumes to exceed the company’s review capacity. The company needs an automated system to convert the PDF resumes into plain text format for additional processing.

Which AWS service meets this requirement?

  • A. Amazon Tex tract
  • B. Amazon Personalize
  • C. Amazon Lex
  • D. Amazon Transcribe
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon Textract is a machine learning service designed to automatically extract text, handwriting, and data from scanned documents and PDFs. This directly fulfills the requirement to convert PDF resumes into plain text for subsequent processing. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Amazon Personalize is a machine learning service used for building recommendation engines, not for extracting text from documents.
  • Option C is incorrect: Amazon Lex is a service for building conversational interfaces (chatbots and voice assistants), unrelated to document text extraction.
  • Option D is incorrect: Amazon Transcribe is an automatic speech recognition service that converts speech to text, not text from PDF documents.

QUESTION 16

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

Which problem is the LLM having?

  • A. Data leakage
  • B. Hallucination
  • C. Overfitting
  • D. Underfitting
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: LLM hallucination is when the model generates content that is plausible and grammatically correct but factually incorrect or entirely fabricated, directly matching the problem described. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Data leakage involves unintended exposure of sensitive information or test data patterns, not the generation of false but plausible content.
  • Option C is incorrect: Overfitting occurs when a model learns training data noise too well, performing poorly on new data due to memorization, not fabricating facts.
  • Option D is incorrect: Underfitting means a model is too simple to capture data patterns, leading to generally poor performance, not plausible but incorrect statements.

QUESTION 17

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

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

  • A. Generative adversarial network (GAN)
  • B. XGBoost
  • C. Residual neural network
  • D. WaveNet
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Generative Adversarial Networks (GANs) are specifically designed to learn the distribution of existing data and generate new, synthetic data that closely resembles it. A generator creates data, while a discriminator assesses its authenticity, leading to the production of high-quality synthetic samples. ❌ Why the other choices are incorrect:

  • Option B is incorrect: XGBoost is an ensemble machine learning algorithm primarily used for supervised tasks like classification and regression, not for generating synthetic data.
  • Option C is incorrect: Residual neural networks (ResNets) are a type of deep learning architecture used for discriminative tasks such as image classification, not for generative data creation.
  • Option D is incorrect: WaveNet is a deep generative model specifically for raw audio waveforms, used primarily for speech synthesis, not a general-purpose synthetic data generator across arbitrary data types.

QUESTION 18 (Multi-Select)

A company wants to deploy a conversational chatbot to answer customer questions. The chatbot is based on a fine-tuned Amazon SageMaker JumpStart model. The application must comply with multiple regulatory frameworks.

Which capabilities can the company show compliance for? (Select TWO.)

  • A. Auto scaling inference endpoints
  • B. Threat detection
  • C. Data protection
  • D. Cost optimization
  • E. Loosely coupled microservices
Click to View Verified Solution & Explanation

Correct Option: C,D

Explanation: ✅ **Data protection **

Reasoning: Chatbots process customer data, which can be sensitive. Regulatory frameworks (e.g., GDPR, HIPAA) mandate data protection. Amazon SageMaker, with AWS KMS, IAM, and VPC, enables data encryption at rest and in transit, access control, and network isolation, directly demonstrating compliance.


✅ **Cost optimization **

Reasoning: Many regulatory frameworks, especially for public funds, financial oversight, or corporate governance, require demonstrable financial accountability and efficient resource utilization. AWS Cost Explorer, budgets, and tagging for SageMaker deployments help track and optimize spending, showing compliance with these financial governance standards. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Auto scaling is an operational benefit for managing performance and resource efficiency, not a direct capability for demonstrating regulatory compliance.
  • Option B is incorrect: Threat detection is crucial for security, but data protection (C) more directly addresses compliance needs related to the sensitive data handled by the chatbot itself.
  • Option E is incorrect: Loosely coupled microservices is an architectural pattern that improves agility and scalability, but it is not a direct capability for showing regulatory compliance.

QUESTION 19

A company is implementing the Amazon Titan foundation model (FM) by using Amazon Bedrock. The company needs to supplement the model by using relevant data from the company’s private data sources.

Which solution will meet this requirement?

  • A. Use a different FM.
  • B. Choose a lower temperature value.
  • C. Create an Amazon Bedrock knowledge base.
  • D. Enable model invocation logging.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅ **Create an Amazon Bedrock knowledge base. **

Reasoning: Amazon Bedrock knowledge bases are purpose-built for Retrieval Augmented Generation (RAG). They allow foundation models to access and retrieve information from private company data sources, supplementing their knowledge to generate more accurate and contextually relevant responses without retraining. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Using a different FM does not solve the problem of incorporating private company data; it merely swaps the underlying model.
  • Option B is incorrect: A lower temperature value controls the model’s output randomness or creativity, not its ability to access external, private data sources.
  • Option D is incorrect: Enabling model invocation logging records API calls for monitoring and auditing, but it does not integrate private data with the foundation model for generation.

QUESTION 20

Which AWS service or feature can help an AI development team quickly deploy and consume a foundation model (FM) within the team’s VPC?

  • A. Amazon Personalize
  • B. Amazon SageMaker JumpStart
  • C. PartyRock, an Amazon Bedrock Playground
  • D. Amazon SageMaker endpoints
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon SageMaker JumpStart offers a hub of FMs from various providers, enabling quick discovery, one-click deployment, and fine-tuning. Models deployed via JumpStart leverage SageMaker endpoints, which can be configured with VPC settings, directly supporting deployment and consumption within a team’s VPC. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Personalize is a service for building recommendation systems, not for general-purpose deployment and consumption of foundation models.
  • Option C is incorrect: PartyRock is an experimentation playground for generative AI, primarily for rapid prototyping and learning, not for production deployment of FMs within a team’s VPC.
  • Option D is incorrect: Amazon SageMaker endpoints are the mechanism for consuming models after they are deployed. They do not, by themselves, "quickly deploy" the foundation model itself; SageMaker JumpStart facilitates that initial deployment.

QUESTION 21

A company needs to choose a model from Amazon Bedrock to use internally. The company must identify a model that generates responses in a style that the company’s employees prefer.

What should the company do to meet these requirements?

  • A. Evaluate the models by using built-in prompt datasets.
  • B. Evaluate the models by using a human workforce and custom prompt datasets.
  • C. Use public model leaderboards to identify the model.
  • D. Use the model Invocation Latency runtime metrics in Amazon CloudWatch when trying models.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Assessing subjective elements like preferred "style" or "tone" requires human judgment. Custom prompt datasets tailored to the company’s internal communications allow for relevant evaluation by a human workforce against specific stylistic preferences. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Built-in prompt datasets are generic and unlikely to capture nuanced company-specific style preferences, which are subjective.
  • Option C is incorrect: Public leaderboards use general benchmarks, not company-specific criteria, and cannot evaluate subjective stylistic preferences.
  • Option D is incorrect: Invocation latency measures model performance speed, not the quality or style of its generated responses.

QUESTION 22

A company is building an ML model to analyze archived data. The company must perform inference on large datasets that are multiple GBs in size. The company does not need to access the model predictions immediately.

Which Amazon SageMaker inference option will meet these requirements?

  • A. Batch transform
  • B. Real-time inference
  • C. Serverless inference
  • D. Asynchronous inference
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅ **Batch transform **

Reasoning: Batch transform is designed for processing large datasets (multiple GBs) efficiently. It stores the inference results in an S3 bucket for later retrieval, perfectly matching the requirement for non-immediate access to predictions. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Real-time inference provides immediate, low-latency predictions for small data inputs, unsuitable for large, multi-GB datasets and deferred access.
  • Option C is incorrect: Serverless inference, like real-time, is for immediate, low-latency predictions on small inputs, scaling down to zero. It’s not for large batch processing.
  • Option D is incorrect: Asynchronous inference handles larger payloads (up to 1GB) and longer processing but is still for individual requests with relatively prompt result retrieval, not massive batch processing for deferred access.

QUESTION 23

A company is building a large language model (LLM) question answering chatbot. The company wants to decrease the number of actions call center employees need to take to respond to customer questions.

Which business objective should the company use to evaluate the effect of the LLM chatbot?

  • A. website engagement rate
  • B. Average call duration
  • C. Corporate social responsibility
  • D. Regulatory compliance
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: The goal is to "decrease the number of actions call center employees need to take." Fewer actions directly translate to less time spent per customer interaction. Evaluating the average call duration directly measures this time efficiency improvement, reflecting the chatbot’s effectiveness in streamlining employee workflows or handling queries. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Website engagement rate measures user interaction with a website. It doesn’t directly assess the efficiency or actions of call center employees, which is the primary objective stated in the problem.
  • Option C is incorrect: Corporate social responsibility pertains to a company’s ethical and societal impact. This is unrelated to the operational efficiency gains sought from an LLM chatbot in a call center setting.
  • Option D is incorrect: Regulatory compliance ensures adherence to laws and industry standards. While essential for any system, it is not the business objective for evaluating how an LLM chatbot affects employee actions or call duration.

QUESTION 24

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

Which solution meets these requirements MOST cost-effectively?

  • A. Use prompt engineering to add one PDF file as context to the user prompt when the prompt is submitted to Amazon Bedrock.
  • B. Use prompt engineering to add all the PDF files as context to the user prompt when the prompt is submitted to Amazon Bedrock.
  • C. Use all the PDF documents to fine-tune a model with Amazon Bedrock. Use the fine-tuned model to process user prompts.
  • D. Upload PDF documents to an Amazon Bedrock knowledge base. Use the knowledge base to provide context when users submit prompts to Amazon Bedrock.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Uploading PDF documents to an Amazon Bedrock knowledge base leverages Retrieval Augmented Generation (RAG). This cost-effectively extracts relevant information from the manuals and provides it as context to the LLM, ensuring responses are grounded in the specific data without exceeding context windows or incurring high token costs for full document transfers. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Adding one PDF as context is insufficient for "manuals" (plural) and doesn’t scale. It fails to address questions requiring information from other manuals.
  • Option B is incorrect: Adding all PDF files as context is impractical due to LLM context window limits and prohibitively expensive due to massive token usage for every prompt.
  • Option C is incorrect: Fine-tuning is expensive, complex, and generally less suitable than RAG for simply retrieving information from a large, evolving document set. It’s not the most cost-effective method for this data retrieval task.

QUESTION 25

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

What should the company do to mitigate this problem?

  • A. Add hyperparameters to the model.
  • B. Reduce the volume of data that is used in training.
  • C. Increase the model training time.
  • D. Increase the volume of data that is used in training.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: When a model performs well on training data but poorly in production, it indicates a generalization issue. While this often points to overfitting, it can also signify that the model has not converged to a robust, generalizable solution, despite showing "good" performance on the training set prematurely. Increasing training time allows the model more epochs to learn deeper, more robust patterns, improving its ability to generalize to unseen production data by reaching a more optimal state. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Adding hyperparameters generally increases model complexity, making it more prone to overfitting rather than mitigating the problem of poor generalization.
  • Option B is incorrect: Reducing the volume of training data would likely worsen the problem. Less data makes it harder for the model to learn meaningful, generalizable patterns, potentially leading to underfitting or less robust performance.
  • Option D is incorrect: While increasing training data volume is a common and effective strategy for overfitting, the core issue, in this context, might be insufficient learning from existing data. Addressing convergence through adequate training time is a fundamental step before resorting to acquiring more data.

QUESTION 26

A medical company is customizing a foundation model (FM) for diagnostic purposes. The company needs the model to be transparent and explainable to meet regulatory requirements.

Which solution will meet these requirements?

  • A. Configure the security and compliance by using Amazon Inspector.
  • B. Generate simple metrics, reports, and examples by using Amazon SageMaker Clarify.
  • C. Encrypt and secure training data by using Amazon Macie.
  • D. Gather more data. Use Amazon Rekognition to add custom labels to the data.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon SageMaker Clarify generates model explainability reports and identifies bias, crucial for making the foundation model transparent and explainable to meet regulatory requirements in diagnostic medical applications. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Inspector assesses security vulnerabilities and compliance for infrastructure, not model transparency or explainability.
  • Option C is incorrect: Amazon Macie protects sensitive data. It does not provide tools for model interpretability or explainability.
  • Option D is incorrect: Gathering and labeling more data with Amazon Rekognition Custom Labels improves data quality for training, but it does not inherently make the resulting model transparent or explainable.

QUESTION 27

A company is building a contact center application and wants to gain insights from customer conversations. The company wants to analyze and extract key information from the audio of the customer calls.

Which solution meets these requirements?

  • A. Build a conversational chatbot by using Amazon Lex.
  • B. Transcribe call recordings by using Amazon Transcribe.
  • C. Extract information from call recordings by using Amazon SageMaker Model Monitor.
  • D. Create classification labels by using Amazon Comprehend.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon Transcribe is a fully managed speech-to-text service that accurately converts audio from call recordings into text. This transcription is the fundamental step required to enable further analysis and extraction of key information from customer conversations. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Lex is used to build conversational interfaces (chatbots/voicebots) for user interaction, not for analyzing existing recorded audio.
  • Option C is incorrect: Amazon SageMaker Model Monitor is for monitoring the quality and performance of deployed machine learning models, not for extracting information from audio recordings.
  • Option D is incorrect: Amazon Comprehend performs natural language processing (NLP) on text to extract insights. It cannot directly process audio recordings; transcription is a prerequisite.

QUESTION 28

A company has developed an ML model for image classification. The company wants to deploy the model to production so that a web application can use the model.

The company needs to implement a solution to host the model and serve predictions without managing any of the underlying infrastructure.

Which solution will meet these requirements?

  • A. Use Amazon SageMaker Serverless Inference to deploy the model.
  • B. Use Amazon CloudFront to deploy the model.
  • C. Use Amazon API Gateway to host the model and serve predictions.
  • D. Use AWS Batch to host the model and serve predictions.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon SageMaker Serverless Inference is designed for deploying ML models for inference without managing underlying infrastructure. It automatically scales compute capacity based on traffic, perfectly meeting the requirement for hosting a model and serving predictions in a serverless manner. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Amazon CloudFront is a Content Delivery Network (CDN) primarily for content delivery and caching, not for hosting and executing ML models for inference.
  • Option C is incorrect: Amazon API Gateway creates and manages APIs. While it can front-end services, it does not directly host or perform ML model inference itself. Inference logic would still require a compute service behind it.
  • Option D is incorrect: AWS Batch is for running batch computing workloads. It is not designed for real-time, low-latency inference from a web application and typically involves configuring compute environments.

QUESTION 29

A company wants to assess the costs that are associated with using a large language model (LLM) to generate inferences. The company wants to use Amazon Bedrock to build generative AI applications.

Which factor will drive the inference costs?

  • A. Number of tokens consumed
  • B. Temperature value
  • D. Total training time
  • C. Amount of data used to train the LLM
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon Bedrock’s pricing model for foundation model inference is primarily based on the number of input and output tokens processed. Higher token consumption for prompts and responses directly correlates with increased inference costs, making it the key cost driver. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Temperature influences the randomness or creativity of the model’s output. While it affects generation characteristics, it does not directly determine the cost charged per inference.
  • Option D is incorrect: Total training time is a cost factor associated with developing or fine-tuning a large language model. It is not a driver for the cost of performing inference with a pre-trained model on Amazon Bedrock.
  • Option C is incorrect: The amount of data used to train the LLM impacts the model’s performance and training expenses. It is irrelevant to the pay-per-use inference costs incurred when utilizing a pre-trained model on Bedrock.

QUESTION 30

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

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

  • A. Amazon Q in Amazon EC2
  • B. Amazon Q Developer
  • C. Amazon Q in Amazon QuickSight
  • D. Amazon Q in AWS Chatbot
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅ **Amazon Q in Amazon QuickSight **

Reasoning: Amazon Q in Amazon QuickSight enables users to ask natural language questions about their data. It then automatically generates relevant visualizations (graphs, charts) and insights, directly automating the graph generation process for business data like sales figures. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Q in Amazon EC2 is not a recognized or appropriate solution for automating business intelligence graph generation. EC2 is compute infrastructure.
  • Option B is incorrect: Amazon Q Developer is an AI assistant primarily for developers, aiding with coding, debugging, and general development tasks, not for automating business data visualization.
  • Option D is incorrect: Amazon Q in AWS Chatbot focuses on operational interaction and monitoring of AWS resources via chat, not on automating business intelligence graph generation for sales reporting.

QUESTION 31

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

Which action will reduce these risks?

  • A. Create a prompt template that teaches the LLM to detect attack patterns.
  • B. Increase the temperature parameter on invocation requests to the LLM.
  • C. Avoid using LLMs that are not listed in Amazon SageMaker.
  • D. Decrease the number of input tokens on invocations of the LLM.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Creating a robust prompt template with instructions, often called a system prompt or guard prompt, teaches the LLM to understand its role, identify malicious patterns, and refuse to perform undesirable actions or expose sensitive data. This directly mitigates prompt injection and manipulation risks. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Increasing the temperature parameter makes LLM outputs more random and creative. This unpredictability can actually worsen the risk of unintended or undesirable responses to manipulative prompts, rather than reducing it. It’s for creativity, not security.
  • Option C is incorrect: Avoiding LLMs not in SageMaker is a platform or deployment choice, not a direct mitigation against prompt manipulation or sensitive data exposure within an LLM. Even LLMs in SageMaker require proper prompt engineering for security. It doesn’t solve the core risk.
  • Option D is incorrect: Decreasing input tokens limits prompt length but does not inherently prevent malicious prompt engineering techniques. A short, crafted prompt can still be manipulative. This action is unrelated to teaching the LLM to detect or resist attacks.

QUESTION 32

Which metric measures the runtime efficiency of operating AI models?

  • A. Customer satisfaction score (CSAT)
  • B. Training time for each epoch
  • C. Average response time
  • D. Number of training instances
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Average response time directly measures the latency of an AI model processing requests and generating predictions during its operational phase (inference). A lower average response time indicates higher runtime efficiency, which is crucial for real-time applications and user experience. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Customer satisfaction score (CSAT) is a business metric, not a direct technical measure of an AI model’s runtime efficiency. It reflects user perception, not computational performance.
  • Option B is incorrect: Training time for each epoch measures the efficiency of the model’s training process, not its runtime operation or inference performance.
  • Option D is incorrect: Number of training instances refers to the size of the dataset used for model training. It does not measure the runtime efficiency of the model once it is deployed and operating.

QUESTION 33

A company wants to build a generative AI application by using Amazon Bedrock and needs to choose a foundation model (FM). The company wants to know how much information can fit into one prompt.

Which consideration will inform the company’s decision?

  • A. Temperature
  • B. Context window
  • C. Batch size
  • D. Model size
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: The context window defines the maximum number of tokens (words, subwords) a foundation model can process in a single input prompt. This directly determines how much information or content can be included in one prompt for the generative AI application, guiding FM selection. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Temperature controls the creativity and randomness of the model’s output. It influences the diversity of generated text but has no bearing on the maximum amount of input information a prompt can contain.
  • Option C is incorrect: Batch size specifies the number of parallel prompts processed during inference or training for efficiency. It is an operational parameter and does not limit the content capacity of an individual prompt.
  • Option D is incorrect: Model size refers to the number of parameters in the FM. While larger models often have larger context windows, model size itself is not the direct metric for prompt information capacity. The context window is the specific measure.

QUESTION 34

Which option is a use case for generative AI models?

  • A. Enhancing database performance by using optimized indexing
  • B. Improving network security by using intrusion detection systems
  • C. Creating photorealistic images from text descriptions for digital marketing
  • D. Analyzing financial data to forecast stock market trends
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅ Reasoning: Generative AI models excel at creating novel content. "Creating photorealistic images from text


✅ Analysis:

s" is a quintessential application of text-to-image generative models, widely used in fields like digital marketing to produce custom visuals from natural language prompts. ❌ Why the other choices are incorrect:

  • Option A is incorrect: This describes a database administration and performance tuning task, not a generative AI function. It involves optimizing existing data access, not creating new content.
  • Option B is incorrect: Intrusion detection systems typically use discriminative AI (e.g., classification, anomaly detection) to identify patterns of malicious activity, not to generate new content or threats.
  • Option D is incorrect: Analyzing financial data to forecast trends is a predictive analytics task, often employing time-series models. This is about predicting future values, not generating new, original financial data or reports.

QUESTION 35

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

Which SageMaker feature meets these requirements?

  • A. Amazon SageMaker Feature Store
  • B. Amazon SageMaker Data Wrangler
  • C. Amazon SageMaker Clarify
  • D. Amazon SageMaker Model Cards
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅ **Amazon SageMaker Feature Store **

Reasoning: SageMaker Feature Store is a centralized repository for ML features, enabling data scientists to store, discover, share, and reuse curated features for both training and inference across multiple teams. This directly addresses the need to share and manage variables (features) for model development collaboratively. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Amazon SageMaker Data Wrangler is a tool for data preparation and feature engineering. It helps create features but doesn’t primarily serve as a centralized sharing and management repository for those features across teams.
  • Option C is incorrect: Amazon SageMaker Clarify focuses on detecting bias in ML models and providing model explainability. It is unrelated to sharing and managing development variables for collaboration.
  • Option D is incorrect: Amazon SageMaker Model Cards are used to document model details, performance, and ethical considerations. Their purpose is model governance and transparency, not sharing input variables for model development.

QUESTION 36

An AI company periodically evaluates its systems and processes with the help of independent software vendors (ISVs). The company needs to receive email message notifications when an ISV’s compliance reports become available.

Which AWS service can the company use to meet this requirement?

  • A. AWS Audit Manager
  • B. AWS Artifact
  • C. AWS Trusted Advisor
  • D. AWS Data Exchange
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: AWS Artifact provides on-demand access to AWS’s security and compliance reports (e.g., SOC, ISO, PCI). It offers email notifications when new reports or agreements become available, directly meeting the requirement to receive alerts when an ISV’s (like AWS’s) compliance reports are published. ❌ Why the other choices are incorrect:

  • Option A is incorrect: AWS Audit Manager helps automate internal evidence collection for compliance audits, not for receiving external ISV reports or notifications.
  • Option C is incorrect: AWS Trusted Advisor provides recommendations for AWS best practices across five pillars, not for compliance report distribution.
  • Option D is incorrect: AWS Data Exchange is for finding and subscribing to third-party data products, not for compliance document access or notifications.

QUESTION 37

A company has documents that are missing some words because of a database error. The company wants to build an ML model that can suggest potential words to fill in the missing text.

Which type of model meets this requirement?

  • A. Topic modeling
  • B. Clustering models
  • C. Prescriptive ML models
  • D. BERT-based models
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: BERT-based models are pre-trained on tasks like Masked Language Modeling (MLM), enabling them to predict missing words within a sentence by considering bidirectional context. This capability directly meets the requirement to suggest potential words to fill in missing text. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Topic modeling identifies themes within a document collection. It does not predict or fill in missing words in a sentence.
  • Option B is incorrect: Clustering models group similar data points. They are not designed for predicting sequential elements like words in a sentence.
  • Option C is incorrect: Prescriptive ML models recommend actions to optimize outcomes. They do not perform generative text tasks like filling in blanks.

QUESTION 38

A company has a foundation model (FM) that was customized by using Amazon Bedrock to answer customer queries about products. The company wants to validate the model’s responses to new types of queries. The company needs to upload a new dataset that Amazon Bedrock can use for validation.

Which AWS service meets these requirements?

  • A. Amazon S3
  • B. AWS Snowcone
  • C. Amazon Elastic Block Store (Amazon EBS)
  • D. Amazon Elastic File System (Amazon EFS)
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅ **AWS Snowcone **

Reasoning: AWS Snowcone is a data transfer device designed to securely move large amounts of data to AWS, especially from edge locations or environments with limited network connectivity. This service meets the requirement of uploading a new dataset efficiently to AWS, where it can then be stored (e.g., in S3) for Amazon Bedrock validation. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon S3 is an object storage service where data for Bedrock is typically stored. However, S3 itself is not a transfer service for uploading potentially large external datasets into AWS in the same way Snowcone is.
  • Option C is incorrect: Amazon Elastic Block Store (Amazon EBS) provides block-level storage for Amazon EC2 instances. It is not designed for uploading external datasets directly to AWS for Bedrock validation.
  • Option D is incorrect: Amazon Elastic File System (Amazon EFS) provides scalable file storage for EC2 instances and on-premises servers. It is not a service for uploading new datasets to AWS for Bedrock validation from external sources.

QUESTION 39

A company wants to make a chatbot to help customers. The chatbot will help solve technical problems without human intervention.

The company chose a foundation model (FM) for the chatbot. The chatbot needs to produce responses that adhere to company tone.

Which solution meets these requirements?

  • A. Set a low limit on the number of tokens the FM can produce.
  • B. Use batch inferencing to process detailed responses.
  • C. Experiment and refine the prompt until the FM produces the desired responses.
  • D. Define a higher number for the temperature parameter.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Prompt engineering is the most direct and effective method to guide a Foundation Model’s output. By carefully crafting and iterating on prompts, including explicit instructions for tone, style, and content, the model can be refined to consistently produce responses that align with specific company branding and communication guidelines. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Setting a low token limit primarily restricts response length, not its tone or adherence to company standards. It might even prevent comprehensive technical answers.
  • Option B is incorrect: Batch inferencing is an operational method for processing multiple requests efficiently. It does not influence the content, tone, or style of the generated responses for a real-time chatbot.
  • Option D is incorrect: A higher temperature increases the randomness and creativity of an FM’s output. This makes responses less predictable and harder to control, making it more challenging to consistently maintain a specific, desired company tone.

QUESTION 40

A company is building a solution to generate images for protective eyewear. The solution must have high accuracy and must minimize the risk of incorrect annotations.

Which solution will meet these requirements?

  • A. Image recognition by using Amazon Recognition
  • B. Human-in-the-loop validation by using Amazon SageMaker Ground Truth Plus
  • C. Data augmentation by using an Amazon Bedrock knowledge base
  • D. Data summarization by using Amazon QuickSight Q
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon SageMaker Ground Truth Plus provides a fully managed service with expert human labelers and built-in quality control to ensure high-accuracy annotations. Its human-in-the-loop validation directly minimizes the risk of incorrect annotations, crucial for a high-quality ML solution for protective eyewear images. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Rekognition is a pre-trained service for image analysis, not for generating custom images or ensuring the accuracy of custom data annotations.
  • Option C is incorrect: Data augmentation increases dataset size but doesn’t inherently correct annotation errors. Amazon Bedrock knowledge bases are for LLM information retrieval, irrelevant to image annotation quality.
  • Option D is incorrect: Amazon QuickSight Q and data summarization are for business intelligence analytics, completely unrelated to image generation, annotation, or quality control for ML models.

QUESTION 41

A company has terabytes of data in a database that the company can use for business analysis. The company wants to build an AI-based application that can build a sql query from input text that employees provide. The employees have minimal experience with technology.

Which solution meets these requirements?

  • A. Generative pretrained transformers (GPT)
  • B. Residual neural network
  • C. Support vector machine
  • D. WaveNet
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Generative Pre-trained Transformers (GPT) are large language models capable of understanding natural language prompts and generating various forms of text, including code like SQL queries. They are ideal for "text-to-SQL" tasks, allowing users with minimal technical experience to input natural language questions and receive executable SQL. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Residual Neural Networks (ResNets) are primarily designed for computer vision tasks, such as image classification and object detection. They are not suitable for natural language understanding and SQL generation.
  • Option C is incorrect: Support Vector Machines (SVMs) are supervised learning models used for classification and regression, often for tasks like text categorization. They are not generative models and cannot build complex SQL queries from natural language input.
  • Option D is incorrect: WaveNet is a deep generative model used for generating raw audio waveforms, primarily for speech synthesis. It has no application in converting natural language text into SQL queries.

QUESTION 42

A company needs to build its own large language model (LLM) based on only the company’s private data. The company is concerned about the environmental effect of the training process.

Which Amazon EC2 instance type has the LEAST environmental effect when training LLMs?

  • A. Amazon EC2 C series
  • B. Amazon EC2 G series
  • C. Amazon EC2 P series
  • D. Amazon EC2 Trn series
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Amazon EC2 Trn series instances, powered by AWS Trainium, are purpose-built for deep learning training. They are optimized for high performance-per-watt and cost-efficiency specifically for ML workloads like LLMs, inherently reducing energy consumption and environmental impact compared to general-purpose hardware. ❌ Why the other choices are incorrect:

  • Option A is incorrect: C series instances are compute-optimized (CPU-focused) and are not efficient for LLM training, requiring significantly more energy and time than GPU/accelerator instances.
  • Option B is incorrect: G series instances utilize GPUs, suitable for graphics and some ML. However, they are less specialized and typically less energy-efficient for large-scale LLM training compared to purpose-built accelerators like Trainium.
  • Option C is incorrect: P series instances offer high-performance GPUs, excellent for deep learning. While powerful, they are general-purpose GPUs and not as specifically optimized for performance-per-watt in training as AWS’s custom Trainium accelerators, leading to a higher environmental effect.

QUESTION 43

A company is using a pre-trained large language model (LLM) to build a chatbot for product recommendations. The company needs the LLM outputs to be short and written in a specific language.

Which solution will align the LLM response quality with the company’s expectations?

  • A. Adjust the prompt.
  • C. Increase the temperature.
  • B. Choose an LLM of a different size.
  • D. Increase the Top K value.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Adjusting the prompt is the primary and most effective method to control an LLM’s output. Specific instructions within the prompt, such as "Keep your response concise" or "Respond in [Language X]," directly instruct the model to produce short outputs in the desired language, aligning with the company’s expectations. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Choosing a different LLM size impacts overall capabilities and knowledge, but not specific output length or language without explicit prompt instructions or fine-tuning. It’s an indirect and usually ineffective solution for this specific problem.
  • Option C is incorrect: Increasing the temperature makes outputs more random and creative. This would likely lead to less predictable lengths and potentially varied language, making it harder to meet the specific requirements of being short and in a particular language.
  • Option D is incorrect: Increasing the Top K value expands the set of possible next tokens, leading to more diverse outputs. It does not directly control the length or the specific language of the generated text, similar to temperature.

QUESTION 44

Which functionality does Amazon SageMaker Clarify provide?

  • A. Documents critical details about ML models
  • B. Integrates a Retrieval Augmented Generation (RAG) workflow
  • C. Monitors the quality of ML models in production
  • D. Identifies potential bias during data preparation
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Amazon SageMaker Clarify is specifically designed to help detect and quantify potential bias in machine learning models and the data used to train them. It supports identifying pre-training bias, which occurs during the data preparation phase, ensuring fairness before model development. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon SageMaker Model Cards is the service dedicated to documenting critical details, metadata, and lineage of ML models for transparency and governance, not Clarify.
  • Option B is incorrect: Integrating a Retrieval Augmented Generation (RAG) workflow is a pattern for generative AI applications, typically involving large language models, and is not a functionality of SageMaker Clarify.
  • Option C is incorrect: Amazon SageMaker Model Monitor is the dedicated service for continuously monitoring the quality, drift, and bias of ML models once they are deployed in production environments.

QUESTION 45

A company is using the Generative AI Security Scoping Matrix to assess security responsibilities for its solutions. The company has identified four different solution scopes based on the matrix.

Which solution scope gives the company the MOST ownership of security responsibilities?

  • A. Using a third-party enterprise application that has embedded generative AI features.
  • B. Building an application by using an existing third-party generative AI foundation model (FM).
  • C. Refining an existing third-patty generative AI foundation model (FM) by fine-tuning the model by using data specific to the business.
  • D. Building and training a generative AI model from scratch by using specific data that a customer owns.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Building and training a generative AI model from scratch entails maximum customer control over all layers—infrastructure, data, model architecture, training, and deployment. This directly translates to the company assuming the MOST ownership and responsibility for security across the entire solution stack. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Using a third-party enterprise application means most security responsibilities, especially for the underlying AI, reside with the third-party vendor. Customer ownership is minimal.
  • Option B is incorrect: Building an application using an existing third-party FM implies the third party manages the foundation model itself, including its security. The company is responsible for its application layer.
  • Option C is incorrect: Refining an existing third-party FM by fine-tuning increases customer responsibility for the fine-tuning data and process. However, the original FM’s core security remains with the third party, making it less ownership than building from scratch.

QUESTION 46

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

Which ML algorithm meets these requirements?

  • A. Decision trees
  • B. Linear regression
  • C. Logistic regression
  • D. Neural networks
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Decision trees are classification algorithms that naturally provide a clear, rule-based structure. Their tree-like flow directly documents how specific gene characteristics (features) lead to a final classification, making their "inner mechanism" highly interpretable and auditable. This directly fulfills the requirement for documenting the model’s internal workings. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Linear regression is a regression algorithm, not suitable for classification into 20 distinct categories. It predicts continuous values, not discrete classes.
  • Option C is incorrect: Logistic regression, while a classification algorithm, explains feature influence through coefficients, not a documented, step-by-step "inner mechanism" like a decision tree, especially for multi-class.
  • Option D is incorrect: Neural networks are powerful for classification but are generally considered "black-box" models. Explaining their complex internal mechanism and how it affects output is notoriously difficult and lacks inherent interpretability.

QUESTION 47

A company makes forecasts each quarter to decide how to optimize operations to meet expected demand. The company uses ML models to make these forecasts.

An AI practitioner is writing a report about the trained ML models to provide transparency and explainability to company stakeholders.

What should the AI practitioner include in the report to meet the transparency and explainability requirements?

  • A. Code for model training
  • B. Partial dependence plots (PDPs)
  • C. Sample data for training
  • D. Model convergence tables
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Partial dependence plots (PDPs) are a key global explainability technique. They visually demonstrate the marginal effect that one or two features have on the predicted outcome of a machine learning model. This directly provides transparency by showing how specific inputs influence forecasts, making model behavior understandable for non-technical stakeholders. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Code for model training is a technical artifact relevant to developers, not a tool for explaining model predictions or behavior to business stakeholders.
  • Option C is incorrect: Sample data shows what the model was trained on, but offers no insight into how the model processes that data or makes its forecasts.
  • Option D is incorrect: Model convergence tables indicate training success and stability. They do not explain the model’s decision-making process, feature importance, or prediction rationale to stakeholders.

QUESTION 48

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

Which challenge of responsible generative AI does this scenario represent?

  • A. Toxicity
  • B. Hallucinations
  • C. Plagiarism
  • D. Privacy
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: The act of copying content from generative AI and presenting it as original work for essays, without proper attribution, directly aligns with the definition of plagiarism in an academic context. This represents a significant challenge for responsible AI use. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Toxicity refers to the AI generating harmful, biased, or offensive content. The scenario focuses on the act of copying, not the content’s potential toxicity.
  • Option B is incorrect: Hallucinations describe the AI generating factually incorrect or nonsensical information. While AI might hallucinate, the challenge described is the student’s misuse of the output, not the output’s factual accuracy.
  • Option D is incorrect: Privacy relates to the handling of personal data by the AI system. The scenario doesn’t involve sensitive information leakage or data protection concerns.

QUESTION 49

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

  • A. Calculate the total cost of resources used by the model.
  • B. Measure the model's accuracy against a predefined benchmark dataset.
  • C. Count the number of layers in the neural network.
  • D. Assess the color accuracy of images processed by the model.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Evaluating foundation model accuracy for image classification requires comparing its predictions against ground truth labels in a separate, representative benchmark dataset. Common metrics like accuracy, precision, and recall directly assess prediction correctness. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Calculating resource cost evaluates efficiency or financial impact, not the model’s predictive accuracy or performance on classification tasks.
  • Option C is incorrect: Counting neural network layers describes model architecture complexity, not a direct measure of its classification accuracy or how well it performs.
  • Option D is incorrect: Assessing color accuracy relates to image quality or generation tasks, not the correctness of an image classification model’s categorical predictions.

QUESTION 50

A company has built a solution by using generative AI. The solution uses large language models (LLMs) to translate training manuals from English into other languages. The company wants to evaluate the accuracy of the solution by examining the text generated for the manuals.

Which model evaluation strategy meets these requirements?

  • A. Bilingual Evaluation Understudy (BLEU)
  • B. Root mean squared error (RMSE)
  • D. Fl score
  • C. Recall-Oriented Understudy for Gisting Evaluation (ROUGE)
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: ROUGE (Recall-Oriented Understudy for Gisting Evaluation) is a standard metric for evaluating text generation, including translation and summarization. It measures the overlap of n-grams, focusing on recall, which is crucial for ensuring all essential information from original training manuals is accurately transferred to the translated versions. ❌ Why the other choices are incorrect:

  • Option A is incorrect: BLEU (Bilingual Evaluation Understudy) is also a machine translation metric, primarily focused on n-gram precision. While relevant, ROUGE’s recall orientation often better suits evaluating content completeness for critical documents like manuals.
  • Option B is incorrect: Root mean squared error (RMSE) is a regression metric used for numerical predictions. It is not applicable to evaluating the quality or accuracy of generated text.
  • Option D is incorrect: F1 score is a classification metric combining precision and recall for discrete predictions. It is not suitable for assessing the accuracy of free-form text generation.

QUESTION 51

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

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

  • A. Delete the custom model. Remove the confidential data from the training dataset. Retrain the custom model.
  • B. Mask the confidential data in the inference responses by using dynamic data masking.
  • C. Encrypt the confidential data in inference responses by using Amazon SageMaker.
  • D. Encrypt the confidential data in the custom model by using AWS Key Management Service (AWS KMS).
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: To prevent a model from generating responses based on confidential data it was trained on, the confidential data must be removed from its learned parameters. Deleting the existing model, sanitizing the training dataset, and then retraining ensures the new model has no exposure to, or knowledge of, the confidential information. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Masking data in inference responses is a post-generation step. The model would still have learned from and potentially used the confidential data internally to form the response before masking occurs.
  • Option C is incorrect: Encrypting inference responses, like masking, is a security measure applied after the model generates its output. It does not prevent the model from basing its response on the confidential data it was trained with.
  • Option D is incorrect: Encrypting the custom model with AWS KMS protects its parameters at rest or in transit. However, during inference, the model is decrypted and loaded, still containing the patterns and information learned from the confidential training data.

QUESTION 52

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company needs the LLM to produce more consistent responses to the same input prompt.
Which adjustment to an inference parameter should the company make to meet these requirements?

  • A. Decrease the temperature value.
  • B. Increase the temperature value.
  • C. Decrease the length of output tokens.
  • D. Increase the maximum generation length.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Temperature directly controls the randomness and creativity of an LLM’s output. A lower temperature value (closer to 0) makes the model more deterministic, causing it to select tokens with higher probabilities more consistently. This reduces variability, ensuring more predictable and consistent responses for the same input prompt, which is essential for stable sentiment analysis. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Increasing the temperature value would make the LLM’s responses more diverse and creative, thus reducing consistency, which is contrary to the requirement.
  • Option C is incorrect: Decreasing the length of output tokens only limits the maximum number of tokens generated. It does not directly influence the consistency or determinism of the content produced within that length.
  • Option D is incorrect: Increasing the maximum generation length allows for longer responses but does not make the responses themselves more consistent. It provides more room for variability, potentially leading to less consistent outputs.

QUESTION 53

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

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

  • A. Multi-modal embedding model
  • B. Text embedding model
  • C. Multi-modal generation model
  • D. image Generation model
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: A multi-modal embedding model processes inputs from different modalities, such as text and images, to produce a unified vector representation. This allows for effective similarity comparisons between queries (containing both text and images) and indexed items in a search application, enabling relevant retrieval across modalities. ❌ Why the other choices are incorrect:

  • Option B is incorrect: A text embedding model processes only text inputs. It cannot handle image components of the query, making it insufficient for a search application requiring both text and image handling.
  • Option C is incorrect: A multi-modal generation model focuses on creating new content (e.g., text, images) based on diverse inputs, not on generating comparable embeddings for a search application’s similarity matching needs.
  • Option D is incorrect: An image generation model is designed to create images, typically from text prompts. It serves no purpose in processing multi-modal queries for a search and retrieval task.

QUESTION 54

Which option is a benefit of ongoing pre-training when fine-tuning a foundation model (FM)?

  • A. Helps decrease the model's complexity
  • B. Improves model performance over time
  • C. Decreases the training time requirement
  • D. Optimizes model inference time
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Ongoing pre-training continuously enhances the foundation model’s general understanding and capabilities by exposing it to more diverse data. This leads to a more robust and knowledgeable base model, which, when subsequently fine-tuned, achieves superior performance on specific tasks. Thus, the model’s effectiveness improves progressively over time. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Ongoing pre-training focuses on expanding knowledge, not reducing the inherent architectural complexity of the model (e.g., number of parameters, layers). While subsequent optimization steps can simplify a model for deployment, pre-training itself doesn’t directly decrease its complexity.
  • Option C is incorrect: Ongoing pre-training is an additional training phase, which increases the overall computational time and resource requirements. While a highly pre-trained model might fine-tune faster on a specific task, the ongoing pre-training itself adds significantly to the total training effort.
  • Option D is incorrect: Ongoing pre-training primarily improves the model’s learning and generalization abilities during the training phase. It does not directly optimize the speed at which the model generates predictions (inference time). Inference optimization is typically a post-training step involving techniques like quantization or hardware acceleration.

QUESTION 55

A large retailer receives thousands of customer support inquiries about products every day. The customer support inquiries need to be processed and responded to quickly. The company wants to implement Agents for Amazon Bedrock.

What are the key benefits of using Amazon Bedrock agents that could help this retailer?

  • A. Generation of custom foundation models (FMs) to predict customer needs
  • B. Automation of repetitive tasks and orchestration of complex workflows
  • C. Automatically calling multiple foundation models (FMs) and consolidating the results
  • D. Selecting the foundation model (FM) based on predefined criteria and metrics
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Agents for Amazon Bedrock are designed to automate multi-step processes by orchestrating actions. For a retailer, this translates directly to automating repetitive customer support tasks (e.g., checking order status, fetching product details) and orchestrating complex workflows that require interacting with various backend systems. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Agents for Amazon Bedrock utilize FMs but do not generate custom FMs; custom FM generation (fine-tuning) is a separate capability within Amazon Bedrock itself.
  • Option C is incorrect: While an agent leverages FMs, its core benefit is orchestrating actions and tasks to fulfill user requests, not primarily calling multiple FMs and consolidating results.
  • Option D is incorrect: An agent is configured to use a specific FM. Its primary benefit is not dynamically selecting an FM based on runtime criteria, but rather acting upon instructions using its configured FM.

QUESTION 56

A company wants to build an interactive application for children that generates new stories based on classic stories. The company wants to use Amazon Bedrock and needs to ensure that the results and topics are appropriate for children.

Which AWS service or feature will meet these requirements?

  • A. Amazon Recognition
  • B. Amazon Bedrock playgrounds
  • C. Guardrails for Amazon Bedrock
  • D. Agents for Amazon Bedrock
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Guardrails for Amazon Bedrock allows defining safety policies, including denied topics, content filters for harmful categories (hate speech, violence), and PII filters. This directly enables companies to ensure generated content, like stories for children, remains appropriate and adheres to specific guidelines. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Rekognition analyzes images and videos for content, objects, and people. It does not control or filter text generated by large language models (LLMs).
  • Option B is incorrect: Amazon Bedrock playgrounds are interactive console environments for experimenting with foundation models and prompts during development. They are not a feature for enforcing content appropriateness in a production application.
  • Option D is incorrect: Agents for Amazon Bedrock allow FMs to perform multi-step tasks by interacting with tools and knowledge bases. While useful for building complex applications, agents themselves do not inherently provide content moderation or safety guardrails.

QUESTION 57

A digital devices company wants to predict customer demand for memory hardware. The company does not have coding experience or knowledge of ML algorithms and needs to develop a data-driven predictive model. The company needs to perform analysis on internal data and external data.

Which solution will meet these requirements?

  • A. Store the data in Amazon S3. Create ML models and demand forecast predictions by using Amazon SageMaker built-in algorithms that use the data from Amazon S3.
  • B. Import the data into Amazon SageMaker Data Wrangler. Create ML models and demand forecast predictions by using SageMaker built-in algorithms.
  • C. Import the data into Amazon SageMaker Data Wrangler. Build ML models and demand forecast predictions by using an Amazon Personalize Trending-Now recipe.
  • D. Import the data into Amazon SageMaker Canvas. Build ML models and demand forecast predictions by selecting the values in the data from SageMaker Canvas.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation: ✅

Reasoning: Amazon SageMaker Canvas is a no-code/low-code interface tailored for business analysts and citizen data scientists. It enables users without coding or ML expertise to import data (internal/external), prepare it, and build predictive models, including demand forecasting, through a visual interface, directly meeting all stated requirements. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon SageMaker built-in algorithms generally require coding (e.g., Python SDK) for model training and deployment. This conflicts with the company’s stated lack of coding experience and ML knowledge.
  • Option B is incorrect: While SageMaker Data Wrangler aids data preparation, utilizing SageMaker built-in algorithms for model building still typically demands coding and ML understanding, which the company lacks.
  • Option C is incorrect: Amazon Personalize is designed for product recommendations and personalization, not for direct demand forecasting. A "Trending-Now" recipe identifies popular items, not future quantity demand.

QUESTION 58

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

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

  • A. R-squared score
  • B. Accuracy
  • C. Root mean squared error (RMSE)
  • D. Learning rate
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Accuracy directly measures the proportion of total correct predictions (both true positives and true negatives) out of the total number of predictions. For an image classification model evaluating "how many images the model classified correctly," Accuracy is the most suitable and common metric. ❌ Why the other choices are incorrect:

  • Option A is incorrect: R-squared score is an evaluation metric used for regression models to assess how well the independent variables explain the variance in the dependent variable, not for classification.
  • Option C is incorrect: Root mean squared error (RMSE) is a metric for regression models, measuring the average magnitude of errors between predicted and actual continuous values, not suitable for classification outcomes.
  • Option D is incorrect: Learning rate is a hyperparameter used during model training to control the step size for weight updates, not an evaluation metric to measure model performance post-training.

QUESTION 59

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.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Configuring SageMaker Studio within a VPC and using a VPC endpoint for S3 allows direct, private, and secure access to S3 data. This manages the data flow by ensuring it remains within the AWS network, improving security and often performance for ML model training, which frequently accesses S3 data. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Inspector is for vulnerability management and compliance assessment of instances and containers, not for managing data flow to SageMaker.
  • Option B is incorrect: Amazon Macie is a data security service that discovers and protects sensitive data in S3. It does not manage the data flow from S3 to SageMaker Studio notebooks.
  • Option D is incorrect: S3 Glacier Deep Archive is a storage class for infrequent access with retrieval times in hours, entirely unsuitable for active ML model training data access.

QUESTION 60

A company wants to use generative AI to increase developer productivity and software development. The company wants to use Amazon Q Developer.

What can Amazon Q Developer do to help the company meet these requirements?

  • A. Create software snippets, reference tracking, and open-source license tracking.
  • B. Run an application without provisioning or managing servers.
  • C. Enable voice commands for coding and providing natural language search.
  • D. Convert audio files to text documents by using ML models.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Amazon Q Developer enhances productivity by allowing developers to use natural language for code generation, problem-solving, and information retrieval. It also supports voice commands for hands-free coding, streamlining workflows and providing immediate, context-aware assistance directly within the IDE. ❌ Why the other choices are incorrect:

  • Option A is incorrect: While Q Developer generates snippets and provides citations (a form of reference tracking), comprehensive open-source license tracking for an entire project is not its primary function.
  • Option B is incorrect: This describes serverless compute services (e.g., AWS Lambda), which is unrelated to Amazon Q Developer’s role as an AI coding assistant.
  • Option D is incorrect: This describes transcription services (e.g., Amazon Transcribe), which is distinct from Amazon Q Developer’s focus on generative AI for software development.

QUESTION 61

To meet regulatory compliance standards, the VPC is not allowed access to any internet traffic.

Which AWS service or feature will meet these requirements?

  • A. AWS PrivateLink
  • B. Amazon Macie
  • C. Amazon CloudFront
  • D. Internet gateway
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: AWS PrivateLink establishes private connectivity between VPCs and supported AWS services or services hosted by other AWS accounts, without requiring an internet gateway, NAT device, or public IP addresses. Traffic remains entirely within the AWS network, never traversing the public internet, satisfying the regulatory compliance for no internet traffic. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Amazon Macie is a data security service that discovers and protects sensitive data. It does not provide network connectivity or control internet access for a VPC.
  • Option C is incorrect: Amazon CloudFront is a Content Delivery Network (CDN) that delivers content globally, primarily for public-facing internet applications. It facilitates, rather than restricts, internet traffic.
  • Option D is incorrect: An Internet gateway is a VPC component that enables communication between instances in your VPC and the internet, directly contradicting the requirement to prevent internet traffic.

QUESTION 62

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

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

  • A. Confusion matrix
  • B. Correlation matrix
  • C. R2 score
  • D. Mean squared error (MSE)
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: A confusion matrix provides a detailed breakdown of correct and incorrect classifications (true positives, false positives, true negatives, false negatives) for each class. This is fundamental for evaluating the performance of a deep learning image classification model, allowing calculation of metrics like accuracy, precision, recall, and F1-score. ❌ Why the other choices are incorrect:

  • Option B is incorrect: A correlation matrix measures the linear relationship between variables, typically used for feature analysis or multicollinearity in regression, not for evaluating classification model performance.
  • Option C is incorrect: The R2 score (coefficient of determination) is a primary metric for regression models, indicating how well the model’s predictions approximate the real data points. It is not suitable for classification tasks.
  • Option D is incorrect: Mean squared error (MSE) is a common metric and loss function used for regression models, measuring the average squared difference between predicted and actual continuous values. It is inappropriate for classification.

QUESTION 63

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
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Measurement bias occurs when there are systematic errors in the way data is collected, features are extracted, or labels are applied. The model disproportionately flagging a specific group indicates a systematic error in its "measurement" of potential theft, likely due to biased ground truth labels in the training data or flawed feature interpretation. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Sampling bias refers to unrepresentative training data. While it can lead to the described outcome, the model’s output issue (disproportionate flagging) is a direct manifestation of systematic measurement error.
  • Option C is incorrect: Observer bias is a human cognitive bias where an observer’s expectations influence data recording/labeling. While it causes biased labels (leading to measurement bias), it’s not the direct bias affecting the model’s learned output.
  • Option D is incorrect: Confirmation bias is a human tendency to favor information confirming existing beliefs. It’s a cognitive bias not directly descriptive of the model’s output error in this context.

QUESTION 64

An AI practitioner is using an Amazon Bedrock base model to summarize session chats from the customer service department. The AI practitioner wants to store invocation logs to monitor model input and output data.

Which strategy should the AI practitioner use?

  • A. Enable invocation logging in Amazon Bedrock.
  • B. Configure AWS CloudTrail as the logs destination for the model.
  • C. Configure AWS Audit Manager as the logs destination for the model.
  • D. Configure model invocation logging in Amazon EventBridge.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon Bedrock provides a native feature to enable invocation logging, allowing practitioners to store model input (prompts) and output (responses) data in designated Amazon S3 buckets or CloudWatch Logs for monitoring. This directly fulfills the requirement. ❌ Why the other choices are incorrect:

  • Option B is incorrect: AWS CloudTrail records API activity (e.g., InvokeModel API calls) but does not capture the actual model input and output data (payloads).
  • Option C is incorrect: AWS Audit Manager is for compliance and risk management, collecting evidence across services, not for storing detailed model invocation input/output logs.
  • Option D is incorrect: Amazon EventBridge is an event bus for routing events; it does not store comprehensive model invocation input and output logs.

QUESTION 65 (Multi-Select)

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

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

  • A. Ensure that the model runs frequently.
  • B. Detect imbalances or disparities in the data.
  • C. Ensure that the model's inference time is within the accepted limits.
  • D. Evaluate the model's behavior so that the company can provide transparency to stakeholders.
  • E. Use the Recall-Oriented Understudy for Gisting Evaluation (ROUGE) technique to ensure that the model is 100% accurate.
Click to View Verified Solution & Explanation

Correct Option: A,C

Explanation: ✅

Reasoning: Frequent model runs facilitate continuous monitoring for drift or emerging biases. Detecting such changes early enables timely intervention, retraining, and adjustments to maintain fairness and minimize negative impacts, aligning with responsible AI practices.


✅

Reasoning: Acceptable inference time is crucial for responsible AI deployment and equitable customer experience. Excessive delays can negatively affect customers by causing frustration or disparate impacts, thus undermining the system’s overall responsible and fair operation. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Detecting data imbalances is a crucial pre-modeling step for bias mitigation. While important, the Ground Truth focuses on operational aspects of "using" the model.
  • Option D is incorrect: Evaluating model behavior for transparency is a key component of responsible AI for understanding and addressing bias. However, this option is not part of the ground truth.
  • Option E is incorrect: ROUGE evaluates text generation quality, not bias, and claiming 100% accuracy is impractical for complex AI models.

QUESTION 66

A company is building a chatbot to improve user experience. The company is using a large language model (LLM) from Amazon Bedrock for intent detection. The company wants to use few-shot learning to improve intent detection accuracy.

Which additional data does the company need to meet these requirements?

  • A. Pairs of chatbot responses and correct user intents
  • B. Pairs of user messages and correct chatbot responses
  • C. Pairs of user messages and correct user intents
  • D. Pairs of user intents and correct chatbot responses
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Few-shot learning for intent detection requires providing the LLM with examples of user input (messages) and their corresponding correct user intents. These pairs demonstrate the desired mapping, allowing the LLM to generalize and accurately classify new user messages. This data structure directly supports the task of improving intent detection accuracy. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Chatbot responses are outputs after intent detection; they are not the input for determining intent.
  • Option B is incorrect: This data would be used for training a response generation model, not for classifying user intents from messages.
  • Option D is incorrect: This maps an already detected intent to a response, rather than teaching the model how to detect the intent from a user message.

QUESTION 67

A company wants to create a chatbot by using a foundation model (FM) on Amazon Bedrock. The FM needs to access encrypted data that is stored in an Amazon S3 bucket. The data is encrypted with Amazon S3 managed keys (SSE-S3).

The FM encounters a failure when attempting to access the S3 bucket data.

Which solution will meet these requirements?

  • A. Ensure that the role that Amazon Bedrock assumes has permission to decrypt data with the correct encryption key.
  • B. Set the access permissions for the S3 buckets to allow public access to enable access over the internet.
  • C. Use prompt engineering techniques to tell the model to look for information in Amazon S3.
  • D. Ensure that the S3 data does not contain sensitive information.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Amazon Bedrock assumes an IAM role to access S3. For the FM to access encrypted S3 data, this role must possess the necessary S3 permissions (e.g., s3:GetObject), enabling S3 to decrypt the data with its managed keys (SSE-S3) on behalf of the requesting role. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Granting public S3 access is a severe security vulnerability and not required for AWS services like Bedrock to access private resources.
  • Option C is incorrect: Prompt engineering influences model behavior and output, but it does not configure or grant the fundamental IAM permissions needed for a model to access external data sources.
  • Option D is incorrect: The sensitivity of the data is a data governance and security classification concern, not a technical solution for an access failure due to encryption or missing permissions.

QUESTION 68

How can companies use large language models (LLMs) securely on Amazon Bedrock?

  • A. Design clear and specific prompts. Configure AWS Identity and Access Management (IAM) roles and policies by using least privileged access.
  • B. Enable AWS Audit Manager for automatic model evaluation jobs.
  • C. Enable Amazon Bedrock automatic model evaluation jobs.
  • D. Use Amazon CloudWatch Logs to make models explainable and to monitor for bias.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Designing clear, specific prompts helps prevent prompt injection attacks, a critical LLM security vulnerability. Implementing AWS IAM with least privileged access ensures only authorized entities can interact with Bedrock models and resources, preventing unauthorized access and data breaches, which are fundamental to secure operations. ❌ Why the other choices are incorrect:

  • Option B is incorrect: AWS Audit Manager aids in compliance audits and managing evidence collection. It doesn’t directly provide real-time security mechanisms for secure LLM usage on Bedrock, such as prompt security or access control.
  • Option C is incorrect: Amazon Bedrock automatic model evaluation jobs assess model quality, performance, and safety against predefined criteria. While important for responsible AI, these evaluations do not cover direct usage security like access management or prompt injection prevention.
  • Option D is incorrect: CloudWatch Logs are valuable for monitoring and debugging. However, making models explainable (interpretability) and monitoring for bias are primarily related to AI ethics, fairness, and transparency, not the direct operational security of using LLMs on Bedrock.

QUESTION 69

A company has petabytes of unlabeled customer data to use for an advertisement campaign. The company wants to classify its customers into tiers to advertise and promote the company’s products.

Which methodology should the company use to meet these requirements?

  • A. Supervised learning
  • B. Unsupervised learning
  • C. Reinforcement learning
  • D. Reinforcement learning from human feedback (RLHF)
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Unsupervised learning is ideal for unlabeled data. It discovers inherent patterns and groups similar customers (clustering) into tiers without prior labels. This directly addresses the requirement for classification from petabytes of raw data. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Supervised learning requires pre-labeled data, where customer tiers are already defined. The scenario explicitly states "unlabeled customer data," making supervised learning unsuitable for this task.
  • Option C is incorrect: Reinforcement learning involves an agent learning optimal actions through trial-and-error in an environment to maximize rewards. This is not applicable for classifying static customer data into tiers.
  • Option D is incorrect: Reinforcement learning from human feedback (RLHF) is a specialized method used to align AI models, particularly LLMs, with human preferences. It is irrelevant for customer segmentation from unlabeled historical data.

QUESTION 70

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.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Tokens are the granular textual segments a generative AI model processes. They represent words, parts of words (subwords), or other linguistic units, forming the fundamental input and output for models like Large Language Models (LLMs). ❌ Why the other choices are incorrect:

  • Option B is incorrect: This describes word embeddings or vector representations, which are numerical mappings of tokens, not tokens themselves.
  • Option C is incorrect: Pre-trained weights are the model’s learned parameters, not the input/output units it operates on.
  • Option D is incorrect: Prompts are user instructions, which are composed of tokens, but tokens are the smaller constituent units, not the prompts themselves.

QUESTION 71

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

Which solution meet these requirements?

  • A. Decrease the batch size
  • B. Increase the epochs
  • C. Decrease the epochs
  • D. Increase the temperature parameter
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Increasing epochs allows the model more full passes through the training data. This provides additional opportunities to learn patterns, adjust weights, and converge, generally leading to improved accuracy until overfitting begins. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Decreasing batch size often leads to noisier gradients and can slow training. While it might sometimes improve generalization, it’s not a direct or guaranteed path to increased accuracy compared to epochs.
  • Option C is incorrect: Decreasing epochs reduces the model’s learning opportunities, typically resulting in underfitting and lower accuracy, directly counteracting the goal of increasing accuracy.
  • Option D is incorrect: Increasing the temperature parameter makes predictions less confident (softer softmax) or outputs more diverse/random. This generally degrades, rather than improves, predictive accuracy.

QUESTION 72

A company is building a customer service chatbot. The company wants the chatbot to improve its responses by learning from past interactions and online resources.

Which AI learning strategy provides this self-improvement capability?

  • A. Supervised learning with a manually curated dataset of good responses and bad responses
  • B. Reinforcement learning with rewards for positive customer feedback
  • C. Unsupervised learning to find clusters of similar customer inquiries
  • D. Supervised learning with a continuously updated FAQ database
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Reinforcement learning empowers the chatbot (agent) to learn optimal actions (responses) by interacting with its environment, receiving rewards for positive customer feedback. This iterative process directly enables the chatbot’s self-improvement capability, as it discovers which actions maximize satisfaction based on past interactions, refining its strategy autonomously. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Supervised learning relies on pre-labeled datasets. While it learns patterns, its improvement is limited by the initial data and requires manual updates for new scenarios, lacking true autonomous self-improvement from live interactions.
  • Option C is incorrect: Unsupervised learning, like clustering, identifies hidden structures in data without human labels. It can categorize inquiries but does not provide a mechanism for the chatbot to dynamically improve its responses based on their effectiveness or customer outcomes.
  • Option D is incorrect: Supervised learning, even with a continuously updated FAQ, depends on external human curation of the database. The chatbot would leverage updated data, but it doesn’t autonomously learn from interactions to improve its response generation strategy directly.

QUESTION 73

A company wants to use AI to protect its application from threats. The AI solution needs to check if an IP address is from a suspicious source.

Which solution meets these requirements?

  • A. Build a speech recognition system.
  • C. Develop an anomaly detection system.
  • B. Create a natural language processing (NLP) named entity recognition system.
  • D. Create a fraud forecasting system.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Anomaly detection systems are designed to identify patterns that deviate from normal behavior. Checking if an IP address is from a "suspicious source" directly involves detecting unusual or malicious IP addresses, which is a core application of anomaly detection. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Speech recognition converts spoken language to text, which is irrelevant to analyzing IP addresses for threat detection.
  • Option B is incorrect: NLP Named Entity Recognition extracts specific entities from text. This is unrelated to identifying suspicious IP addresses for application protection.
  • Option D is incorrect: While related to security, fraud forecasting predicts future fraudulent activities. The requirement is to check if an IP is currently suspicious, which is a real-time detection task best suited for anomaly detection.

QUESTION 74 (Multi-Select)

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

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

  • A. Amazon Lex
  • B. Amazon Comprehend
  • C. Amazon Polly
  • D. Amazon Bedrock
  • E. Amazon Recognition
Click to View Verified Solution & Explanation

Correct Option: B,D

Explanation: ✅ **Amazon Comprehend **

Reasoning: Amazon Comprehend is a natural language processing (NLP) service specifically designed for text analysis. It can directly perform sentiment analysis on unstructured text, making it ideal for determining customer sentiment from product reviews.


✅ **Amazon Bedrock **

Reasoning: Amazon Bedrock provides access to foundation models (FMs) that can perform various NLP tasks, including sentiment analysis. By leveraging a suitable FM through Bedrock, the company can analyze written reviews to determine customer sentiments, often with advanced capabilities and customization. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Lex is for building conversational interfaces (chatbots) and is not primarily used for batch sentiment analysis of existing written reviews.
  • Option C is incorrect: Amazon Polly is a text-to-speech service, converting text into spoken audio, which is unrelated to analyzing sentiment from written reviews.
  • Option E is incorrect: Amazon Rekognition is a computer vision service for image and video analysis. It does not provide sentiment analysis capabilities for plain written text reviews.

QUESTION 75

A company built a deep learning model for object detection and deployed the model to production.

Which AI process occurs when the model analyzes a new image to identify objects?

  • A. Training
  • B. Inference
  • C. Model deployment
  • D. Bias correction
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Inference is the process where a trained machine learning model, such as a deep learning model for object detection, uses new, unseen input data (a new image) to generate predictions or make decisions (identify objects). This occurs after the model has been trained and deployed to production. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Training is the process of fitting the model to a dataset, where it learns patterns. This happens before deployment and analyzing new images for predictions.
  • Option C is incorrect: Model deployment is the act of making a trained model available in a production environment. It is the setup phase, not the ongoing operational phase of analyzing new data.
  • Option D is incorrect: Bias correction refers to techniques used to mitigate unfairness or systematic errors in a model’s predictions. It is a specific type of optimization or post-processing, not the fundamental process of analyzing new input.

QUESTION 76

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

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

  • A. Purchase Provisioned Throughput for the custom model.
  • B. Deploy the custom model in an Amazon SageMaker endpoint for real-time inference.
  • C. Register the model with the Amazon SageMaker Model Registry.
  • D. Grant access to the custom model in Amazon Bedrock.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: To use a custom model trained outside of Bedrock’s native fine-tuning (e.g., using Amazon SageMaker) through Amazon Bedrock, the model must first be registered in the Amazon SageMaker Model Registry. This enables Bedrock to discover and integrate the model as a "SageMaker Model" resource. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Purchasing Provisioned Throughput is for allocating dedicated capacity to models already available within Amazon Bedrock (Bedrock FMs or custom models fine-tuned natively). It’s not the initial step to make a new custom model accessible.
  • Option B is incorrect: Deploying to a SageMaker endpoint makes the model available for inference via SageMaker, but it does not automatically make it accessible through Amazon Bedrock. Explicit integration via the Model Registry is required.
  • Option D is incorrect: Granting access (IAM permissions) is a security measure required after a model is available in Amazon Bedrock. It does not describe the action to initially make the custom model discoverable and usable by Bedrock.

QUESTION 77

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

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

  • A. AWS Audit Manager
  • B. AWS CloudTrail
  • C. Amazon Fraud Detector
  • D. AWS Trusted Advisor
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: AWS CloudTrail logs API calls made to AWS services, including Amazon Bedrock. By reviewing CloudTrail logs, the company can identify the identity, time, source IP, and specific API calls of unauthorized users attempting to invoke models, enabling policy refinement. ❌ Why the other choices are incorrect:

  • Option A is incorrect: AWS Audit Manager helps automate compliance audits by collecting evidence. It doesn’t primarily log individual unauthorized API access attempts.
  • Option C is incorrect: Amazon Fraud Detector uses machine learning to identify fraudulent online activities, like payment fraud, not unauthorized API access to Bedrock.
  • Option D is incorrect: AWS Trusted Advisor provides recommendations for best practices across several categories, including security, but does not log specific unauthorized API calls.

QUESTION 78

A company wants to use a pre-trained generative AI model to generate content for its marketing campaigns. The company needs to ensure that the generated content aligns with the company’s brand voice and messaging requirements.

Which solution meets these requirements?

  • A. Optimize the model's architecture and hyperparameters to improve the model's overall performance.
  • B. Increase the model's complexity by adding more layers to the model's architecture.
  • C. Create effective prompts that provide clear instructions and context to guide the model's generation.
  • D. Select a large, diverse dataset to pre-train a new generative model.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation: ✅

Reasoning: Prompt engineering is crucial for guiding a pre-trained generative AI model. By crafting specific instructions and context in prompts, users can directly influence the model’s output to match a company’s unique brand voice, tone, and specific messaging requirements for marketing campaigns, ensuring relevance and alignment. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Optimizing architecture or hyperparameters primarily improves general model performance or efficiency, not specific content alignment. For a pre-trained model, these changes are complex and don’t directly control stylistic outputs like brand voice.
  • Option B is incorrect: Increasing model complexity by adding layers is a significant architectural modification, not a standard method to fine-tune a pre-trained model’s output for brand voice. It risks instability and doesn’t offer direct content control.
  • Option D is incorrect: The scenario specifies using a pre-trained model. Pre-training a new model from scratch using a large dataset is resource-intensive and counter to the stated intent of leveraging an existing pre-trained solution.

QUESTION 79

A company wants to use language models to create an application for inference on edge devices. The inference must have the lowest latency possible.

Which solution will meet these requirements?

  • A. Deploy optimized small language models (SLMs) on edge devices.
  • B. Deploy optimized large language models (LLMs) on edge devices.
  • C. Incorporate a centralized small language model (SLM) API for asynchronous communication with edge devices.
  • D. Incorporate a centralized large language model (LLM) API for asynchronous communication with edge devices.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Deploying optimized small language models (SLMs) directly on edge devices performs inference locally. This eliminates network latency entirely, and SLMs are inherently designed for efficient execution on resource-constrained hardware, leading to the lowest possible inference latency. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Large language models (LLMs) are computationally intensive and typically too resource-heavy for most edge devices, resulting in high local latency or infeasibility.
  • Option C is incorrect: A centralized SLM API introduces network latency for every inference request, preventing the achievement of the "lowest latency possible" on edge devices compared to local inference.
  • Option D is incorrect: A centralized LLM API combines the inherent latency of large models with network latency, making it the highest latency option and unsuitable for the requirement.

QUESTION 80

A company is using few shot prompting on a base model that is hosted on Amazon Bedrock. The model currently uses IO examples in the prompt. The model is invoked once daily and is performing well. The company wants to lower the monthly cost.

Which solution will meet these requirements?

  • A. Use Provisioned Throughput.
  • B. Customize the model by using fine-tuning.
  • C. Decrease the number of tokens in the prompt.
  • D. Increase the number of tokens in the prompt.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Fine-tuning customizes the model to a specific task, reducing its reliance on extensive in-context examples (few-shot prompting). This enables significantly shorter prompts, fewer tokens per invocation, and thus lower inference costs while maintaining or improving performance. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Provisioned Throughput is generally for consistent, high-volume, or low-latency workloads, not a cost-saving solution for a model invoked "once daily." It typically involves higher commitment costs.
  • Option C is incorrect: While decreasing tokens can save cost, simply doing so without fine-tuning might degrade model performance, which is currently "performing well." Fine-tuning is the method to reduce tokens effectively without performance loss.
  • Option D is incorrect: Increasing the number of tokens in the prompt would directly increase the monthly cost, contradicting the requirement to lower it.

QUESTION 81

A company needs to monitor the performance of its ML systems by using a highly scalable AWS service. Which AWS service meets these requirements?

  • A. Amazon CloudWatch
  • B. AWS CloudTrail
  • C. AWS Trusted Advisor
  • D. AWS Config<a id="_Hlk202707009"></a>
Click to View Verified Solution & Explanation

Correct Option: A

Explanation:

The best AWS service for monitoring the performance of ML systems is Amazon CloudWatch. It provides real-time monitoring, collects metrics, and allows users to set alarms for performance tracking. CloudWatch integrates well with AWS ML services, making it a scalable choice for observability.

QUESTION 82 (Multi-Select)

A company needs to log all requests made to its Amazon Bedrock API. The company must retain the logs securely for 5 years at the lowest possible cost. Which combination of AWS service and storage class meets these requirements? (Select TWO.)

  • A. AWS CloudTrail
  • B. Amazon CloudWatch
  • C. AWS Audit Manager
  • D. Amazon S3 Intelligent-Tiering
  • E. Amazon S3 Standard
Click to View Verified Solution & Explanation

Correct Option: A,D

Explanation:

The best combination of AWS services for logging Amazon Bedrock API requests while ensuring secure retention for 5 years at the lowest cost would be:

  1. AWS CloudTrail – This service captures all API calls made to Amazon Bedrock, providing a detailed record of requests, including who made them, when, and from where.
  2. Amazon S3 Intelligent-Tiering – This storage class automatically moves data between different tiers based on access patterns, optimizing costs while ensuring long-term retention.

This setup ensures that logs are securely stored and cost-efficiently managed over time.

QUESTION 83

A social media company wants to use a large language model (LLM) to summarize messages. The company has chosen a few LLMs that are available on Amazon SageMaker JumpStart. The company wants to compare the generated output toxicity of these models. Which strategy gives the company the ability to evaluate the LLMs with the LEAST operational overhead?

  • A. Crowd-sourced evaluation
  • B. Automatic model evaluation
  • C. Model evaluation with human workers
  • D. Reinforcement learning from human feedback (RLHF)
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

The correct answer is B: Automatic model evaluation.

Here is why:

Automatic model evaluation uses predefined algorithms and datasets to score model outputs for metrics like toxicity. Because it does not require coordinating, managing, or paying human reviewers, it involves the least operational overhead. Services like Amazon SageMaker offer built-in automatic evaluation tools for exactly this purpose.

Crowd-sourced evaluation (A) and Model evaluation with human workers (C) both involve human-in-the-loop processes. Setting up tasks, managing workers, and ensuring quality control takes significantly more time and operational effort.

Reinforcement learning from human feedback (RLHF) (D) is a method used to train and fine-tune models to align with human preferences, not just a simple evaluation strategy. It has extremely high operational overhead.

QUESTION 84

Which option is an example of unsupervised learning?

  • A. Clustering data points into groups based on their similarity
  • B. Training a model to recognize images of animals
  • C. Predicting the price of a house based on the house's features
  • D. Generating human-like text based on a given prompt
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Clustering is a fundamental unsupervised learning technique. It groups data points into clusters based solely on their intrinsic similarities, without requiring any pre-labeled target variables. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Recognizing images of animals requires labeled datasets (e.g., images tagged "cat," "dog"), making it a supervised learning task.
  • Option C is incorrect: Predicting a house’s price uses historical data with known prices and features, which is a classic supervised regression problem.
  • Option D is incorrect: While pre-training for text generation (e.g., predicting the next word) often uses self-supervised learning (a form of unsupervised), the task often involves explicit conditional generation, and it’s less direct than clustering as a pure example of discovering structure without any form of "target" (even self-generated).

QUESTION 85

Which strategy will prevent model hallucinations?

  • A. Fact-check the output of the large language model (LLM).
  • B. Compare the output of the large language model (LLM) to the results of an internet search.
  • C. Use contextual grounding. Use relevance grounding.
  • D. Use contextual grounding.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation:

Contextual grounding ensures that the large language model (LLM) generates responses based on reliable, well-defined context, reducing the chances of hallucinations. This method involves providing the model with accurate reference data during inference, ensuring that its outputs remain factually correct and relevant.

D. Use contextual grounding.

Other strategies, such as fact-checking and internet search comparisons, can help verify outputs but do not inherently prevent hallucinations during generation. Relevance grounding is useful but does not necessarily ensure factual accuracy.

QUESTION 86

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
Click to View Verified Solution & Explanation

Correct Option: C

Explanation:

The best prompt engineering technique for this scenario is Few-shot prompting.

Few-shot prompting allows the chatbot to generate more accurate responses by providing a few examples of how to answer customer queries based on public bank documents. This technique helps the model understand the expected format and tone, improving response quality without requiring extensive fine-tuning.

QUESTION 87

A financial company is developing a fraud detection system that flags potential fraud cases in credit card transactions. Employees will evaluate the flagged fraud cases. The company wants to minimize the amount of time the employees spend reviewing flagged fraud cases that are not actually fraudulent. Which evaluation metric meets these requirements?

  • A. Recall
  • B. Accuracy
  • C. Precision
  • D. Lift chart
Click to View Verified Solution & Explanation

Correct Option: C

Explanation:

The best evaluation metric for minimizing the time employees spend reviewing false fraud cases is Precision.

Precision measures the proportion of correctly flagged fraud cases among all flagged cases. A high precision ensures that fewer false positives (non-fraudulent transactions mistakenly flagged as fraud) are sent for review, reducing unnecessary workload for employees.

Other metrics:

  • Recall focuses on capturing all actual fraud cases but may increase false positives.
  • Accuracy considers overall correctness but may not be ideal for imbalanced datasets like fraud detection.
  • Lift Chart is useful for evaluating model effectiveness but does not directly minimize false positives.

QUESTION 88

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

  • A. Use Amazon Rekognition moderation.
  • B. Use Amazon Comprehend toxicity detection.
  • C. Use Amazon SageMaker AI built-in algorithms to train the model.
  • D. Use Amazon Polly to monitor comments.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon Comprehend is an NLP service offering pre-trained models. Its toxicity detection feature is specifically designed to identify harmful language in text, such as social media comments, without requiring customers to provide labeled training data. This directly meets the scenario’s requirements. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Rekognition is primarily a computer vision service used for image and video analysis. It cannot be used to analyze text content for harmful language in social media comments.
  • Option C is incorrect: Amazon SageMaker built-in algorithms are for training custom ML models. The problem states the company will not use labeled data to train the model, making pre-trained services like Comprehend more suitable.
  • Option D is incorrect: Amazon Polly is a text-to-speech service. It converts text into speech and has no functionality for monitoring comments or detecting harmful language.

QUESTION 89

A co0mpany wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company needs the LLM to produce more consistent responses to the same input prompt. Which adjustment to an inference parameter should the company make to meet these requirements?

  • A. Decrease the temperature value.
  • B. Increase the temperature value.
  • C. Decrease the length of output tokens.
  • D. Increase the maximum generation length.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation:

The best adjustment to ensure more consistent responses to the same input prompt is decreasing the temperature value.

Lowering the temperature makes the model more deterministic, meaning it will favor high-probability outputs rather than introducing randomness. This helps maintain consistency in sentiment analysis responses across repeated prompts.

QUESTION 90

A bank has fine-tuned a large language model (LLM) to expedite the loan approval process. During an external audit Of the model, the company discovered that the model was approving loans at a faster pace for a specific demographic than for other demographics. How should the bank fix this issue MOST cost-effectively?

  • A. Include more diverse training data.
  • B. Fine-tune the model again by using the new data.
  • C. Use Retrieval Augmented Generation (RAG) with the fine-tuned model.
  • D. Use AWS Trusted Advisor checks to eliminate bias. Pre-train a new LLM with more diverse training data.
Click to View Verified Solution & Explanation

Correct Option: A

Explanation: ✅

Reasoning: Model bias often stems from unrepresentative or skewed training data. Including more diverse training data directly addresses this root cause by providing the model with a broader, more balanced perspective, enabling it to learn fairer decision-making patterns. This is the most fundamental and cost-effective first step to mitigate learned bias. ❌ Why the other choices are incorrect:

  • Option B is incorrect: Fine-tuning the model again with new data is a necessary subsequent step after acquiring diverse data , but it’s not the initial action to resolve the data bias itself. Without diverse data, re-fine-tuning won’t fix the underlying problem.
  • Option C is incorrect: Retrieval Augmented Generation (RAG) primarily enhances factual accuracy and reduces hallucinations by grounding responses in external knowledge. It does not directly correct inherent bias within the LLM’s learned decision-making logic from fine-tuning data.
  • Option D is incorrect: AWS Trusted Advisor focuses on cost optimization, security, and performance, not direct bias elimination in custom LLMs. Pre-training a new LLM is an extremely expensive and time-consuming process, making it the least cost-effective solution for fixing an already fine-tuned model’s bias.

QUESTION 91

Which AWS service makes foundation models (FMs) available to help users build and scale generative AI applications?

  • A. Amazon Q Developer
  • B. Amazon Bedrock
  • C. Amazon Kendra
  • D. Amazon Comprehend
Click to View Verified Solution & Explanation

Correct Option: B

Explanation: ✅

Reasoning: Amazon Bedrock is a fully managed service providing broad access to foundation models (FMs) from Amazon and leading AI companies. It enables users to easily build and scale generative AI applications by offering FMs via an API, along with tools for customization and agents for complex tasks. ❌ Why the other choices are incorrect:

  • Option A is incorrect: Amazon Q Developer is an AI assistant focused on accelerating developer productivity through coding, debugging, and testing, not a service for making FMs broadly available for generative AI application building.
  • Option C is incorrect: Amazon Kendra is an intelligent enterprise search service, designed to help users find information across various data sources, not to provide FMs for generative AI.
  • Option D is incorrect: Amazon Comprehend is a natural language processing (NLP) service for pre-trained text analysis tasks like sentiment analysis, not for making foundation models available to build generative AI applications.

QUESTION 92

A company is using domain-specific models. The company wants to avoid creating new models. The company instead wants to adapt pre-trained models to create models for new, related tasks. Which ML strategy meets these requirements?

  • A. Increase the number of epochs.
  • B. Use transfer learning.
  • C. Decrease the number of epochs.
  • D. Use unsupervised learning.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

Transfer learning allows a model trained on one task to be repurposed for another, leveraging existing knowledge to improve efficiency and accuracy2. This approach is particularly useful when labeled data for the new task is limited, as it enables the model to apply insights learned from a larger dataset.

B.Use transfer learning.

Other options:

  • Increasing or decreasing the number of epochs affects training duration but does not directly enable adaptation of pre-trained models.
  • Unsupervised learning is useful for discovering patterns but does not involve leveraging pre-trained models.

QUESTION 93

A large retail bank wants to develop an ML system to help the risk management team decide on loan allocations for different demographics. What must the bank do to develop an unbiased ML model?

  • A. Reduce the size of the training dataset.
  • B. Ensure that the ML model predictions are consistent with historical results.
  • C. Create a different ML model for each demographic group.
  • D. Measure class imbalance on the training dataset. Adapt the training process accordingly.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation:

Class imbalance occurs when certain demographic groups are over- or under-represented in the training data, leading to biased predictions. Addressing this imbalance through techniques like oversampling, undersampling, or cost-sensitive learning ensures fairer outcomes.

D.Measure class imbalance on the training dataset and adapt the training process accordingly.

Other options:

  • Reducing the dataset size may worsen bias by limiting diversity.
  • Aligning predictions with historical results could reinforce existing biases.
  • Creating separate models for each demographic might unintentionally introduce bias rather than eliminate it.

QUESTION 94

A company wants to develop an AI application to help its employees check open customer claims, identify details for a specific claim, and access documents for a claim. Which solution meets these requirements?

  • A. Use Agents for Amazon Bedrock with Amazon Fraud Detector to build the application.
  • B. Use Agents for Amazon Bedrock with Amazon Bedrock knowledge bases to build the application.
  • C. Use Amazon Personalize with Amazon Bedrock knowledge bases to build the application.
  • D. Use Amazon SageMaker AI to build the application by training a new ML model.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

Agents for Amazon Bedrock allow companies to build AI applications that can retrieve and process customer claims efficiently. By integrating Amazon Bedrock knowledge bases, employees can access relevant claim details and documents seamlessly, ensuring accurate and quick responses.

B.Use Agents for Amazon Bedrock with Amazon Bedrock knowledge bases.

Other options:

  • Amazon Fraud Detector is designed for fraud detection, not claim management.
  • Amazon Personalize focuses on recommendations rather than structured claim retrieval.
  • Amazon SageMaker AI requires training a new ML model, which may not be necessary for this task.

QUESTION 95

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

  • A. Deploy the model on an Amazon EC2 instance.
  • B. Deploy the model on an Amazon Elastic Kubernetes Service (Amazon EKS) cluster.
  • C. Deploy the model by using Amazon CloudFront with an Amazon S3 integration.
  • D. Deploy the model by using an Amazon SageMaker AI endpoint.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation:

Amazon SageMaker provides fully managed endpoints for hosting ML models, allowing companies to make predictions without handling server maintenance. This approach ensures scalability, security, and cost efficiency while simplifying deployment.

D.Deploy the model by using an Amazon SageMaker AI endpoint.

Other options:

  • Amazon EC2 requires manual server management.
  • Amazon EKS involves Kubernetes setup, which adds operational overhead.
  • Amazon CloudFront with S3 is useful for content delivery but not ML inference.

QUESTION 96

An AI practitioner is training an ML model on a large dataset of financial market data to predict stock prices. The model is overfitting and generating incorrect predictions. Which parameter should the AI practitioner adjust to improve prediction accuracy?

  • A. Weights and biases
  • B. Learning rate
  • C. Activation function
  • D. Pooling size
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

A well-tuned learning rate ensures that the model updates its weights effectively during training. If the learning rate is too high, the model may overshoot optimal values, leading to instability. If it’s too low, the model may take too long to converge or get stuck in local minima.

B.Learning rate.

Other options:

  • Weights and biases are adjusted during training but are not a direct hyperparameter for controlling overfitting.
  • Activation function affects non-linearity but does not directly address overfitting.
  • Pooling size is relevant for CNNs but not for financial market prediction models.

Explanation

To achieve more customized responses in generative AI models, the company should use the following methodologies:

  1. Continued Pre-training – This method involves further training a foundation model on domain-specific data to enhance its understanding of specialized topics. It is useful when the model needs deeper knowledge in a particular field.
  2. Data Augmentation – This technique improves model robustness by expanding the training dataset with variations of existing data. It helps the model generalize better and produce more diverse responses.
  3. Model Fine-tuning – This process adjusts the model’s parameters using labeled examples tailored to specific tasks. Fine-tuning refines the model’s behavior, making responses more precise and aligned with business needs.

QUESTION 97

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

  • A. SageMaker Canvas
  • B. SageMaker Clarify
  • C. SageMaker Model
  • D. Monitor SageMaker
  • E. Data Wrangler
Click to View Verified Solution & Explanation

Correct Option: A

Explanation:

The best Amazon SageMaker feature for predicting employee attrition without writing code is SageMaker Canvas.

SageMaker Canvas provides a no-code machine learning experience, allowing users to build and deploy predictive models through a visual interface. It is designed for business analysts and practitioners with minimal ML expertise, making it ideal for tasks like employee attrition prediction.

Other options:

  • SageMaker Clarify focuses on bias detection and explainability.
  • SageMaker Model Monitor tracks model performance but does not build models.
  • SageMaker Data Wrangler helps with data preparation but does not provide a no-code ML solution.

QUESTION 98

A financial company wants to flag all credit card activity as possibly fraudulent or non-fraudulent based on transaction data. Which type of ML model meets these requirements?

  • A. Regression Diffusion
  • B. Multi-class classification
  • C. Binary classification
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

The correct answer is C. Binary classification.

Binary classification is the best choice because it categorizes transactions into two distinct classes: fraudulent or non-fraudulent. This approach enables the model to efficiently flag suspicious activity based on transaction patterns, helping financial institutions detect fraud.

Other options:

  • Regression predicts continuous values, making it unsuitable for classification tasks.
  • Diffusion models are used for generative AI, not fraud detection.
  • Multi-class classification is designed for problems with more than two categories, which is unnecessary for fraud detection.

QUESTION 99

Why does overfitting occur in ML models?

  • A. The training dataset does not represent all possible input values.
  • B. The model contains a regularization method.
  • C. The model training stops early because of an early stopping criterion.
  • D. The training dataset contains too many features.
Click to View Verified Solution & Explanation

Correct Option: D

Explanation:

Overfitting occurs when a machine learning model learns irrelevant patterns or noise from the training data instead of generalizing to new data. This often happens when the dataset has too many features, leading the model to memorize specific details rather than identifying broader trends.

D.The training dataset contains too many features.

Other options:

A. The training dataset does not represent all possible input values – This can cause poor generalization but is more related to underfitting.

B. The model contains a regularization method – Regularization helps prevent overfitting rather than causing it.

C. The model training stops early because of an early stopping criterion – Early stopping is a technique used to reduce overfitting.

QUESTION 100

An AI practitioner is developing a prompt for an Amazon Titan model. The model is hosted on Amazon Bedrock. The AI practitioner is using the model to solve numerical reasoning challenges. The AI practitioner adds the following phrase to the end of the prompt: "Ask the model to show its work by explaining its reasoning step by step." Which prompt engineering technique is the AI practitioner using?

  • A. Chain-of-thought prompting
  • B. Prompt injection
  • C. Few-shot prompting
  • D. Prompt templating
Click to View Verified Solution & Explanation

Correct Option: A

Explanation:

Chain-of-thought prompting encourages the model to explain its reasoning step by step, improving accuracy in numerical reasoning challenges. This technique helps the model break down complex problems into logical steps, leading to more reliable and interpretable responses.

A.Chain-of-thought prompting.

Other options:

  • Prompt injection refers to manipulating prompts to influence model behavior, which is unrelated to structured reasoning.
  • Few-shot prompting provides examples to guide responses but does not necessarily enforce step-by-step reasoning.
  • Prompt templating standardizes prompts but does not inherently improve logical reasoning.

QUESTION 101

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
Click to View Verified Solution & Explanation

Correct Option: D

Explanation:

The best AWS service for this use case is Amazon SageMaker Model Monitor.

Amazon SageMaker Model Monitor allows companies to track model quality over time, detecting data drift and performance degradation in production environments2. This ensures that personalized content recommendations remain accurate as viewer behavior and demographics evolve.

Other options:

  • Amazon Rekognition is designed for image and video analysis, not model monitoring.
  • Amazon SageMaker Clarify helps detect bias but does not continuously monitor model quality.
  • Amazon Comprehend focuses on natural language processing, not ML model monitoring.

QUESTION 102

An airline company wants to build a conversational AI assistant to answer customer questions about flight schedules, booking, and payments. The company wants to use large language models (LLMs) and a knowledge base to create a text-based chatbot interface. Which solution will meet these requirements with the LEAST development effort?

  • A. Train models on Amazon SageMaker Autopilot.
  • B. Develop a Retrieval Augmented Generation (RAG) agent by using Amazon Bedrock.
  • C. Create a Python application by using Amazon Q Developer.
  • D. Fine-tune models on Amazon SageMaker Jumpstart.
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

RAG agents in Amazon Bedrock allow companies to build conversational AI assistants that can retrieve accurate, real-time information from a knowledge base. This approach ensures that the chatbot provides relevant answers about flight schedules, booking, and payments without requiring extensive model training.

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

Other options:

  • Amazon SageMaker Autopilot automates ML model training but does not focus on conversational AI.
  • Amazon Q Developer helps with coding but does not provide a ready-to-use chatbot framework.
  • Amazon SageMaker Jumpstart enables fine-tuning but requires more development effort than RAG-based solutions.

QUESTION 103

A company wants to collaborate with several research institutes to develop an AI model. The company needs standardized documentation of model version tracking and a record of model development. Which solution meets these requirements?

  • A. Track the model changes by using Git.
  • B. Track the model changes by using Amazon Fraud Detector.
  • C. Track the model changes by using Amazon SageMaker Model Cards.
  • D. Track the model changes by using Amazon Comprehend.
Click to View Verified Solution & Explanation

Correct Option: C

Explanation:

Amazon SageMaker Model Cards provide a structured framework for documenting model details, training data, evaluation metrics, and version history. This ensures transparency and consistency when collaborating with research institutes.

C.Track the model changes by using Amazon SageMaker Model Cards.

Other options:

  • Git is useful for code versioning but does not provide structured AI model documentation.
  • Amazon Fraud Detector is designed for fraud detection, not model tracking.
  • Amazon Comprehend focuses on NLP tasks and does not support model version tracking.

QUESTION 104

An ecommerce company wants to group customers based on their purchase history and preferences to personalize the user experience of the company’s application. Which ML technique should the company use?

  • A. Classification
  • B. Clustering
  • C. Regression
  • D. Content generation
Click to View Verified Solution & Explanation

Correct Option: B

Explanation:

The correct answer is B. Clustering.

Clustering is an unsupervised learning technique that groups customers based on similar purchase history and preferences. This allows the company to create personalized experiences by tailoring recommendations, promotions, and content to different customer segments.

Other options:

  • Classification assigns predefined labels but does not discover natural groupings.
  • Regression predicts continuous values rather than forming customer groups.
  • Content generation focuses on creating new content rather than customer segmentation.

Need the Full Exam Simulator?

Practice the complete question bank in a realistic, timed environment with advanced tracking.

Access Full CertoMetrics Engine →

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top