Amazon AWS Certified AI Practitioner AIF-C01 Practice Test Questions and Exam Dumps Part16 Q301-320

View Full Amazon AWS Certified AI Practitioner AIF-C01 Exam Dumps and Practice Test Dumps.

 

Question 301

What is inference?

  1. Using a trained model to generate predictions or outputs from new input
  2. Collecting raw training data
  3. Labeling every dataset manually
  4. Encrypting model files

Correct Answer: 1

Explanation

Inference is the process of using a trained machine learning or AI model to produce an output from new input data. For example, an application may send a customer message to a trained model and receive a classification or generated response. Inference can occur in real time or through batch processing, depending on the application requirements. Factors such as latency, cost, model capacity, and input size can affect inference performance. Organizations should evaluate inference behavior with representative workloads before deploying a model for production use.

Question 302

Which learning approach uses data without predefined target labels to discover patterns or groupings?

  1. Supervised learning
  2. Unsupervised learning
  3. Reinforcement learning
  4. Transfer learning

Correct Answer: 2

Explanation

Unsupervised learning works with data that does not have predefined target labels. The model attempts to discover useful structures or patterns within the data. Clustering is a common example because it groups similar observations according to their characteristics. Unsupervised approaches can help organizations explore datasets, identify segments, or discover unusual structures. Because there are no predefined labels, evaluation may require different methods from supervised learning. The usefulness of the resulting patterns should be assessed in relation to the business problem rather than assuming that every discovered grouping has practical meaning.

Question 303

A customer-support model predicts whether a message belongs to the billing category, but the model instead assigns it to technical support. What type of result is this?

  1. True positive
  2. True negative
  3. False positive
  4. False negative

Correct Answer: 4

Explanation

A false negative occurs when a model fails to identify a positive case that actually belongs to the positive class. In this scenario, if the billing category is considered the target class, a billing message incorrectly classified as technical support is a false negative. Understanding confusion-matrix outcomes helps organizations evaluate classification behavior beyond overall accuracy. Different applications may place different importance on false positives and false negatives. Teams should select evaluation metrics and thresholds based on the consequences of each type of classification error in the intended business process.

Question 304

Which factor is especially important when selecting a foundation model for an application that must process long documents?

  1. Application logo
  2. Supported context length
  3. Number of database tables
  4. Network cable type

Correct Answer: 2

Explanation

Context length determines how much input information a model can consider within a request, subject to the model’s specific limits. For applications involving long documents, the available context capacity can influence whether the entire document can be processed directly or whether preprocessing, chunking, or retrieval is needed. Organizations should also consider output limits because input capacity and output capacity can differ. Context length alone does not determine model suitability; quality, cost, latency, supported modalities, safety, and other requirements should also be evaluated before selecting a foundation model.

Question 305

What is a benefit of using a managed AI service?

  1. Reduced need to manage underlying infrastructure
  2. Guaranteed perfect model accuracy
  3. Elimination of all security responsibilities
  4. Unlimited free inference

Correct Answer: 1

Explanation

Managed AI services can reduce the amount of underlying infrastructure that customers need to provision and maintain. The service provider manages many operational components, allowing teams to focus more on application development and the intended AI use case. However, managed services do not guarantee perfect accuracy, eliminate security responsibilities, or make inference automatically free. Customers remain responsible for aspects such as data, access permissions, application configuration, and appropriate use. The exact responsibilities depend on the service and its shared responsibility model, so organizations should understand the controls they still need to implement.

Question 306

A model receives new training data every month. Which practice helps ensure that the updated model is evaluated consistently against earlier versions?

  1. Changing the evaluation criteria every month
  2. Reusing only the newest training examples
  3. Maintaining a stable evaluation methodology
  4. Removing previous model results

Correct Answer: 3

Explanation

Maintaining a stable evaluation methodology allows organizations to compare model versions more meaningfully over time. If the evaluation dataset, criteria, or scoring process changes unnecessarily between versions, an apparent improvement may result from the evaluation change rather than actual model improvement. A stable methodology can include defined test cases, consistent metrics, and documented evaluation procedures. Some additional tests may be added when requirements evolve, but historical evaluation results should be preserved. This approach supports model governance, regression detection, and informed decisions about whether a newly trained model is suitable for deployment.

Question 307

Which AWS service can convert written text into natural-sounding speech?

  1. Amazon Polly
  2. Amazon Textract
  3. Amazon Macie
  4. Amazon Kendra

Correct Answer: 1

Explanation

Amazon Polly is an AWS service that converts text into spoken audio using speech synthesis capabilities. It can support applications such as accessibility features, voice assistants, notifications, and audio content generation. The service provides supported voices and languages that applications can use according to their requirements. Developers should evaluate pronunciation, voice quality, language support, and latency for their specific workload. When generated speech is used in customer-facing or important workflows, organizations should also consider whether the voice output could be misunderstood and whether additional application-level controls are appropriate.

Question 308

An AI application must return machine-readable results to a downstream system. Which output format is generally appropriate?

  1. Free-form paragraphs only
  2. Structured JSON
  3. Randomly ordered text
  4. Audio without metadata

Correct Answer: 2

Explanation

Structured JSON can provide a predictable machine-readable format for transferring AI-generated information to downstream applications. By defining expected fields and value types, developers can make it easier for software components to parse and validate model outputs. However, models can sometimes produce malformed or incomplete structures, so applications should validate the output before using it. Developers may also use explicit output instructions and schemas where supported. Structured output does not guarantee correctness; semantic validation remains important when the generated values can trigger business actions or affect other systems.

Question 309

Which practice can help protect an AI application from unauthorized use of its model endpoint?

  1. Publicly exposing credentials
  2. Disabling identity checks
  3. Authentication and access controls
  4. Removing request logging

Correct Answer: 3

Explanation

Authentication and access controls help ensure that only authorized identities can use a model endpoint or related application resources. Authentication verifies who or what is making a request, while authorization determines what that identity is allowed to access or perform. Organizations should apply appropriate permissions, protect credentials, and avoid exposing sensitive authentication information. Additional measures such as rate limiting, monitoring, and network controls can provide further protection. Access security should be implemented outside the model itself because a model cannot reliably enforce infrastructure-level authorization on its own.

Question 310

What does model drift generally refer to?

  1. A model’s behavior or performance changing as real-world conditions change
  2. Increasing the number of training labels
  3. Converting text into tokens
  4. Encrypting stored datasets

Correct Answer: 1

Explanation

Model drift generally refers to changes that cause a deployed model’s behavior or performance to decline as real-world conditions change. Changes in user behavior, data distributions, relationships between features and outcomes, or external conditions can affect how well a model performs. Monitoring can help identify these changes, while periodic evaluation can determine whether retraining, recalibration, or another intervention is necessary. Drift should be distinguished from ordinary temporary variation. Organizations should define meaningful monitoring signals and thresholds based on the application’s requirements rather than assuming that every change indicates a serious model problem.

Question 311

Which AWS service can convert speech into text?

  1. Amazon Translate
  2. Amazon Transcribe
  3. Amazon Polly
  4. Amazon Rekognition

Correct Answer: 2

Explanation

Amazon Transcribe provides automatic speech recognition capabilities that convert spoken audio into text. It can support applications such as transcription of meetings, customer-service conversations, interviews, and other audio content. Accuracy can depend on factors such as audio quality, speaker characteristics, background noise, vocabulary, and supported language. Organizations should test transcription quality with representative recordings before relying on the output for important workflows. When transcripts contain sensitive information, appropriate access controls, retention policies, and data-protection measures should also be applied.

Question 312

A model is unable to learn the training data sufficiently and performs poorly on both training and evaluation datasets. Which issue is most likely?

  1. Overfitting
  2. Underfitting
  3. Data encryption
  4. Token leakage

Correct Answer: 2

Explanation

Underfitting occurs when a model is too simple or insufficiently trained to capture meaningful patterns in the data. A typical indication is poor performance on both training data and unseen evaluation data. Potential responses can include using a more suitable model, improving features, providing better training data, adjusting training parameters, or allowing additional training when appropriate. The correct solution depends on the underlying cause. Teams should compare training and evaluation results rather than relying on one metric because different problems can produce superficially similar performance patterns.

Question 313

What is the main purpose of a system prompt in a generative AI application?

  1. To define high-level instructions and behavioral guidance for the model
  2. To increase physical storage capacity
  3. To encrypt the user’s network connection
  4. To replace all application authorization

Correct Answer: 1

Explanation

A system prompt can provide high-level instructions that guide how a generative AI model should behave within an application. It may establish response style, task requirements, constraints, or other application-specific guidance. However, a system prompt should not be treated as a complete security boundary. Sensitive operations still require application-level authorization and validation. Developers should also protect internal instructions from unnecessary exposure and test whether untrusted input can cause unintended behavior. System prompts are therefore one component of application design rather than a substitute for conventional security controls.

Question 314

Which method can improve a model by starting with an existing pretrained model instead of training entirely from scratch?

  1. Data deletion
  2. Transfer learning
  3. Rate limiting
  4. Token filtering

Correct Answer: 2

Explanation

Transfer learning uses knowledge learned by an existing pretrained model as a starting point for a new task. Instead of training a model entirely from scratch, developers can adapt an existing model to a related task or domain. This can reduce training requirements and may be useful when the available task-specific dataset is limited. The suitability of transfer learning depends on how closely the pretrained model’s learned representations relate to the new task. Evaluation is still necessary because an existing model may contain limitations or biases that affect its performance in the new application.

Question 315

A team wants to make generated responses less random. Which setting can it adjust?

  1. Temperature
  2. Storage class
  3. IAM role name
  4. Database index

Correct Answer: 1

Explanation

Temperature controls the degree of randomness or variability in many generative AI model outputs. Lower values generally make generation more focused and predictable, while higher values can produce more varied responses. The exact behavior depends on the model and service implementation. Temperature should be selected according to the application’s requirements rather than assuming that the lowest possible value is always appropriate. Teams should test different settings with representative prompts and evaluate response quality, consistency, and usefulness before choosing a configuration for production.

Question 316

A company wants to identify whether an AI model behaves differently for different demographic groups. What should it perform?

  1. File compression
  2. Fairness analysis
  3. DNS configuration
  4. Image resizing

Correct Answer: 2

Explanation

Fairness analysis examines whether an AI system produces materially different outcomes or performance across relevant groups. Organizations may compare appropriate performance or outcome measures across groups and investigate whether differences arise from data representation, labeling, model behavior, thresholds, or other factors. The appropriate fairness criteria depend on the use case and its potential impact. Organizations should avoid relying on a single overall metric because aggregate results can hide subgroup differences. Findings should be documented, and mitigation should be evaluated through additional testing before changes are deployed.

Question 317

Which AWS service can extract text and structured information from scanned documents?

  1. Amazon Textract
  2. Amazon Polly
  3. Amazon Lex
  4. Amazon Route 53

Correct Answer: 1

Explanation

Amazon Textract is designed to extract text and structured information from documents, including information contained in scanned files and forms. It can help automate document-processing workflows that would otherwise require manual data entry. Organizations should evaluate extraction accuracy because document layout, image quality, handwriting, and other characteristics can affect results. Extracted information may also require validation before being used for consequential operations. When documents contain sensitive information, appropriate permissions, encryption, retention, and monitoring should be applied to protect the source files and extracted data.

Question 318

An AI application retrieves information from a knowledge base, but users should see only documents they are authorized to access. What should the application enforce?

  1. Permission-aware retrieval
  2. Random document selection
  3. Unlimited retrieval
  4. Anonymous access

Correct Answer: 1

Explanation

Permission-aware retrieval ensures that search and retrieval results respect the user’s existing access permissions. This is especially important when AI applications retrieve information from enterprise knowledge bases containing documents with different confidentiality levels. Without appropriate permission filtering, a model could potentially expose information that the requesting user was never authorized to access. Authorization should therefore be enforced at the retrieval or application layer rather than relying on the model to decide whether information is appropriate to disclose. Access-control testing should verify that users cannot retrieve restricted content through alternate queries.

Question 319

What is a potential advantage of batch inference?

  1. It can process many inputs together when immediate responses are not required
  2. It always provides lower latency for individual requests
  3. It removes the need for a trained model
  4. It guarantees higher prediction accuracy

Correct Answer: 1

Explanation

Batch inference processes multiple inputs together rather than requiring an immediate response for each individual request. It can be useful for workloads such as periodic analysis, document processing, or generating predictions for large datasets when real-time responses are unnecessary. Batch processing can allow organizations to design workloads around scheduled execution and resource utilization. However, it is not appropriate when users require immediate results. Teams should choose between batch and real-time approaches based on latency requirements, workload characteristics, cost considerations, and operational needs.

Question 320

A company wants to make an AI-generated response easier for users to verify. Which approach is most helpful?

  1. Hide all supporting information
  2. Provide relevant supporting sources or evidence
  3. Increase response randomness
  4. Remove retrieval results

Correct Answer: 2

Explanation

Providing relevant supporting sources or evidence can make AI-generated responses easier for users to verify. In retrieval-based applications, the system can present documents, passages, or other references that support the generated answer when appropriate. This can improve transparency and help users investigate potentially incorrect statements. However, supporting sources do not automatically guarantee that the generated response is accurate, so users may still need to review the evidence. Applications should also ensure that cited information respects access permissions and does not expose documents to users who are not authorized to view them.