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?
Show answerHide answer
Correct answer: ADecision trees
Explanation
Explanation:
Decision trees are an interpretable machine learning algorithm that clearly documents the
decision-making process by showing how each input feature affects the output. This
transparency is particularly useful when explaining how the model arrives at a certain
decision, making it suitable for classifying genes into categories.
Option A (Correct): "Decision trees": This is the correct answer because decision
trees provide a clear and interpretable representation of how input features
influence the model's output, making it ideal for understanding the inner
mechanisms affecting predictions.
Option B: "Linear regression" is incorrect because it is used for regression tasks,
not classification.
Option C: "Logistic regression" is incorrect as it does not provide the same level of
interpretability in documenting decision-making processes.
Option D: "Neural networks" is incorrect because they are often considered "black
boxes" and do not easily explain how they arrive at their outputs.E
AWS AI Practitioner References:
Interpretable Machine Learning Models on AWS: AWS supports using
interpretable models, such as decision trees, for tasks that require clear documentation of how input data affects output decisions.
Question 42Choose 1
Which term describes the numerical representations of real-world objects and concepts
that AI and natural language processing (NLP) models use to improve understanding of
textual information?
Show answerHide answer
Correct answer: AEmbeddings
Explanation
Explanation:
Embeddings are numerical representations of objects (such as words, sentences, or
documents) that capture the objects' semantic meanings in a form that AI and NLP models
can easily understand. These representations help models improve their understanding of
textual information by representing concepts in a continuous vector space.
Option A (Correct): "Embeddings": This is the correct term, as embeddings provide
a way for models to learn relationships between different objects in their input
space, improving their understanding and processing capabilities.
Option B: "Tokens" are pieces of text used in processing, but they do not capture
semantic meanings like embeddings do.
Option C: "Models" are the algorithms that use embeddings and other inputs, not
the representations themselves.
Option D: "Binaries" refer to data represented in binary form, which is unrelated to
the concept of embeddings.
AWS AI Practitioner References:
Understanding Embeddings in AI and NLP: AWS provides resources and tools,
like Amazon SageMaker, that utilize embeddings to represent data in formats
suitable for machine learning models.
Question 43Choose 1
A company wants to assess the costs that are associated with using a large language model (LLM) to generate inferences. The company wants to use Amazon Bedrock to build
generative AI applications.
Which factor will drive the inference costs?
Show answerHide answer
Correct answer: ANumber of tokens consumed
Question 44Choose 1
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?
Show answerHide answer
Correct answer: BAdd a role description to the prompt context that instructs the model of the age range
that the response should target.
Question 45Choose 1
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?
Show answerHide answer
Correct answer: BUse domain adaptation fine-tuning to adapt the FM to complex scientific terms.
Question 46Choose 1
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?
Show answerHide answer
Correct answer: AUse prompt engineering to add one PDF file as context to the user prompt when the
prompt is submitted to Amazon Bedrock.
Question 47Choose 1
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?
Show answerHide answer
Correct answer: DBuilding and training a generative AI model from scratch by using specific data that a
customer owns.
Question 48Choose 1
Which AWS feature records details about ML instance data for governance and reporting?
Show answerHide answer
Correct answer: AAmazon SageMaker Model Cards
Explanation
Explanation:
Amazon SageMaker Model Cards provide a centralized and standardized repository for
documenting machine learning models. They capture key details such as the model's
intended use, training and evaluation datasets, performance metrics, ethical
considerations, and other relevant information. This documentation facilitates governance
and reporting by ensuring that all stakeholders have access to consistent and
comprehensive information about each model. While Amazon SageMaker Debugger is
used for real-time debugging and monitoring during training, and Amazon SageMaker
Model Monitor tracks deployed models for data and prediction quality, neither offers the
comprehensive documentation capabilities of Model Cards. Amazon SageMaker JumpStart
provides pre-built models and solutions but does not focus on governance documentation.
Question 49Choose 1
A company deployed an AI/ML solution to help customer service agents respond to
frequently asked questions. The questions can change over time. The company
wants to give customer service agents the ability to ask questions and receive
automatically generated answers to common customer questions. Which strategy
will meet these requirements MOST cost-effectively?
Explanation: RAG combines large pre-trained models with retrieval mechanisms to fetch
relevant context from a knowledge base. This approach is cost-effective as it eliminates the
need for frequent model retraining while ensuring responses are contextually accurate and
up to date.
Question 50Choose 1
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?
Show answerHide answer
Correct answer: ADeploy optimized small language models (SLMs) on edge devices.
Full mock exam
Sit the AIF-C01 exam before exam day
Full-length mocks with the same number of questions and the same time limit as the real AIF-C01 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.