View Full Amazon AWS Certified AI Practitioner AIF-C01 Exam Dumps and Practice Test Dumps.
Question 1
What is the primary purpose of generative artificial intelligence?
- To create new content based on patterns learned from existing data
- To replace all traditional databases with neural networks
- To physically connect cloud servers to user devices
- To prevent all incorrect predictions from machine learning models
Correct Answer: 1
Explanation
Generative artificial intelligence is designed to create new content based on patterns learned from existing data. Depending on the model and application, the generated content can include text, images, audio, video, or code. Generative AI models learn statistical relationships in their training data and use those learned patterns to produce new outputs in response to prompts or other inputs. The generated content is not necessarily an exact copy of training examples. Organizations can use generative AI for tasks such as content creation, summarization, coding assistance, and conversational applications.
Question 2
Which AWS service is designed to provide managed access to foundation models from multiple AI providers through a single service?
- Amazon SageMaker
- Amazon Bedrock
- Amazon Rekognition
- Amazon Textract
Correct Answer: 2
Explanation
Amazon Bedrock is a fully managed AWS service that provides access to foundation models from multiple providers through a unified API. Organizations can use these models for generative AI applications without managing the underlying model infrastructure. Bedrock supports capabilities such as model inference, customization options, knowledge bases, agents, and guardrails. The service allows developers to experiment with different supported foundation models while maintaining an AWS-based application architecture. Amazon SageMaker also supports machine learning workloads, but Bedrock is specifically designed to simplify access to foundation models for generative AI applications.
Question 3
An AI system produces an answer that sounds convincing but contains information that is not supported by its source data. What is this behavior commonly called?
- Overfitting
- Tokenization
- Hallucination
- Normalization
Correct Answer: 3
Explanation
A hallucination occurs when a generative AI model produces information that appears plausible but is inaccurate, unsupported, or fabricated. This can happen because language models generate outputs based on learned patterns rather than inherently verifying every statement against authoritative information. Hallucinations can create significant risks when AI is used for business decisions, customer communication, or other sensitive tasks. Organizations can reduce these risks through approaches such as retrieval-augmented generation, grounding, validation, appropriate prompting, human review, and guardrails. However, these techniques do not guarantee that every generated response will be accurate.
Question 4
Which machine learning approach uses labeled examples to learn a relationship between inputs and known outputs?
- Unsupervised learning
- Reinforcement learning
- Generative learning
- Supervised learning
Correct Answer: 4
Explanation
Supervised learning uses labeled training data in which the desired output is known for each example. The model learns relationships between input features and corresponding labels so it can make predictions on new data. Common supervised learning tasks include classification and regression. For example, a business could train a model using historical customer records labeled as fraudulent or legitimate to predict the classification of future transactions. The quality and representativeness of the labeled training data strongly affect model performance. Supervised learning differs from unsupervised learning, which works without predefined labels.
Question 5
What is a token in the context of a large language model?
- A unit of text processed by the model
- A physical security key for an AWS account
- A complete machine learning dataset
- A measurement of cloud storage capacity
Correct Answer: 1
Explanation
A token is a unit of text that a language model processes. Depending on the tokenizer, a token may represent a complete word, part of a word, punctuation, or another text element. Models process input and generate output in terms of tokens rather than necessarily treating every word as one indivisible unit. Token counts are important because foundation models generally have limits on how much input and output they can process within a request. Token usage can also influence the cost and performance of generative AI applications.
Question 6
A company wants to create a chatbot that can answer questions using its internal documentation without retraining the foundation model every time the documents change. Which approach is most appropriate?
- Increasing the model’s temperature
- Retrieval-Augmented Generation (RAG)
- Removing all system prompts
- Increasing the number of output tokens
Correct Answer: 2
Explanation
Retrieval-Augmented Generation, or RAG, allows a generative AI application to retrieve relevant information from an external knowledge source and provide that information as context to the model. This approach is useful when an organization has frequently changing internal documentation because the knowledge source can be updated without repeatedly retraining the foundation model. The retrieved information can help ground the model’s response in organization-specific content. A typical RAG architecture includes document ingestion, indexing or retrieval, relevant context selection, and generation of a response based on the retrieved information.
Question 7
Which term describes the practice of writing instructions that guide a generative AI model toward a desired response?
- Prompt engineering
- Data normalization
- Feature scaling
- Model compression
Correct Answer: 1
Explanation
Prompt engineering involves designing and refining instructions provided to a generative AI model to obtain more useful, relevant, and consistent outputs. A prompt can include a task description, context, constraints, examples, formatting requirements, or other guidance. Effective prompts can help clarify the expected behavior and reduce ambiguity. Prompt engineering does not change the underlying model parameters. Instead, it focuses on how the application communicates the task to the model. Techniques can include zero-shot instructions, few-shot examples, role definitions, structured outputs, and explicit requirements.
Question 8
Which AWS service provides a managed environment for building, training, and deploying custom machine learning models?
- Amazon Comprehend
- Amazon Translate
- Amazon SageMaker
- Amazon Polly
Correct Answer: 3
Explanation
Amazon SageMaker is an AWS service designed to help organizations build, train, tune, deploy, and monitor machine learning models. It provides capabilities that support different stages of the machine learning lifecycle and can be used by data scientists and developers for custom machine learning workloads. SageMaker can support both traditional machine learning and various generative AI development scenarios. The service provides managed infrastructure and tooling, reducing the need to manually configure all underlying resources. This distinguishes SageMaker from specialized AI services that provide predefined capabilities for specific tasks.
Question 9
What is the main purpose of a foundation model in generative AI?
- To provide a broadly trained model that can be adapted to many downstream tasks
- To store application logs without performing inference
- To replace an organization’s identity management system
- To provide physical networking between AWS Regions
Correct Answer: 1
Explanation
A foundation model is a broadly trained machine learning model that can serve as a starting point for many different applications and tasks. Foundation models can process or generate content depending on their design and may be adapted through prompting, customization, fine-tuning, or other techniques. Their broad pretraining allows developers to use them for multiple use cases instead of creating a separate model entirely from scratch for every application. Organizations still need to evaluate a foundation model for factors such as accuracy, cost, latency, supported modalities, security requirements, and suitability for the intended workload.
Question 10
Which type of machine learning learns through interaction with an environment and feedback in the form of rewards or penalties?
- Supervised learning
- Unsupervised learning
- Transfer learning
- Reinforcement learning
Correct Answer: 4
Explanation
Reinforcement learning involves an agent interacting with an environment and receiving feedback, commonly represented as rewards or penalties. The agent learns strategies intended to maximize cumulative reward over time. Unlike supervised learning, the training process does not require a labeled example for every possible action. Reinforcement learning can be applied to areas such as decision-making, robotics, optimization, and certain AI alignment or model-training approaches. The quality of the reward design is important because an improperly designed reward can encourage behavior that technically maximizes the reward while failing to meet the actual objective.
Question 11
What does model inference mean in a machine learning application?
- Collecting raw training data
- Using a trained model to produce an output from input data
- Removing all parameters from a trained model
- Manually labeling every training example
Correct Answer: 2
Explanation
Model inference is the process of using a trained machine learning model to generate a prediction, classification, or other output from input data. During training, a model learns patterns from data and adjusts its parameters. During inference, the trained model applies what it has learned to new input. In a generative AI application, inference can involve providing a prompt and receiving generated text, an image, or another supported output. Inference performance can be evaluated using factors such as latency, accuracy, output quality, resource usage, and cost.
Question 12
A developer provides several examples of the desired input-output behavior directly within a prompt. Which prompting technique is being used?
- Few-shot prompting
- Model distillation
- Reinforcement learning
- Data augmentation
Correct Answer: 1
Explanation
Few-shot prompting provides a generative AI model with a small number of examples demonstrating how an input should correspond to a desired output. These examples help establish the expected task, format, or pattern without changing the model’s underlying parameters. For example, a developer might provide several examples of customer messages and their desired classifications before asking the model to classify a new message. Few-shot prompting can be useful when instructions alone are ambiguous. The quality and relevance of the examples can strongly influence the consistency and usefulness of the generated response.
Question 13
Which AWS service is primarily designed to convert spoken language into text?
- Amazon Polly
- Amazon Rekognition
- Amazon Transcribe
- Amazon Translate
Correct Answer: 3
Explanation
Amazon Transcribe is an AWS machine learning service that converts speech into text. It can be used for applications such as transcription, call analysis, meeting records, and other speech-to-text workloads. Amazon Transcribe uses machine learning to process audio and generate textual representations of spoken content. Amazon Polly performs the opposite type of task by converting text into lifelike speech. Amazon Translate focuses on language translation, while Amazon Rekognition provides capabilities related to image and video analysis. Selecting the correct managed AI service helps organizations avoid building specialized models unnecessarily.
Question 14
Which characteristic of training data is important for reducing unintended bias in an AI system?
- Using only the smallest possible dataset
- Ensuring the data is representative of the intended population
- Removing all validation data
- Increasing the model’s output length
Correct Answer: 2
Explanation
Training data should be sufficiently representative of the population and scenarios in which an AI system will be used. If important groups or situations are poorly represented, the resulting model may perform differently across populations or produce biased outcomes. Data quality involves more than simply increasing dataset size. Organizations should examine data coverage, relevance, accuracy, collection methods, and potential sources of historical bias. Appropriate evaluation should also test model performance across relevant groups and scenarios. These practices support responsible AI development and can help identify potential fairness issues before deployment.
Question 15
What is the purpose of temperature in many generative AI model configurations?
- To control the physical temperature of the inference server
- To determine how much storage the model consumes
- To influence the randomness of generated outputs
- To specify the number of training datasets
Correct Answer: 3
Explanation
Temperature is a model-generation parameter that can influence the randomness or variability of generated responses. Lower temperature settings generally encourage more predictable and focused outputs, while higher settings can produce more varied responses. The exact behavior depends on the model and implementation. Temperature does not directly control server hardware temperature, storage allocation, or the number of training datasets. Developers should select a setting based on the application requirements. Tasks requiring consistent and deterministic-style responses may benefit from lower variability, while creative applications may tolerate or prefer more variation.
Question 16
Which AWS service can analyze images and videos to identify objects, scenes, activities, and other visual information?
- Amazon Rekognition
- Amazon Transcribe
- Amazon Comprehend
- Amazon Lex
Correct Answer: 1
Explanation
Amazon Rekognition provides managed computer vision capabilities for analyzing images and videos. Depending on the supported feature, it can identify objects, scenes, faces, text, activities, and other visual characteristics. This allows developers to add image and video analysis without building a computer vision model from scratch. Amazon Transcribe focuses on speech-to-text, Amazon Comprehend provides natural language processing capabilities, and Amazon Lex is used for conversational interfaces. Organizations should still evaluate accuracy, privacy considerations, and appropriate use of visual data before deploying computer vision applications in production.
Question 17
What is the primary role of guardrails in a generative AI application?
- To increase the physical memory of an AI server
- To replace the foundation model
- To define boundaries that help control model inputs and outputs
- To eliminate the need for application testing
Correct Answer: 3
Explanation
Guardrails help organizations apply controls to generative AI interactions by defining boundaries around model inputs and outputs. They can be used to help prevent unwanted content, enforce certain usage policies, and reduce the likelihood of responses that violate defined application requirements. Amazon Bedrock Guardrails provides capabilities for applying configurable controls to supported generative AI applications. Guardrails are an important part of responsible AI design, but they are not a complete security solution. Applications should also use appropriate identity controls, monitoring, validation, data protection, and testing.
Question 18
A company needs an AI service that converts text into natural-sounding spoken audio. Which AWS service should it consider?
- Amazon Textract
- Amazon Polly
- Amazon Transcribe
- Amazon Comprehend
Correct Answer: 2
Explanation
Amazon Polly is an AWS service that converts text into lifelike speech using machine learning technologies. It can generate spoken audio for applications such as accessibility tools, voice-enabled interfaces, announcements, and other use cases where text needs to be presented as speech. Amazon Transcribe performs speech-to-text conversion, while Amazon Textract extracts text and data from documents. Amazon Comprehend provides natural language processing capabilities. When selecting a text-to-speech service, developers should consider supported languages, voices, pronunciation requirements, latency, cost, and the intended user experience.
Question 19
Which concept describes an AI system’s ability to explain or provide understandable reasons for its predictions or decisions?
- Explainability
- Tokenization
- Embedding
- Inference
Correct Answer: 1
Explanation
Explainability refers to the ability to provide understandable information about how an AI system reaches or supports a prediction or decision. It is particularly important when model outputs affect areas where users or organizations need to understand the basis for a result. Explainability approaches vary depending on the model and application and may include feature importance, explanations generated by supporting methods, or interpretable model structures. Explainability does not necessarily mean that a complex model can reveal a simple step-by-step human-readable reasoning process. Organizations should select explanation methods appropriate to the use case and risk level.
Question 20
A team wants to evaluate whether a generative AI model produces reliable responses before deploying it to customers. Which activity is most appropriate?
- Increase the number of application colors
- Remove all evaluation datasets
- Test the model using representative evaluation scenarios
- Disable monitoring after deployment
Correct Answer: 3
Explanation
Testing a generative AI model with representative evaluation scenarios helps an organization assess response quality before deployment. Evaluation can examine factors such as factual accuracy, relevance, safety, consistency, bias, instruction following, and performance across expected use cases. Test scenarios should reflect realistic inputs and potentially challenging edge cases rather than relying only on ideal examples. Organizations can establish evaluation criteria and compare model outputs against expected results or human judgments. Ongoing monitoring after deployment is also important because real-world usage can reveal issues that were not captured during predeployment testing.