AWS AIF-C01 Practice Questions with Explanations

Free AWS AIF-C01 practice questions. 50 of them, each with the correct answer, a full explanation, and the reason every other option is wrong. These are real questions from the AIF-C01 exam, not paraphrases, and every explanation is written out rather than just marking the right letter.

They are drawn from the same bank as the full AIF-C01 pack, which has 452 questions in total.

Get the full AIF-C01 question bank (452 questions) →

AIF-C01 practice questions

Question 1

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
Show answer and explanation ▾

Correct answer: B

Partial dependence plots (PDPs) are a key explainability tool that show how predicted values change as a feature varies, holding other features constant. This directly demonstrates the relationship between input features and model predictions, providing transparency to stakeholders about how the model makes forecasting decisions. PDPs help non-technical audiences understand model behavior without requiring knowledge of implementation details.

Why the other options are wrong:

  • A. Model training code is implementation detail, not explanation of model behavior to stakeholders.
  • C. Sample training data does not explain how the model makes predictions or what it learned.
  • D. Convergence tables show training progress metrics but do not explain model explainability or feature relationships.

Question 2

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. Build an automatic named entity recognition system.
  • B. Create a recommendation engine.
  • C. Develop a summarization chatbot.
  • D. Develop a multi-language translation system.
Show answer and explanation ▾

Correct answer: C

A summarization chatbot using LLMs is the appropriate solution for extracting key points from legal documents. LLMs excel at understanding document content and generating concise summaries of important information. This approach leverages the natural language understanding capabilities of LLMs to identify and extract relevant key points from complex legal texts.

Why the other options are wrong:

  • A. Named entity recognition focuses on identifying specific entity types (names, organizations) rather than extracting broader key points from documents.
  • B. A recommendation engine suggests items to users based on preferences, not extracting information from documents.
  • D. Translation systems convert text between languages but do not extract or summarize key points.

Question 3

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
Show answer and explanation ▾

Correct answer: A

Decision trees are highly interpretable models that naturally document their decision- making mechanism through visual tree structures. Each node represents a feature threshold, each branch represents a decision path, and leaves represent classification outputs. This transparent structure allows stakeholders to understand exactly how the model arrives at its classification for the 20 gene categories, making it ideal for applications requiring explainability.

Why the other options are wrong:

  • B. Linear regression is for regression tasks, not classification, and while interpretable, it doesn't naturally handle 20 categorical outputs as effectively.
  • C. Logistic regression is less transparent than decision trees and typically used for binary classification rather than 20-category classification.
  • D. Neural networks are black-box models that do not naturally document inner mechanisms without additional explainability techniques.

Question 4

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
Show answer and explanation ▾

Correct answer: B

Accuracy is the standard metric for classification tasks, measuring the proportion of correct predictions out of total predictions. For an image classification model predicting plant diseases, accuracy directly answers the question of how many images were classified correctly, making it the appropriate evaluation metric.

Why the other options are wrong:

  • A. R-squared is used for regression tasks to measure variance explained, not for classification accuracy.
  • C. Root mean squared error (RMSE) measures the magnitude of prediction errors in regression problems, not classification correctness.
  • D. Learning rate is a hyperparameter controlling training step size, not an evaluation metric for model performance.

Question 5

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.
  • B. Choose an LLM of a different size.
  • C. Increase the temperature.
  • D. Increase the Top K value.
Show answer and explanation ▾

Correct answer: A

Adjusting the prompt is the most direct and effective way to control LLM output characteristics including length and language. By explicitly specifying in the prompt that responses should be short and written in a specific language, the model will align its outputs with these requirements without requiring model changes or parameter adjustments.

Why the other options are wrong:

  • B. Changing model size may affect performance but does not directly control output length or language specificity.
  • C. Increasing temperature makes outputs more random and diverse, not shorter or more aligned with specific language requirements.
  • D. Increasing Top K value affects output diversity and randomness, not output length or language specification.

Question 6

A company uses Amazon SageMaker for its ML pipeline in a production environment. The company has large input data sizes up to 1 GB and processing times up to 1 hour. The company needs near real-time latency. Which SageMaker inference option meets these requirements?

  • A. Real-time inference
  • B. Serverless inference
  • C. Asynchronous inference
  • D. Batch transform
Show answer and explanation ▾

Correct answer: C

Asynchronous inference is designed for scenarios with large input sizes (up to 1 GB) and long processing times (up to 1 hour). It queues requests and processes them without requiring an immediate response, enabling the system to handle resource-intensive workloads while still providing results as near real-time as possible given the constraints. This is more cost-effective than real-time inference for these specifications.

Why the other options are wrong:

  • A. Real-time inference requires low latency and is not designed for 1-hour processing times or 1 GB input sizes.
  • B. Serverless inference has constraints on payload size and processing duration incompatible with these requirements.
  • D. Batch transform is for offline processing of large datasets, not for near real-time latency requirements.

Question 7

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

  • A. Increase the number of epochs.
  • B. Use transfer learning.
  • C. Decrease the number of epochs.
  • D. Use unsupervised learning.
Show answer and explanation ▾

Correct answer: B

Transfer learning is the strategy of adapting pre-trained models to new, related tasks without building models from scratch. This approach leverages knowledge learned on large datasets and applies it to domain-specific tasks, reducing training time and data requirements while maintaining performance. It is the standard technique for adapting pre- trained models to new applications.

Why the other options are wrong:

  • A. Increasing epochs affects training duration but is not a strategy for adapting pre- trained models to new tasks.
  • C. Decreasing epochs would reduce training time but does not address adapting pre- trained models to new tasks.
  • D. Unsupervised learning does not specifically address adapting pre-trained models to new related tasks.

Question 8

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. Human-in-the-loop validation by using Amazon SageMaker Ground Truth Plus
  • B. Data augmentation by using an Amazon Bedrock knowledge base
  • C. Image recognition by using Amazon Rekognition
  • D. Data summarization by using Amazon QuickSight Q
Show answer and explanation ▾

Correct answer: A

Amazon SageMaker Ground Truth Plus provides human-in-the-loop validation where human annotators review and validate model outputs or annotations. This directly addresses the requirement to minimize the risk of incorrect annotations by ensuring human experts verify annotations for protective eyewear images, maintaining high accuracy through manual quality control.

Why the other options are wrong:

  • B. Data augmentation using a knowledge base increases data volume but does not minimize annotation errors or ensure accuracy.
  • C. Amazon Rekognition performs image recognition but does not validate annotations or provide human review for accuracy assurance.
  • D. Amazon QuickSight Q summarizes data for business intelligence but does not validate or ensure annotation accuracy.

Question 9

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.
Show answer and explanation ▾

Correct answer: A

When Amazon Bedrock attempts to access S3 data encrypted with SSE-S3, the IAM role assumed by Bedrock must have the appropriate permissions to decrypt and read the objects. SSE-S3 encryption is managed by AWS, and the role needs s3:GetObject and related permissions to access the encrypted data. Without proper IAM permissions on the role, the access will fail regardless of the encryption key itself.

Why the other options are wrong:

  • B. Public access to S3 buckets would expose sensitive data and violates security best practices; it is not the solution to permission issues.
  • C. Prompt engineering cannot solve access control failures; the underlying IAM permissions must be correct.
  • D. The presence or absence of sensitive information in the data does not determine whether the FM can access it; permissions must still be granted.

Question 10

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.
Show answer and explanation ▾

Correct answer: A

To achieve the lowest latency for inference on edge devices, deploying optimized small language models (SLMs) directly on the edge devices eliminates network round-trip time to centralized APIs. SLMs are designed for efficiency and can run locally with minimal computational overhead, whereas large models and centralized APIs introduce network latency and dependency on external services.

Why the other options are wrong:

  • B. Large language models require significantly more computational resources and memory, making them impractical for edge deployment and increasing latency.
  • C. Asynchronous communication with centralized APIs introduces network latency, defeating the goal of lowest-latency inference.
  • D. Centralized LLM APIs are even slower than centralized SLM APIs and introduce both network and processing latency.

Question 11

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
Show answer and explanation ▾

Correct answer: A

Amazon SageMaker Feature Store is designed specifically to store, manage, and share machine learning features across teams and projects. It provides a centralized repository for feature definitions, versions, and lineage, enabling multiple teams to discover, reuse, and collaborate on feature development without duplication of effort.

Why the other options are wrong:

  • B. Data Wrangler is a tool for data preparation and transformation, not for managing and sharing variables across teams.
  • C. Clarify is used for model explainability and bias detection, not for sharing variables.
  • D. Model Cards document model metadata and performance but do not manage or share development variables across teams.

Question 12

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.
Show answer and explanation ▾

Correct answer: A

Amazon Q Developer is an AI assistant designed to enhance developer productivity by generating code snippets, providing reference tracking, and identifying open source license compliance issues. These capabilities directly support software development workflows and code quality management across teams.

Why the other options are wrong:

  • B. Running applications without provisioning servers is AWS Lambda's purpose, not Amazon Q Developer's function.
  • C. While Amazon Q has some conversational abilities, voice commands for coding and natural language search are not its primary capabilities.
  • D. Audio-to-text conversion is handled by Amazon Transcribe, not Amazon Q Developer.

Question 13

A financial institution is using Amazon Bedrock to develop an AI application. The application is hosted in a VPC. To meet regulatory compliance standards, the VPC is not allowed access to any internet traffic. Which AWS service or feature will meet these requirements?

  • A. AWS PrivateLink
  • B. Amazon Macie
  • C. Amazon CloudFront
  • D. Internet gateway
Show answer and explanation ▾

Correct answer: A

AWS PrivateLink enables private connectivity between VPCs and AWS services without requiring internet access, NAT gateways, or public IP addresses. This allows a VPC with no internet traffic to securely access Amazon Bedrock endpoints while maintaining regulatory compliance and network isolation.

Why the other options are wrong:

  • B. Amazon Macie is a data security and privacy service for detecting sensitive data, not for enabling private connectivity.
  • C. CloudFront is a content delivery network that requires internet connectivity; it does not provide private service access.
  • D. An internet gateway explicitly provides internet access, which violates the requirement that the VPC has no internet traffic.

Question 14

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.
Show answer and explanation ▾

Correct answer: C

Calculating the probability of choosing a green marble is a deterministic mathematical problem with a simple formula: favorable outcomes divided by total outcomes. Using straightforward code logic requires no model training, data collection, or operational overhead, making it the most efficient solution. This is basic arithmetic, not a machine learning problem.

Why the other options are wrong:

  • A. Supervised learning requires labeled training data and model training, creating unnecessary operational complexity for a simple mathematical calculation.
  • B. Reinforcement learning is designed for sequential decision-making and optimization, not for computing a static probability from a given set.
  • D. Unsupervised learning for probability density estimation requires data and model training, which is inappropriate for a deterministic calculation.

Question 15

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
Show answer and explanation ▾

Correct answer: C

Average response time directly measures how quickly an AI model returns results after receiving input, which is the primary indicator of runtime efficiency. It captures the actual operational performance experienced by users and systems in production environments.

Why the other options are wrong:

  • A. Customer satisfaction score measures user perception and experience quality, not the technical runtime efficiency of model operations.
  • B. Training time per epoch measures the model development phase efficiency, not the runtime efficiency of deployed, operating models.
  • D. The number of training instances relates to training infrastructure scale, not the efficiency of operating a deployed model.

Question 16

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.
Show answer and explanation ▾

Correct answer: B

Amazon Transcribe converts audio recordings into text transcripts, which is the essential first step for analyzing and extracting information from customer call audio. Once transcribed, the text can be further processed with other services for sentiment analysis, entity extraction, or classification as needed.

Why the other options are wrong:

  • A. Amazon Lex is for building conversational chatbots, not for analyzing existing call recordings.
  • C. SageMaker Model Monitor is used for monitoring model performance in production, not for extracting information from audio data.
  • D. Amazon Comprehend can classify text, but it cannot directly extract information from audio; transcription must occur first.

Question 17

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)
Show answer and explanation ▾

Correct answer: B

The company has unlabeled customer data and wants to classify customers into tiers without predefined categories. This is a classic unsupervised learning scenario where clustering algorithms can automatically group customers based on patterns in the data. Supervised learning requires labeled training data, which the company doesn't have. Reinforcement learning and RLHF are designed for sequential decision-making and model alignment, not customer segmentation.

Why the other options are wrong:

  • A. Supervised learning requires labeled data with known customer tier classifications, which the company does not have.
  • C. Reinforcement learning is for training agents through trial and error with rewards, not for customer classification.
  • D. RLHF is used for aligning model outputs with human preferences, not for customer tier clustering.

Question 18

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
Show answer and explanation ▾

Correct answer: A

A multi-modal embedding model can process both text and images and convert them into vector representations that can be compared for semantic similarity in a search application. This allows the search engine to understand queries containing both modalities. Text embedding models only handle text, image generation models create new images rather than search, and multi-modal generation models are designed to generate content rather than perform semantic search and retrieval.

Why the other options are wrong:

  • B. Text embedding models cannot process image data, which is required for the application's hybrid text-image queries.
  • C. Multi-modal generation models are designed to generate new content, not to power semantic search functionality.
  • D. Image generation models create new images rather than enabling search across existing text and image content.

Question 19

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. Provide labeled data with the prompt field and the completion field.
  • B. Prepare the training dataset by creating a .txt file that contains multiple lines in .csv format.
  • C. Purchase Provisioned Throughput for Amazon Bedrock.
  • D. Train the model on journals and textbooks.
Show answer and explanation ▾

Correct answer: A

Amazon Bedrock's fine-tuning capability requires labeled training data formatted with a prompt field and a completion field. This structured format allows the model to learn the relationship between inputs and desired outputs. A CSV text file format is not the proper method for Bedrock fine-tuning. Provisioned Throughput affects inference performance, not fine-tuning capability. Training on general sources like journals and textbooks is pre- training, not the fine-tuning of an existing foundation model with company-specific data.

Why the other options are wrong:

  • B. While CSV format can store data, Bedrock fine-tuning specifically requires the prompt/completion field structure, not plain CSV lines.
  • C. Provisioned Throughput is for inference performance optimization, not for enabling or improving fine-tuning capabilities.
  • D. Training on general knowledge sources is pre-training; fine-tuning uses company- specific labeled data to adapt an existing model.

Question 20

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.
  • B. Create a natural language processing (NLP) named entity recognition system.
  • C. Develop an anomaly detection system.
  • D. Create a fraud forecasting system.
Show answer and explanation ▾

Correct answer: C

Anomaly detection systems are designed to identify unusual patterns and outliers in data, which directly applies to identifying suspicious IP addresses that deviate from normal network behavior. Speech recognition is unrelated to network security. Named entity recognition extracts named entities from text, not network behavior patterns. Fraud forecasting predicts future fraud events rather than detecting anomalous IP sources in real-time.

Why the other options are wrong:

  • A. Speech recognition systems process audio and are completely unrelated to IP address threat detection.
  • B. NLP named entity recognition extracts people, places, and organizations from text, not network threat indicators.
  • D. Fraud forecasting predicts potential fraud through historical trends, whereas the requirement is to detect suspicious sources now.

Question 21

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
Show answer and explanation ▾

Correct answer: C

Amazon OpenSearch Service supports vector indexing and nearest neighbor search, which are the core capabilities needed to build vector database applications. These features enable semantic search and similarity matching on embeddings. S3 integration is for object storage rather than vector operations. Geospatial indexing handles location- based queries. Real-time streaming analysis is unrelated to vector database functionality.

Why the other options are wrong:

  • A. Integration with S3 provides object storage capabilities, not vector database functionality.
  • B. Geospatial indexing supports location-based queries, not vector similarity search operations.
  • D. Real-time streaming analysis is a separate capability distinct from vector database and nearest neighbor search functionality.

Question 22

Which option is a use case for generative AI models?

  • A. Improving network security by using intrusion detection systems
  • B. Creating photorealistic images from text descriptions for digital marketing
  • C. Enhancing database performance by using optimized indexing
  • D. Analyzing financial data to forecast stock market trends
Show answer and explanation ▾

Correct answer: B

Creating photorealistic images from text descriptions is a direct use case for generative AI models like image generation models. These models generate new, original content based on textual prompts. Network security and intrusion detection use classification and anomaly detection (non-generative). Database performance optimization is a systems administration task. Stock market forecasting is predictive analytics, not generative AI.

Why the other options are wrong:

  • A. Intrusion detection uses classification and anomaly detection, not generative AI model capabilities.
  • C. Database optimization is a systems engineering task unrelated to generative AI content creation.
  • D. Financial forecasting is predictive analytics that uses time-series models, not generative AI for content creation.

Question 23

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
Show answer and explanation ▾

Correct answer: B

The context window determines the maximum amount of input and output tokens that can fit in a single prompt, directly addressing how much information can be included. Temperature controls output randomness/creativity. Batch size affects how many requests are processed together, not prompt capacity. Model size relates to overall model complexity but not specifically to prompt length limits.

Why the other options are wrong:

  • A. Temperature controls the randomness of responses, not the amount of information that can fit in a prompt.
  • C. Batch size determines how many inference requests are processed together, not the capacity of individual prompts.
  • D. Model size refers to parameter count and computational requirements, not the prompt information capacity limit.

Question 24

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.
Show answer and explanation ▾

Correct answer: C

Experimenting and refining prompts is the standard approach to guide a foundation model toward producing outputs that match desired tone and style. Prompts can include tone specifications and examples that shape the model's behavior. Token limits restrict length, not tone. Batch inferencing is for processing efficiency, not response quality. High temperature increases randomness, which contradicts the need for consistent company tone adherence.

Why the other options are wrong:

  • A. Limiting token output constrains response length but does not control tone or style of the content produced.
  • B. Batch inferencing is an optimization technique for processing multiple requests efficiently, not for controlling response tone.
  • D. Higher temperature increases randomness and unpredictability, making it harder to maintain consistent company tone.

Question 25

A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment analysis. The company wants to classify the sentiment of text passages as positive or negative. Which prompt engineering strategy meets these requirements?

  • A. Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.
  • B. Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
  • C. Provide the new text passage to be classified without any additional context or examples.
  • D. Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.
Show answer and explanation ▾

Correct answer: A

Few-shot learning with examples is a proven prompt engineering strategy that improves LLM performance on classification tasks. By providing labeled examples of positive and negative sentiment text passages followed by the new text to classify, the model learns the pattern and applies it accurately to new data. This approach is significantly more effective than providing no context or unrelated examples.

Why the other options are wrong:

  • B. Explaining how sentiment analysis and LLMs work doesn't teach the model the specific classification pattern needed for this task.
  • C. Providing text without examples or context gives the model no guidance on how to structure the sentiment classification output.
  • D. Examples of unrelated tasks like summarization or question answering introduce noise and confuse the model rather than guide it toward sentiment classification.

Question 26

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
Show answer and explanation ▾

Correct answer: B

AWS CloudTrail records all API calls made to AWS services, including Amazon Bedrock invocations. It captures who made the request, when it was made, and whether it succeeded or failed, making it the ideal service for identifying unauthorized access attempts. CloudTrail logs are essential for security auditing and informing IAM policy decisions.

Why the other options are wrong:

  • A. AWS Audit Manager focuses on compliance audits and control assessments rather than real-time unauthorized access detection.
  • C. Amazon Fraud Detector is designed to identify fraudulent transactions and activities in business data, not API access attempts to AWS services.
  • D. AWS Trusted Advisor provides best practice recommendations and checks for cost optimization, not unauthorized access attempt detection.

Question 27

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.
Show answer and explanation ▾

Correct answer: A

Amazon SageMaker Serverless Inference is specifically designed to deploy ML models without managing infrastructure. It automatically scales based on demand, requires no capacity planning, and eliminates the need for infrastructure management while serving predictions through a managed endpoint.

Why the other options are wrong:

  • B. Amazon CloudFront is a content delivery network designed for distributing static and dynamic content, not for hosting and serving ML model predictions.
  • C. Amazon API Gateway is used to create and manage APIs but does not provide the infrastructure to host and execute ML models for inference.
  • D. AWS Batch is designed for batch processing of large computing workloads, not for real-time model serving and prediction requests.

Question 28

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
Show answer and explanation ▾

Correct answer: B

AWS Artifact is the service that provides on-demand access to AWS compliance reports and certifications. It also allows customers to set up email notifications when new compliance reports from ISVs and third parties become available, meeting the requirement for receiving notifications about compliance report availability.

Why the other options are wrong:

  • A. AWS Audit Manager helps manage internal audit and compliance processes but is not the primary service for ISV compliance report notifications.
  • C. AWS Trusted Advisor provides recommendations for optimizing AWS usage and security, not third-party compliance report notifications.
  • D. AWS Data Exchange is a marketplace for third-party data products, not specifically designed for compliance report notifications.

Question 29

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.
Show answer and explanation ▾

Correct answer: A

Creating a system prompt or prompt template that teaches the LLM to recognize and defend against common prompt injection attack patterns is an effective defense mechanism. By embedding instruction to detect adversarial prompts and malicious requests, the model can refuse dangerous inputs and avoid exposing sensitive information or performing undesirable actions.

Why the other options are wrong:

  • B. Increasing temperature makes the model's outputs more random and unpredictable, which increases rather than decreases the risk of uncontrolled behavior.
  • C. Restricting to SageMaker-listed LLMs does not inherently provide prompt injection protection; the defense must be built into the system design.
  • D. Decreasing input tokens limits context but does not specifically address prompt engineering attacks or security vulnerabilities.

Question 30

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-party generative AI foundation model (FM) by fine-tuning the model by using data specific to the business.
  • D. Building and training a generative AI model from scratch by using specific data that a customer owns.
Show answer and explanation ▾

Correct answer: D

Building and training a generative AI model from scratch using proprietary data gives the company maximum ownership of security responsibilities. The company controls the entire pipeline including data collection, model architecture, training, validation, and deployment, meaning it bears responsibility for all security aspects throughout the process.

Why the other options are wrong:

  • A. Using a third-party enterprise application minimizes the company's security responsibilities as the vendor maintains most infrastructure and model security.
  • B. Building applications using an existing third-party FM means the vendor controls the base model security while the company handles application-level security.
  • C. Fine-tuning a third-party FM reduces security responsibility compared to building from scratch, as the base model and its training data remain vendor-controlled.

Question 31

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

  • A. Object detection
  • B. Anomaly detection
  • C. Named entity recognition
  • D. Inpainting
Show answer and explanation ▾

Correct answer: A

Object detection is the computer vision technique specifically designed to identify and localize objects (in this case, animals) within images. It goes beyond simple classification by detecting what objects are present and where they are located, enabling automatic categorization of animals without manual effort.

Why the other options are wrong:

  • B. Anomaly detection identifies unusual or outlier data points rather than categorizing normal objects like animals in photos.
  • C. Named entity recognition is an NLP task for identifying named entities in text, not for identifying animals in images.
  • D. Inpainting is a technique for reconstructing or filling in missing parts of images, not for identifying and categorizing objects present in photos.

Question 32

A company wants to create an application by using Amazon Bedrock. The company has a limited budget and prefers flexibility without long-term commitment. Which Amazon Bedrock pricing model meets these requirements?

  • A. On-Demand
  • B. Model customization
  • C. Provisioned Throughput
  • D. Spot Instance
Show answer and explanation ▾

Correct answer: A

Amazon Bedrock's On-Demand pricing model charges based on actual usage with no minimum commitments or long-term contracts. This provides maximum flexibility and is ideal for companies with limited budgets that prefer to scale without upfront financial obligations, paying only for what they consume.

Why the other options are wrong:

  • B. Model customization focuses on fine-tuning capabilities rather than a pricing model option.
  • C. Provisioned Throughput requires committing to reserved capacity and longer-term contracts, which contradicts the preference for flexibility without long-term commitment.
  • D. Spot Instance is not an Amazon Bedrock pricing option; it is relevant to EC2 services and does not apply to foundation model usage.

Question 33

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
Show answer and explanation ▾

Correct answer: B

Amazon SageMaker JumpStart is specifically designed to help teams quickly discover, evaluate, and deploy foundation models within their own VPC environment. It provides pre-trained models and one-click deployment capabilities, making it ideal for rapid FM consumption in a secure, isolated network. It offers VPC deployment options that keep models within the organization's network boundaries.

Why the other options are wrong:

  • A. Amazon Personalize is for building recommendation engines, not for deploying foundation models.
  • C. PartyRock is a playground for experimenting with Amazon Bedrock models in a public interface, not for VPC deployment within a team's infrastructure.
  • D. SageMaker endpoints are a deployment mechanism but don't specifically address the quick discovery and deployment of pre-built foundation models like JumpStart does.

Question 34

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 privilege 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.
Show answer and explanation ▾

Correct answer: A

Secure LLM usage on Amazon Bedrock combines two critical practices: designing clear and specific prompts reduces ambiguity and prevents unintended outputs, while configuring IAM roles and policies with least privilege access ensures only authorized users and applications can invoke models and access data. This defense-in-depth approach addresses both prompt-level security and infrastructure-level access control.

Why the other options are wrong:

  • B. AWS Audit Manager is for compliance auditing, not for model evaluation or securing LLM usage.
  • C. Amazon Bedrock's automatic model evaluation jobs assess model performance, not security posture.
  • D. CloudWatch Logs are useful for monitoring but don't inherently make models more explainable or secure; they're observability tools, not security mechanisms.

Question 35

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 pre-trained transformers (GPT)
  • B. Residual neural network
  • C. Support vector machine
  • D. WaveNet
Show answer and explanation ▾

Correct answer: A

Generative Pre-trained Transformers (GPT) are the optimal choice for converting natural language input into SQL queries. GPTs excel at understanding human language and generating structured outputs like SQL commands, making them ideal for non-technical employees to describe what data they need in plain English. The model can learn the company's database schema and translate user intent directly into functional queries.

Why the other options are wrong:

  • B. Residual neural networks are primarily used for image classification and computer vision tasks, not natural language processing.
  • C. Support vector machines are supervised learning classifiers for structured classification problems, not generative models for text-to-SQL translation.
  • D. WaveNet is a generative model designed for audio synthesis and time-series data, not for natural language understanding or SQL generation.

Question 36

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
Show answer and explanation ▾

Correct answer: B

Inference is the process where a trained model makes predictions on new, unseen data. When the deployed object detection model analyzes a new image to identify objects, it is performing inference-applying the learned patterns to generate outputs without any training or model updates occurring.

Why the other options are wrong:

  • A. Training is the process of teaching the model using labeled data; this already occurred before production deployment.
  • C. Model deployment is the act of putting the model into production; it is the prerequisite for inference, not the process of analyzing images.
  • D. Bias correction is a data preprocessing or model adjustment technique, not the process of analyzing images with a trained model.

Question 37

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
Show answer and explanation ▾

Correct answer: A

Data augmentation for imbalanced classes directly addresses bias in training data by creating additional synthetic samples to balance underrepresented groups and attributes. When the input data shows bias toward certain attributes or professions, augmenting the dataset to include more diverse and balanced examples ensures the model learns to generate images without systematic bias toward specific characteristics.

Why the other options are wrong:

  • B. Model monitoring for class distribution is a post-deployment monitoring technique, not a solution for fixing biased input data before training.
  • C. Retrieval Augmented Generation (RAG) is used to supplement LLMs with external knowledge bases; it doesn't address image generation bias in the training data.
  • D. Watermark detection is a technique for identifying image ownership or authenticity, completely unrelated to reducing bias in generative image models.

Question 38

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.
Show answer and explanation ▾

Correct answer: C

Amazon Bedrock knowledge bases enable organizations to supplement foundation models with private, proprietary data sources. This solution allows the Titan FM to access and augment its responses with relevant company-specific information through a managed retrieval mechanism, without fine-tuning the model itself.

Why the other options are wrong:

  • A. Using a different FM doesn't solve the requirement to augment the current Titan model with private data.
  • B. Temperature is a hyperparameter controlling response randomness; lowering it doesn't provide access to private data sources.
  • D. Invocation logging is an observability feature for tracking model usage, not a mechanism for supplementing the model with private data.

Question 39

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.
Show answer and explanation ▾

Correct answer: B

Amazon SageMaker Clarify is specifically designed to generate interpretable metrics, reports, and examples that explain model behavior and decisions. For medical diagnostic applications requiring regulatory compliance and transparency, Clarify provides feature importance analysis, model explanations, and bias detection-directly addressing the need for explainable and transparent AI systems.

Why the other options are wrong:

  • A. Amazon Inspector is a vulnerability assessment tool for infrastructure security, not for making models transparent or explainable.
  • C. Amazon Macie is a data discovery and protection service focused on securing sensitive data; it doesn't provide model explainability.
  • D. Gathering more data and using Rekognition for labeling improves model training but doesn't inherently make the model transparent or explainable for regulatory purposes.

Question 40

A company is training a foundation model (FM). The company wants to increase the accuracy of the model up to a specific acceptance level. Which solution will meet these requirements?

  • A. Decrease the batch size.
  • B. Increase the epochs.
  • C. Decrease the epochs.
  • D. Increase the temperature parameter.
Show answer and explanation ▾

Correct answer: B

Increasing the number of epochs allows the model to train longer and learn more from the training data, which improves accuracy up to a point of convergence. Decreasing batch size can add noise and instability, decreasing epochs reduces learning, and increasing temperature increases randomness in outputs-none of these improve accuracy for foundation model training.

Why the other options are wrong:

  • A. Decreasing batch size introduces more noise and gradient instability, which typically worsens model performance.
  • C. Decreasing epochs reduces the number of training iterations, limiting the model's opportunity to learn and reducing accuracy.
  • D. Increasing temperature makes the model's outputs more random and less deterministic, which decreases accuracy.

Question 41

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
Show answer and explanation ▾

Correct answer: B

Average call duration directly measures the efficiency of the chatbot in reducing the workload on call center employees. Shorter call durations indicate that the chatbot is handling more customer questions efficiently, reducing the actions employees need to take. Website engagement, CSR, and compliance are not directly tied to this specific objective.

Why the other options are wrong:

  • A. Website engagement rate measures user interaction with web content, not the effectiveness of a call center chatbot in reducing employee workload.
  • C. Corporate social responsibility is not related to measuring the operational efficiency of a customer service chatbot.
  • D. Regulatory compliance is a governance concern, not a business metric for evaluating chatbot efficiency in reducing employee actions.

Question 42

Which functionality does Amazon SageMaker Clarify provide?

  • A. Integrates a Retrieval Augmented Generation (RAG) workflow
  • B. Monitors the quality of ML models in production
  • C. Documents critical details about ML models
  • D. Identifies potential bias during data preparation
Show answer and explanation ▾

Correct answer: D

Amazon SageMaker Clarify is specifically designed to detect and mitigate bias in machine learning models during both the data preparation and model evaluation stages. It analyzes datasets and model predictions to identify potential bias against specific groups. While it provides explainability features, its primary purpose is bias detection and mitigation.

Why the other options are wrong:

  • A. RAG workflow integration is handled by other services like Amazon Bedrock and knowledge base features, not SageMaker Clarify.
  • B. Model monitoring in production is the role of Amazon SageMaker Model Monitor, not SageMaker Clarify.
  • C. ML model documentation is handled by SageMaker Model Registry and other MLOps tools, not SageMaker Clarify's primary function.

Question 43

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. Reduce the volume of data that is used in training.
  • B. Add hyperparameters to the model.
  • C. Increase the volume of data that is used in training.
  • D. Increase the model training time.
Show answer and explanation ▾

Correct answer: C

The significant performance drop from training to production indicates overfitting, where the model learned training data patterns that don't generalize well. Increasing the volume of training data provides more diverse examples and reduces overfitting by giving the model better generalization capability. Reducing data worsens overfitting, hyperparameters alone don't address data inadequacy, and longer training time compounds overfitting.

Why the other options are wrong:

  • A. Reducing training data volume exacerbates overfitting and makes generalization worse.
  • B. Adding hyperparameters does not address the root cause of overfitting caused by insufficient training data diversity.
  • D. Increasing training time on the same limited dataset reinforces overfitting rather than mitigating it.

Question 44

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.
Show answer and explanation ▾

Correct answer: D

Using Amazon Bedrock knowledge bases is the most cost-effective solution because it implements Retrieval Augmented Generation (RAG), which retrieves only relevant PDF content for each query rather than including all documents in every prompt. This minimizes token usage and associated costs. Options A and B waste tokens by including unnecessary context, while fine-tuning incurs significant training costs for a use case better served by RAG.

Why the other options are wrong:

  • A. Adding one PDF as context wastes tokens on irrelevant information and requires manual selection.
  • B. Adding all PDFs to every prompt maximizes token consumption and dramatically increases costs, especially with large document sets.
  • C. Fine-tuning a model incurs substantial training costs and is unnecessary when RAG can efficiently retrieve relevant context on-demand.

Question 45

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
Show answer and explanation ▾

Correct answer: D

Benchmark datasets are pre-curated, standardized datasets specifically designed to evaluate model performance and bias systematically with minimal effort. They come with established evaluation frameworks and metrics, requiring the least administrative overhead. User-generated content, moderation logs, and guidelines would all require significant manual curation, annotation, and setup to be suitable for bias evaluation.

Why the other options are wrong:

  • A. User-generated content requires extensive curation, labeling, and validation before it can reliably evaluate bias.
  • B. Moderation logs require manual review and annotation to identify bias patterns, demanding significant administrative effort.
  • C. Content guidelines are normative documents; they define standards but don't provide evaluation data to assess bias in model outputs.

Question 46

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.
Show answer and explanation ▾

Correct answer: C

Effective prompt engineering with clear instructions and context directly guides the pre- trained model to generate content aligned with the company's brand voice and messaging. This approach requires no model modifications or retraining. Optimizing architecture and adding layers require model retraining, and pre-training a new model is unnecessary when a pre-trained model is already available.

Why the other options are wrong:

  • A. Optimizing architecture and hyperparameters requires retraining, which is unnecessary when the goal is to align a pre-trained model's outputs.
  • B. Adding layers increases model complexity and requires full retraining without addressing the content alignment requirement.
  • D. Pre-training a new model is expensive and unnecessary when the requirement can be met by prompting an existing pre-trained model.

Question 47

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.
Show answer and explanation ▾

Correct answer: B

Amazon Bedrock currently does not support custom models directly within the service. To use a custom model alongside Bedrock, the company must deploy it in an Amazon SageMaker endpoint for real-time inference. This allows the custom model to run independently while the company continues using Bedrock for base models.

Why the other options are wrong:

  • A. Provisioned Throughput is used for Bedrock base models, not for integrating custom models into Bedrock workflows.
  • C. Registering with the SageMaker Model Registry is a tracking mechanism but does not enable use through Bedrock.
  • D. Amazon Bedrock does not have a mechanism to register or grant access to custom- trained models within the service itself.

Question 48

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 InvocationLatency runtime metrics in Amazon CloudWatch when trying models.
Show answer and explanation ▾

Correct answer: B

To identify a model that generates responses in a style employees prefer, the company must evaluate models using a human workforce and custom prompt datasets. This approach allows actual employees to assess outputs against their specific stylistic preferences and use cases, which is the only way to determine subjective quality like preferred writing style.

Why the other options are wrong:

  • A. Built-in prompt datasets are generic and won't reflect the company's specific style preferences.
  • C. Public leaderboards measure benchmarks like accuracy or speed, not stylistic preferences or internal use-case fit.
  • D. InvocationLatency is a performance metric and does not evaluate response quality or style.

Question 49

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
Show answer and explanation ▾

Correct answer: C

The scenario describes students copying content from generative AI to write essays without attribution, which is plagiarism-presenting someone else's work (or in this case, AI-generated work) as one's own. This directly represents the plagiarism challenge in responsible AI.

Why the other options are wrong:

  • A. Toxicity refers to harmful or offensive language in AI outputs, not relevant to content copying.
  • B. Hallucinations are false or fabricated information generated by AI models, not the issue here.
  • D. Privacy concerns data handling and personal information protection, not unauthorized content reuse.

Question 50

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
Show answer and explanation ▾

Correct answer: D

The EC2 Trn series instances are purpose-built for deep learning training with optimized power efficiency and lower energy consumption compared to other instance types. They deliver better environmental performance per unit of compute, making them the least environmentally impactful choice for training LLMs.

Why the other options are wrong:

  • A. C series instances are compute-optimized for general purposes, not specialized for training and less efficient than Trn.
  • B. G series instances are GPU-based for graphics and ML inference, less efficient for training workloads than Trn.
  • C. P series instances are older GPU-based instances with higher power consumption than the newer Trn series.

Get the complete AIF-C01 bank

These 50 questions are roughly 12% of the bank. The full pack has 452 real AIF-C01 questions, each with the same depth of explanation, plus a questions-only PDF for timed practice and free updates forever.

View the full AWS AIF-C01 question bank →

Related exams

Browse free practice questions for every exam →

Back to blog