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.)
A. Auto scaling inference endpoints
B. Threat detection
C. Data protection
D. Cost optimization
E. Loosely coupled microservices
A security company is using Amazon Bedrock to run foundation models (FMs). The
company wants to ensure that only authorized users invoke the models. The company
needs to identify any unauthorized access attempts to set appropriate AWS Identity and
Access Management (IAM) policies and roles for future iterations of the FMs.
Which AWS service should the company use to identify unauthorized users that are trying
to access Amazon Bedrock?
A. AWS Audit Manager
B. AWS CloudTrail
C. Amazon Fraud Detector
D. AWS Trusted Advisor
A company wants to use generative AI to increase developer productivity and software development. The company wants to use Amazon Q Developer.
What can Amazon Q Developer do to help the company meet these requirements?
A. Create software snippets, reference tracking, and open-source license tracking.
B. Run an application without provisioning or managing servers.
C. Enable voice commands for coding and providing natural language search.
D. Convert audio files to text documents by using ML models.
Explanation:
Amazon Q Developer is a tool designed to assist developers in increasing productivity by
generating code snippets, managing reference tracking, and handling open-source license
tracking. These features help developers by automating parts of the software development
process.
Option A (Correct): "Create software snippets, reference tracking, and opensource
license tracking": This is the correct answer because these are key
features that help developers streamline and automate tasks, thus improving
productivity.
Option B: "Run an application without provisioning or managing servers" is
incorrect as it refers to AWS Lambda or AWS Fargate, not Amazon Q Developer.
Option C: "Enable voice commands for coding and providing natural language
search" is incorrect because this is not a function of Amazon Q Developer.
Option D: "Convert audio files to text documents by using ML models" is incorrect
as this refers to Amazon Transcribe, not Amazon Q Developer.
AWS AI Practitioner References:
Amazon Q Developer Features: AWS documentation outlines how Amazon Q
Developer supports developers by offering features that reduce manual effort and
improve efficiency.
Which option is a use case for generative AI models?
A. Improving network security by using intrusion detection systems
B. Creating photorealistic images from text descriptions for digital marketing
C. Enhancing database performance by using optimized indexing
D. Analyzing financial data to forecast stock market trends
Explanation:
Generative AI models are used to create new content based on existing data. One
common use case is generating photorealistic images from text descriptions, which is
particularly useful in digital marketing, where visual content is key to engaging potential
customers.
Option B (Correct): "Creating photorealistic images from text descriptions for digital
marketing": This is the correct answer because generative AI models, like those
offered by Amazon Bedrock, can create images based on text descriptions,
making them highly valuable for generating marketing materials.
Option A: "Improving network security by using intrusion detection systems" is
incorrect because this is a use case for traditional machine learning models, not
generative AI.
Option C: "Enhancing database performance by using optimized indexing" is
incorrect as it is unrelated to generative AI.
Option D: "Analyzing financial data to forecast stock market trends" is incorrect
because it typically involves predictive modeling rather than generative AI.
AWS AI Practitioner References:
Use Cases for Generative AI Models on AWS: AWS highlights the use of
generative AI for creative content generation, including image creation, text
generation, and more, which is suited for digital marketing applications.
A company wants to use a large language model (LLM) on Amazon Bedrock for sentiment
analysis. The company wants to classify the sentiment of text passages as positive or
negative.
Which prompt engineering strategy meets these requirements?
A. Provide examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified.
B. Provide a detailed explanation of sentiment analysis and how LLMs work in the prompt.
C. Provide the new text passage to be classified without any additional context or examples.
D. Provide the new text passage with a few examples of unrelated tasks, such as text summarization or question answering.
Explanation: Providing examples of text passages with corresponding positive or negative labels in the prompt followed by the new text passage to be classified is the correct prompt engineering strategy for using a large language model (LLM) on Amazon Bedrock for sentiment analysis.
A company is implementing the Amazon Titan foundation model (FM) by using Amazon
Bedrock. The company needs to supplement the model by using relevant data from the
company's private data sources.
Which solution will meet this requirement?
A. Use a different FM
B. Choose a lower temperature value
C. Create an Amazon Bedrock knowledge base
D. Enable model invocation logging
Explanation:
Creating an Amazon Bedrock knowledge base allows the integration of external or private
data sources with a foundation model (FM) like Amazon Titan. This integration helps
supplement the model with relevant data from the company's private data sources to
enhance its responses.
Option C (Correct): "Create an Amazon Bedrock knowledge base": This is the
correct answer as it enables the company to incorporate private data into the FM
to improve its effectiveness.
Option A: "Use a different FM" is incorrect because it does not address the need to
supplement the current model with private data.
Option B: "Choose a lower temperature value" is incorrect as it affects output
randomness, not the integration of private data.
Option D: "Enable model invocation logging" is incorrect because logging does not
help in supplementing the model with additional data.
AWS AI Practitioner References:
Amazon Bedrock and Knowledge Integration: AWS explains how creating a
knowledge base allows Amazon Bedrock to use external data sources to improve
the FM’s relevance and accuracy.
A company has petabytes of unlabeled customer data to use for an advertisement
campaign. The company wants to classify its customers into tiers to advertise and promote
the company's products.
Which methodology should the company use to meet these requirements?
A. Supervised learning
B. Unsupervised learning
C. Reinforcement learning
D. Reinforcement learning from human feedback (RLHF)
Explanation:
Unsupervised learning is the correct methodology for classifying customers into tiers when
the data is unlabeled, as it does not require predefined labels or outputs.
Unsupervised Learning:
Why Option B is Correct:
Why Other Options are Incorrect:
A company manually reviews all submitted resumes in PDF format. As the company grows,
the company expects the volume of resumes to exceed the company's review capacity.
The company needs an automated system to convert the PDF resumes into plain text
format for additional processing.
Which AWS service meets this requirement?
A. Amazon Textract
B. Amazon Personalize
C. Amazon Lex
D. Amazon Transcribe
Explanation: Amazon Textract is a service that automatically extracts text and data from scanned documents, including PDFs. It is the best choice for converting resumes from PDF format to plain text for further processing.
An AI practitioner is using a large language model (LLM) to create content for marketing
campaigns. The generated content sounds plausible and factual but is incorrect.
Which problem is the LLM having?
A. Data leakage
B. Hallucination
C. Overfitting
D. Underfitting
A company has a database of petabytes of unstructured data from internal sources. The
company wants to transform this data into a structured format so that its data scientists can
perform machine learning (ML) tasks.
Which service will meet these requirements?
A. Amazon Lex
B. Amazon Rekognition
C. Amazon Kinesis Data Streams
D. AWS Glue
Which feature of Amazon OpenSearch Service gives companies the ability to build vector database applications?
A. Integration with Amazon S3 for object storage
B. Support for geospatial indexing and queries
C. Scalable index management and nearest neighbor search capability
D. Ability to perform real-time analysis on streaming data
Explanation:
Amazon OpenSearch Service (formerly Amazon Elasticsearch Service) has introduced
capabilities to support vector search, which allows companies to build vector database
applications. This is particularly useful in machine learning, where vector representations
(embeddings) of data are often used to capture semantic meaning.
Scalable index management and nearest neighbor search capability are the core
features enabling vector database functionalities in OpenSearch. The service allows users
to index high-dimensional vectors and perform efficient nearest neighbor searches, which
are crucial for tasks such as recommendation systems, anomaly detection, and semantic
search.
Here is why option C is the correct answer:
Scalable Index Management: OpenSearch Service supports scalable indexing of
vector data. This means you can index a large volume of high-dimensional vectors and manage these indexes in a cost-effective and performance-optimized way.
The service leverages underlying AWS infrastructure to ensure that indexing
scales seamlessly with data size.
Nearest Neighbor Search Capability: OpenSearch Service's nearest neighbor
search capability allows for fast and efficient searches over vector data. This is
essential for applications like product recommendation engines, where the system
needs to quickly find the most similar items based on a user's query or behavior.
AWS AI Practitioner References:
The other options do not directly relate to building vector database applications:
A. Integration with Amazon S3 for object storage is about storing data objects, not
vector-based searching or indexing.
B. Support for geospatial indexing and queries is related to location-based data,
not vectors used in machine learning.
D. Ability to perform real-time analysis on streaming data relates to analyzing
incoming data streams, which is different from the vector search capabilities.
A company is building an ML model. The company collected new data and analyzed the
data by creating a correlation matrix, calculating statistics, and visualizing the data.
Which stage of the ML pipeline is the company currently in?
A. Data pre-processing
B. Feature engineering
C. Exploratory data analysis
D. Hyperparameter tuning
| Page 6 out of 15 Pages |
| Previous |