Limited-Time Offer: Enjoy 50% Savings! Ends in 00h 00m 00s Coupon code: 50OFF
Skip to content

Free Amazon AWS Certified AI Practitioner AIF-C01 Exam Questions

Page: 1 / 29 Total 424 questions

Want more questions? Get Premium Access.

Question 1

A company deployed a Retrieval Augmented Generation (RAG) application on Amazon Bedrock that gathers financial news to distribute in daily newsletters. Users have recently reported politically influenced ideas in the newsletters.

Which Amazon Bedrock Guardrails feature can identify and filter this content?

Correct Answer: B. Denied topics
Explanation:

Denied topics are the appropriate Amazon Bedrock Guardrails feature because the company wants to identify and prevent responses relating to a specific subject area---in this case, unwanted political content.

AWS explains: ''You can specify a set of denied topics in a guardrail that are undesirable'' for a generative AI application. When a prompt or response is identified as belonging to a configured denied topic, the guardrail can block that content and return the configured blocked-response message.

The company could therefore define a denied topic describing political advocacy, political commentary, politically influenced recommendations, or whatever political-content boundary its newsletter policy prohibits. Amazon Bedrock Guardrails evaluates content contextually against the topic definition rather than relying solely on individual keywords.

This distinction is important because political ideas can be expressed without using predictable keywords. A contextual denied-topic policy is consequently better suited than maintaining a static list of political terms.

Word filters, option A, block configured words or phrases through direct matching. They are useful for profanity, competitor names, or other exact terms but are less suitable for broad conceptual topics.

Sensitive information filters, option C, detect personally identifiable information and configured sensitive patterns. They address privacy rather than political subject matter.

Content filters, option D, detect predefined harmful-content categories. Current Amazon Bedrock Guardrails categories include Hate, Insults, Sexual, Violence, Misconduct, and Prompt Attack. Politics is not one of those predefined content-filter categories.

Denied topics are specifically intended for application-specific subjects that the organization chooses to prohibit. AWS gives examples such as a banking assistant being configured to avoid investment-advice or cryptocurrency discussions.

Consequently, the RAG architecture does not change the appropriate control. Guardrails can evaluate generated output after retrieval and generation, and the company can define politics-related content as an undesirable subject.

Therefore, the correct answer is B. Denied topics.


Question 2

A company is using Amazon Bedrock to process vendor invoices. The company needs to obtain compliance documentation for submission to regulatory authorities.

Which AWS service meets these requirements?

Correct Answer: D. AWS Artifact
Explanation:

The verified answer is D. AWS Artifact. The company needs compliance documentation for submission to regulatory authorities. AWS Artifact is the AWS service designed for this exact requirement. AWS describes AWS Artifact as a self-service portal that provides on-demand access to AWS security and compliance reports and agreements. AWS also states that customers can use AWS Artifact to access AWS and independent software vendor security and compliance reports, download compliance reports, and manage compliance agreements. This directly matches the need to obtain documentation for auditors or regulators.

AWS compliance guidance also explains that AWS supports many security standards and compliance certifications, and AWS reports such as SOC reports help customers and auditors understand AWS controls established to support operations and compliance. AWS Artifact is the mechanism customers use to retrieve many of these compliance documents. Therefore, if the company is using Amazon Bedrock and needs compliance documentation related to AWS services, AWS Artifact is the appropriate service.

AWS Config is incorrect because it records, evaluates, and audits AWS resource configurations. It can help assess whether resources comply with internal rules, but it is not the service for obtaining AWS compliance reports for submission to regulators. Amazon Bedrock is incorrect because Bedrock is the generative AI service being used to process invoices; it does not serve as the compliance report portal. Amazon SageMaker AI is incorrect because SageMaker AI is used to build, train, deploy, and manage machine learning models. It is not the AWS service for downloading AWS compliance documentation.

The question is not asking how to process invoices securely or how to configure Bedrock controls. It is asking where to obtain formal compliance documentation. The correct AWS service is AWS Artifact.


Question 3

An AI practitioner needs to improve the accuracy of a natural language generation model. The model uses rapidly changing inventory data.

Which technique will improve the model's accuracy?

Correct Answer: C. Retrieval Augmented Generation (RAG)
Explanation:

The requirement is to improve the accuracy of a natural language generation (NLG) model that relies on rapidly changing inventory data. Let's evaluate the options:

A . Transfer learning: This involves pre-training a model on a large dataset and fine-tuning it for a specific task. While effective for general model improvement, it does not specifically address the challenge of incorporating rapidly changing inventory data into the model's responses.

B . Federated learning: This technique trains models across decentralized devices while keeping data localized, primarily for privacy purposes. It is not designed to handle rapidly changing data or improve NLG model accuracy in this context.

C . Retrieval Augmented Generation (RAG): RAG combines a language model with a retrieval mechanism that fetches relevant, up-to-date information (e.g., inventory data) from an external source during inference. This is ideal for scenarios with dynamic data, as it ensures the model's responses are grounded in the latest information, improving accuracy.

D . One-shot prompting: This involves providing a single example to guide the model's output. While useful for specific tasks, it does not scale well for rapidly changing data or ensure consistent accuracy with dynamic inventory updates.

Exact Extract Reference: According to AWS documentation on generative AI techniques, ''Retrieval Augmented Generation (RAG) enhances large language models by retrieving relevant documents or data at inference time, enabling the model to generate accurate and contextually relevant responses, especially for dynamic or frequently updated datasets.'' (Source: AWS Generative AI Glossary, https://aws.amazon.com/what-is/retrieval-augmented-generation/). This directly addresses the need for accuracy with rapidly changing inventory data.

RAG is the most suitable technique for this scenario, as it allows the model to access and incorporate the latest inventory data, making C the correct answer.


AWS Generative AI Glossary: Retrieval Augmented Generation (https://aws.amazon.com/what-is/retrieval-augmented-generation/)

AWS Bedrock Documentation (contextual use of RAG in LLMs)

AWS AI Practitioner Study Guide (focus on generative AI techniques for dynamic data)

Question 4

An education provider is building a question and answer application that uses a generative AI model to explain complex concepts. The education provider wants to automatically change the style of the model response depending on who is asking the question. The education provider will give the model the age range of the user who has asked the question.

Which solution meets these requirements with the LEAST implementation effort?

Correct Answer: B. Add a role description to the prompt context that instructs the model of the age range that the response should target.
Explanation:

Adding a role description to the prompt context is a straightforward way to instruct the generative AI model to adjust its response style based on the user's age range. This method requires minimal implementation effort as it does not involve additional training or complex logic.

Option B (Correct): 'Add a role description to the prompt context that instructs the model of the age range that the response should target': This is the correct answer because it involves the least implementation effort while effectively guiding the model to tailor responses according to the age range.

Option A: 'Fine-tune the model by using additional training data' is incorrect because it requires significant effort in gathering data and retraining the model.

Option C: 'Use chain-of-thought reasoning' is incorrect as it involves complex reasoning that may not directly address the need to adjust response style based on age.

Option D: 'Summarize the response text depending on the age of the user' is incorrect because it involves additional processing steps after generating the initial response, increasing complexity.

AWS AI Practitioner Reference:

Prompt Engineering Techniques on AWS: AWS recommends using prompt context effectively to guide generative models in providing tailored responses based on specific user attributes.


Question 5

Which statement presents an advantage of using Retrieval Augmented Generation (RAG) for natural language processing (NLP) tasks?

Correct Answer: A. RAG can use external knowledge sources to generate more accurate and informative responses
Explanation:

Retrieval-Augmented Generation (RAG) integrates external knowledge sources (databases, vector stores, document repositories) with LLMs, enabling them to generate contextually accurate and up-to-date responses without retraining.

B is incorrect: RAG does not speed up training; it improves inference results.

C is incorrect: speech recognition is not an RAG use case.

D is incorrect: computer vision augmentation is unrelated to RAG.

Reference:

AWS Documentation -- Knowledge Bases for RAG in Amazon Bedrock


Question 6

Which AWS service or feature stores embeddings In a vector database for use with foundation models (FMs) and Retrieval Augmented Generation (RAG)?

Correct Answer: B. Amazon OpenSearch Service
Explanation:

AWS provides vector database capabilities through Amazon OpenSearch with its vector database engine and Amazon RDS with the pgvector extension. These services store embeddings (vector representations) that are essential for RAG solutions. OpenSearch is optimized for semantic search on embeddings, while RDS with pgvector offers a relational database approach to vector storage. Both enable similarity searches necessary for retrieving relevant context in RAG implementations.

Question 7

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

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

How can the company improve the performance of the chatbot?

Correct Answer: B. Use domain adaptation fine-tuning to adapt the FM to complex scientific terms.
Explanation:

Domain adaptation fine-tuning involves training a foundation model (FM) further using a specific dataset that includes domain-specific terminology and content, such as scientific terms in research papers. This process allows the model to better understand and handle complex terminology, improving its performance on specialized tasks.

Option B (Correct): 'Use domain adaptation fine-tuning to adapt the FM to complex scientific terms': This is the correct answer because fine-tuning the model on domain-specific data helps it learn and adapt to the specific language and terms used in the research papers, resulting in better performance.

Option A: 'Use few-shot prompting to define how the FM can answer the questions' is incorrect because while few-shot prompting can help in certain scenarios, it is less effective than fine-tuning for handling complex domain-specific terms.

Option C: 'Change the FM inference parameters' is incorrect because adjusting inference parameters will not resolve the issue of the model's lack of understanding of complex scientific terminology.

Option D: 'Clean the research paper data to remove complex scientific terms' is incorrect because removing the complex terms would result in the loss of important information and context, which is not a viable solution.

AWS AI Practitioner Reference:

Domain Adaptation in Amazon Bedrock: AWS recommends fine-tuning models with domain-specific data to improve their performance on specialized tasks involving unique terminology.


Question 8

A financial company is building an ML model to classify fraudulent transactions based on customer data and transaction patterns. The company wants to evaluate the model's performance. The company must ensure that the model makes correct predictions and minimizes false positives.

Which evaluation metric will meet these requirements?

Correct Answer: C. F1 score
Explanation:

The verified answer is C. F1 score. This is a classification problem: the model classifies transactions as fraudulent or non-fraudulent. AWS machine learning documentation identifies accuracy, precision, recall, and F1 score as classification evaluation metrics. F1 score is especially appropriate when the evaluation must consider both correct positive predictions and the cost of incorrect positive predictions. AWS defines F1 as the harmonic mean of precision and recall, which means it balances how many positive predictions are correct with how many actual positive cases are found.

The key issue in the question is minimizing false positives. In fraud detection, a false positive means a legitimate transaction is incorrectly classified as fraudulent. AWS documentation explains that precision evaluates how well the model avoids false positives by measuring the percentage of positive predictions that were actually correct. Because F1 includes precision, it penalizes models that generate too many false positives while also considering recall.

Accuracy is not the best answer because it only measures the overall fraction of correct predictions. In fraud detection, the dataset is often imbalanced, so a model can appear accurate while still performing poorly on fraud-related predictions. R-squared and RMSE are regression metrics, not classification metrics. R-squared measures how well a regression model explains variance, and RMSE measures prediction error magnitude for continuous numeric outputs.


Question 9

An AI practitioner wants to generate a speech-to-speech agent that can receive audio input and respond with audio output in real time.

Which model type will meet these requirements?

Correct Answer: C. Transformer-based
Explanation:

A transformer-based model is the best answer because modern real-time conversational speech foundation models use transformer architectures to understand context, reason over user input, and generate suitable conversational responses. AWS provides a direct example through Amazon Nova Sonic and Amazon Nova 2 Sonic, which are designed for low-latency speech-to-speech interaction.

AWS describes the architecture of Nova Sonic as combining specialized speech components with a multimodal LLM. The AWS AI Service Card states: ''we trained a core transformer model on a variety of multilingual and multimodal data sources.'' AWS also describes Nova Sonic as a speech-to-speech model that supports natural, real-time voice conversations with low latency.

A complete speech-to-speech system may contain speech encoders and speech renderers or decoders, but neither an encoder-only nor decoder-only model adequately represents the complete conversational architecture required by the scenario. An encoder converts an input such as speech into internal representations, while a decoder generates outputs. A bidirectional conversational system must perform both understanding and generation while maintaining conversational context.

Diffusion models are most strongly associated with iterative generative processes such as image generation and some audio-generation workloads. They are not the best architectural category for the low-latency, contextual, real-time conversational agent described here.

AWS Nova Sonic demonstrates the intended pattern particularly well: speech is accepted as input, contextual reasoning occurs through a multimodal transformer-based LLM, and speech is produced as output through a bidirectional streaming interface. This enables interactive voice assistants, customer-service agents, and similar real-time applications.

Therefore, among the available options, transformer-based is the technically correct model type.


Question 10

A company is using custom models in Amazon Bedrock for a generative AI application. The company wants to use a company-managed encryption key to encrypt the model artifacts that the model customization jobs create. Which AWS service meets these requirements?

Correct Answer: A. AWS Key Management Service (AWS KMS)
Explanation:

AWS KMS provides customer-managed encryption keys (CMKs) that can be used to encrypt model artifacts and other sensitive data at rest.

Bedrock integrates with AWS KMS to allow encryption of customized models with your own keys.

Amazon Inspector is for vulnerability scanning, Amazon Macie for sensitive data discovery, AWS Secrets Manager for storing credentials and secrets.

Reference:

AWS Documentation -- Using KMS with Amazon Bedrock


Question 11

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

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

Correct Answer: B. Threat detection; C. Data protection
Explanation:

To comply with multiple regulatory frameworks, the company must ensure data protection and threat detection. Data protection involves safeguarding sensitive customer information, while threat detection identifies and mitigates security threats to the application.

Option C (Correct): 'Data protection': This is correct because data protection is critical for compliance with privacy and security regulations.

Option B (Correct): 'Threat detection': This is correct because detecting and mitigating threats is essential to maintaining the security posture required for regulatory compliance.

Option A: 'Auto scaling inference endpoints' is incorrect because auto-scaling does not directly relate to regulatory compliance.

Option D: 'Cost optimization' is incorrect because it is focused on managing expenses, not compliance.

Option E: 'Loosely coupled microservices' is incorrect because this architectural approach does not directly address compliance requirements.

AWS AI Practitioner Reference:

AWS Compliance Capabilities: AWS offers services and tools, such as data protection and threat detection, to help companies meet regulatory requirements for security and privacy.


Question 12

A financial company is developing a generative AI application for loan approval decisions. The company needs the application output to be responsible and fair.

Which solution meets these requirements?

Correct Answer: A. Review the training data to check for biases. Include data from all demographics in the training data.
Explanation:

The verified answer is A. Review the training data to check for biases. Include data from all demographics in the training data. The application is being used for loan approval decisions, so fairness is critical. AWS Machine Learning Lens guidance states that teams should analyze whether training data adequately represents the diversity of the user population and check for existing biases in labels or features that could be perpetuated by the model. AWS also recommends evaluating and preparing representative training data, analyzing training data for potential biases, verifying that the data accurately represents the population on which the model will be deployed, and addressing representation gaps.

This directly matches option A. For loan decisions, biased or unrepresentative training data can cause unfair outcomes for demographic groups. Reviewing the training data and including representative data from all demographics helps reduce the risk that the model learns patterns that disadvantage underrepresented groups.

Option B is incorrect because a deep learning model with many hidden layers does not automatically make a system fair. In fact, more complex models can be harder to interpret and may still learn biased patterns from biased data.

Option C is incorrect because secrecy conflicts with responsible AI principles. Financial loan decisions often require transparency, explainability, governance, and auditability. Hiding the decision process does not make outputs fair.

Option D is incorrect because monitoring only a static test dataset is insufficient. A static dataset may not represent changing real-world populations, drift, or emerging bias. AWS guidance recommends tracking fairness metrics over time and detecting emerging bias in deployment.

Therefore, the correct solution is to review and balance representative training data across demographics.


Question 13

A financial company is creating an AI model for customer loan applications. The company wants to demonstrate the principles of human-centered design for explainable AI.

Which Amazon SageMaker AI feature meets these requirements?

Correct Answer: B. Amazon SageMaker Clarify
Explanation:

The verified answer is B. Amazon SageMaker Clarify. The model is used for customer loan applications, where explainability, transparency, and human-centered decision support are critical. AWS documentation states that SageMaker Clarify provides tools to help explain how machine learning models make predictions. These tools help ML developers, modelers, and internal stakeholders understand model characteristics before deployment and debug predictions after deployment.

SageMaker Clarify is specifically aligned with explainable AI because it provides feature attribution methods, including SHAP-based explanations. AWS documentation explains that Clarify can generate reports that contribute to model governance documentation and can help describe how a model works, what features influence its decisions, and how explanations are generated.

Amazon SageMaker Model Registry is incorrect because it manages model versions, approval status, and deployment tracking. It supports governance workflows, but it does not explain why a model made a decision.

Amazon SageMaker Pipelines is incorrect because it automates and orchestrates ML workflows such as training, evaluation, and deployment. It does not provide the core explainability function required here.

Amazon SageMaker Feature Store is incorrect because it stores, shares, and serves ML features for training and inference. It improves feature reuse and consistency, but it does not explain model decisions.


Question 14

A company wants to use Amazon Bedrock. The company needs to review which security aspects the company is responsible for when using Amazon Bedrock.

Correct Answer: C. Securing the company's data in transit and at rest
Explanation:

With Amazon Bedrock, AWS handles infrastructure security and patching (shared responsibility model).

Customers are responsible for securing their data (encryption, IAM, policies) both in transit and at rest.

Provisioning infrastructure (D) and platform patching (A, B) are AWS responsibilities.

Reference:

AWS Shared Responsibility Model


Question 15

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

Which AWS service or feature will meet these requirements?

Correct Answer: C. Guardrails for Amazon Bedrock
Explanation:

Amazon Bedrock is a service that provides foundational models for building generative AI applications. When creating an application for children, it is crucial to ensure that the generated content is appropriate for the target audience. 'Guardrails' in Amazon Bedrock provide mechanisms to control the outputs and topics of generated content to align with desired safety standards and appropriateness levels.

Option C (Correct): 'Guardrails for Amazon Bedrock': This is the correct answer because guardrails are specifically designed to help users enforce content moderation, filtering, and safety checks on the outputs generated by models in Amazon Bedrock. For a children's application, guardrails ensure that all content generated is suitable and appropriate for the intended audience.

Option A: 'Amazon Rekognition' is incorrect. Amazon Rekognition is an image and video analysis service that can detect inappropriate content in images or videos, but it does not handle text or story generation.

Option B: 'Amazon Bedrock playgrounds' is incorrect because playgrounds are environments for experimenting and testing model outputs, but they do not inherently provide safeguards to ensure content appropriateness for specific audiences, such as children.

Option D: 'Agents for Amazon Bedrock' is incorrect. Agents in Amazon Bedrock facilitate building AI applications with more interactive capabilities, but they do not provide specific guardrails for ensuring content appropriateness for children.

AWS AI Practitioner Reference:

Guardrails in Amazon Bedrock: Designed to help implement controls that ensure generated content is safe and suitable for specific use cases or audiences, such as children, by moderating and filtering inappropriate or undesired content.

Building Safe AI Applications: AWS provides guidance on implementing ethical AI practices, including using guardrails to protect against generating inappropriate or biased content.