View Full Amazon AWS Certified AI Practitioner AIF-C01 Exam Dumps and Practice Test Dumps.
Question 121
Which machine learning approach uses labeled examples where the desired output is known during training?
- Supervised learning
- Unsupervised learning
- Reinforcement learning
- Clustering
Correct Answer: 1
Explanation
Supervised learning trains a model using examples that contain both input data and known target outputs. The model learns relationships between the inputs and targets so it can make predictions on new data. Classification and regression are common supervised learning tasks. For example, historical transactions labeled as fraudulent or legitimate can be used to train a classification model. The quality and representativeness of the labeled dataset strongly influence model performance. Supervised learning differs from unsupervised learning because the latter works without predefined target labels and instead attempts to discover patterns within the available data.
Question 122
A machine learning model receives training examples in a different numerical range than the values expected during inference. What practice helps avoid this inconsistency?
- Increasing model temperature
- Applying the same preprocessing pipeline
- Increasing the number of IAM users
- Disabling validation
Correct Answer: 2
Explanation
Using the same preprocessing pipeline during training and inference helps ensure that the model receives data in a consistent format and numerical representation. If training data is normalized, encoded, transformed, or otherwise processed, the corresponding inference data should generally undergo the same required transformations. Differences between training and inference preprocessing can reduce model performance even when the underlying model has not changed. Organizations should therefore version and manage preprocessing workflows carefully. Consistent preprocessing is particularly important for production machine learning systems where incoming data may originate from many different sources.
Question 123
What does mean squared error primarily measure in a regression model?
- The average squared difference between predicted and actual values
- The percentage of correctly classified categories
- The number of retrieved documents
- The number of generated tokens
Correct Answer: 1
Explanation
Mean squared error, or MSE, measures the average of the squared differences between predicted values and actual values. Squaring the errors gives greater mathematical weight to larger errors, making MSE useful when substantial prediction errors should be emphasized. It is commonly used as a loss or evaluation measure for regression problems. MSE differs from mean absolute error because MAE calculates absolute differences without squaring them. The appropriate regression metric depends on the application’s requirements and the consequences of different error magnitudes. Practitioners should consider several measures when evaluating model performance.
Question 124
An AI application needs to identify the language spoken in an audio recording before selecting a downstream processing workflow. Which capability is most relevant?
- Language identification
- Image segmentation
- Regression
- Object storage
Correct Answer: 1
Explanation
Language identification determines which language is present in spoken or written content. For an audio-processing workflow, identifying the language can help an application select appropriate downstream speech recognition or language-processing capabilities. This is different from speech transcription, which converts spoken content into text, and translation, which converts content from one language to another. AI applications that process multilingual information may use language identification as an initial step in a larger pipeline. Accuracy can depend on audio quality, speaker characteristics, supported languages, and the amount of speech available for analysis.
Question 125
Which characteristic of a generative AI model determines how many learned numerical values are used to represent its internal behavior?
- Prompt template
- Parameter count
- Context retrieval
- Response latency
Correct Answer: 2
Explanation
Parameter count refers to the number of learned numerical values contained within a machine learning model. Parameters are adjusted during training and influence how the model processes information and produces outputs. Larger parameter counts can provide greater model capacity, but they can also require more computational resources and may increase inference costs or latency depending on the architecture. Parameter count alone does not determine which model is best for an application. Organizations should evaluate models using relevant factors such as quality, cost, speed, modality support, context capacity, and the requirements of the intended workload.
Question 126
A company wants to reduce the size of a trained model so it can run more efficiently while attempting to preserve useful accuracy. Which technique may help?
- Quantization
- Data labeling
- Sentiment analysis
- Language translation
Correct Answer: 1
Explanation
Quantization reduces the numerical precision used to represent model values, such as converting higher-precision representations into lower-precision formats. This can reduce memory requirements and potentially improve inference efficiency, depending on the model and hardware. The trade-off is that excessive quantization can reduce model quality or produce other performance changes. Therefore, an optimized model should be evaluated against representative workloads after quantization. Quantization is one of several model optimization techniques and should be considered alongside application latency, hardware availability, cost requirements, and the acceptable level of output-quality change.
Question 127
Which AWS service can provide a managed search capability that helps applications locate relevant enterprise information?
- Amazon Kendra
- Amazon Polly
- Amazon Route 53
- Amazon EBS
Correct Answer: 1
Explanation
Amazon Kendra is an intelligent search service designed to help applications and organizations search information from supported enterprise data sources. It can be useful when users need to find relevant information across business documents and repositories. Enterprise search can support AI applications by helping users retrieve appropriate information rather than requiring them to manually locate documents. Kendra is distinct from a generative model because its primary role is search and information retrieval. When used as part of an AI solution, organizations should still consider data access permissions, source quality, indexing behavior, and information freshness.
Question 128
What is a major purpose of feature engineering in a machine learning workflow?
- To create or transform useful input variables for model training
- To assign AWS account numbers
- To increase the physical size of a database
- To replace model evaluation
Correct Answer: 1
Explanation
Feature engineering involves creating, selecting, transforming, or representing input variables so that machine learning algorithms can use relevant information effectively. For example, raw transaction timestamps might be transformed into features representing day of week or hour of day when those characteristics are useful for prediction. Good feature engineering can improve model performance and make important patterns easier for an algorithm to learn. However, features must be designed carefully to avoid data leakage or introducing information that would not be available during actual inference. Feature engineering is therefore closely connected to data preparation and model development.
Question 129
An organization wants to use a model that is already trained on a broad range of data as the starting point for an AI application. What type of model is being considered?
- Foundation model
- Database index
- Regression coefficient
- Security group
Correct Answer: 1
Explanation
A foundation model is a broadly trained model that can serve as a starting point for a variety of downstream applications and tasks. Instead of developing a model entirely from scratch, organizations can use a foundation model through prompting, retrieval, customization, or other supported approaches. Foundation models can support different modalities and capabilities depending on the specific model. Selection should consider factors such as intended tasks, supported inputs and outputs, quality, cost, latency, and responsible AI requirements. A foundation model still requires appropriate application-level controls and evaluation before being used in production.
Question 130
Which situation is an example of a false positive in a binary classification system?
- A fraudulent transaction is correctly identified as fraudulent
- A legitimate transaction is incorrectly classified as fraudulent
- A fraudulent transaction is incorrectly classified as legitimate
- A legitimate transaction is correctly classified as legitimate
Correct Answer: 2
Explanation
A false positive occurs when a model predicts the positive class even though the actual class is negative. In this example, a legitimate transaction is incorrectly identified as fraudulent, creating a false positive. False positives can have practical consequences, such as legitimate customers being blocked or transactions being unnecessarily reviewed. A false negative is the opposite situation, where an actual positive case is predicted as negative. Understanding these error types helps organizations select suitable evaluation metrics and establish appropriate thresholds based on the business consequences of different classification errors.
Question 131
Which AWS service can provide a scalable object storage location for datasets, model artifacts, and other AI-related files?
- Amazon S3
- Amazon Polly
- Amazon Translate
- Amazon Lex
Correct Answer: 1
Explanation
Amazon Simple Storage Service, or Amazon S3, provides scalable object storage that can be used for many types of AI and machine learning data. Organizations can store training datasets, evaluation files, model artifacts, application data, and other objects in S3. S3 supports security and access-management capabilities that can help protect stored information. When AI workloads use sensitive datasets, organizations should configure appropriate permissions, encryption, lifecycle policies, and monitoring. S3 is a storage service rather than an AI model itself, but it commonly forms part of the data architecture supporting machine learning and generative AI applications.
Question 132
A team wants to compare model predictions against expected answers using a collection of predefined test cases. What is this collection commonly called?
- Evaluation dataset
- IAM policy
- Prompt injection
- Availability zone
Correct Answer: 1
Explanation
An evaluation dataset is a collection of examples used to assess how well an AI model performs against defined requirements. It can contain inputs together with expected outputs, reference answers, labels, or other criteria depending on the evaluation method. A well-designed evaluation dataset should represent the types of scenarios the application is expected to encounter. It can be used to compare models, monitor changes, or assess whether a customized model meets requirements. Evaluation datasets should be managed carefully to avoid accidental overlap with training data, which could produce misleading performance results.
Question 133
Which AWS service is designed to provide text-to-speech capabilities by converting written text into natural-sounding speech?
- Amazon Transcribe
- Amazon Polly
- Amazon Textract
- Amazon Rekognition
Correct Answer: 2
Explanation
Amazon Polly is an AWS service that converts text into spoken audio using synthesized speech. Applications can use it for voice interfaces, accessibility features, announcements, and other scenarios where written content needs to be presented as speech. Amazon Polly differs from Amazon Transcribe, which performs speech-to-text transcription. When selecting a text-to-speech solution, developers should consider supported languages, voices, pronunciation requirements, latency, and the intended user experience. AI-generated speech should also be used responsibly, particularly in situations where users could mistake synthesized speech for a real person’s recording.
Question 134
Which practice can help ensure that an AI model is tested across different demographic or usage groups before deployment?
- Use diverse and representative evaluation data
- Evaluate the model using one example only
- Remove minority examples from the dataset
- Ignore subgroup performance
Correct Answer: 1
Explanation
Using diverse and representative evaluation data can help identify whether model performance differs across relevant demographic or usage groups. A model that performs well on an overall average may still produce substantially different results for particular groups if those groups are poorly represented or affected by other data issues. Responsible AI evaluation should therefore consider appropriate subgroup performance where relevant to the application. Organizations should define suitable evaluation criteria before testing and investigate significant disparities. The exact groups and metrics should reflect the application’s context, population, potential impact, and applicable requirements.
Question 135
What does model robustness generally refer to in an AI system?
- The ability to maintain useful performance under reasonable variations or disruptions
- The number of IAM policies in an AWS account
- The physical size of the training dataset
- The number of database tables
Correct Answer: 1
Explanation
Model robustness refers to how well an AI system maintains useful behavior when inputs vary, conditions change, or the system encounters situations that differ from ideal examples. Robustness can be important because real-world inputs may contain noise, unexpected formatting, minor variations, or other conditions that were not perfectly represented during development. Testing robustness can reveal weaknesses that may not appear in standard evaluation cases. Organizations should identify realistic variations for their specific application and assess model behavior under those conditions rather than assuming that strong average performance automatically means the model is robust.
Question 136
A generative AI application must prevent users from accessing information belonging to other customers. Where should the primary authorization decision be enforced?
- In the application and access-control layer
- Only through the model’s generated response
- Only through the temperature setting
- Only through prompt wording
Correct Answer: 2
Explanation
Authorization decisions should be enforced by application and access-control mechanisms rather than relying solely on a generative AI model to follow instructions. The application should determine what information the authenticated user is permitted to access before retrieving or presenting customer data. IAM policies, resource permissions, application authorization logic, and appropriate data isolation can help enforce these boundaries. A model may produce an incorrect response or follow a malicious instruction, so it should not be treated as the security boundary. Strong AI architectures place security controls outside the model and validate access before sensitive information is supplied.
Question 137
Which AWS service can provide a managed conversational interface for applications that need to understand user requests and conduct interactions?
- Amazon Lex
- Amazon S3
- Amazon Redshift
- AWS KMS
Correct Answer: 1
Explanation
Amazon Lex provides capabilities for building conversational interfaces that can understand user input and support interactions through voice or text. It can be used to create applications such as automated conversational assistants and customer-service interfaces. Lex can identify user intent and extract relevant information from conversations, allowing applications to respond according to configured logic. It differs from general-purpose foundation models because it is designed around conversational application capabilities. Organizations should evaluate supported features and integrate appropriate authentication, authorization, logging, and business logic when deploying conversational systems.
Question 138
Why is data provenance important when developing or evaluating an AI system?
- It helps organizations understand where data originated and how it was obtained
- It guarantees that every model prediction is correct
- It automatically increases model temperature
- It eliminates the need for data validation
Correct Answer: 1
Explanation
Data provenance provides information about where data originated, how it was collected, transformed, and potentially used throughout a workflow. Understanding provenance can help organizations assess data quality, licensing, privacy considerations, and suitability for AI development. It can also make troubleshooting and auditing easier when unexpected model behavior occurs. Provenance does not guarantee that data is accurate or unbiased, so additional validation remains necessary. Maintaining appropriate records about datasets and transformations can improve governance and help organizations make more informed decisions about whether particular data should be used for training, evaluation, or inference.
Question 139
A company wants to reduce the amount of irrelevant retrieved text supplied to a generative model in a RAG workflow. Which technique can help?
- Document chunking
- Disabling retrieval
- Increasing database passwords
- Removing all source documents
Correct Answer: 1
Explanation
Document chunking divides larger documents into smaller sections that can be indexed and retrieved more precisely. In a retrieval-augmented generation workflow, appropriately sized chunks can help the retrieval process return information that is more closely related to a user’s question instead of supplying an entire lengthy document. Chunk size and overlap should be selected according to the content and retrieval requirements. Poor chunking can separate related information or create excessive context. Therefore, teams should test chunking strategies using representative queries and evaluate whether the retrieved passages provide sufficient context for accurate generation.
Question 140
Which practice can help maintain an auditable record of how an AI system was configured and evaluated over time?
- Maintaining documentation and versioned records
- Deleting all model evaluation results
- Changing configurations without recording them
- Preventing authorized reviewers from accessing records
Correct Answer: 1
Explanation
Maintaining documentation and versioned records can help organizations understand how an AI system changed over time and support auditing or troubleshooting. Useful records may include model versions, datasets, evaluation results, configuration settings, prompts, deployment changes, and relevant approval information, depending on the system. Versioning makes it easier to identify which configuration produced a particular result and can support controlled rollback when necessary. Documentation should be protected against unauthorized modification while remaining accessible to authorized reviewers. Strong recordkeeping is an important component of responsible AI governance and operational management.