A company is utilizing the Amazon Titan foundation model (FM) via Amazon Bedrock. To improve the model’s output, the company needs to incorporate data from its own private data sources.
What solution should the company implement to meet this requirement?
3. Create an Amazon Bedrock knowledge base.
Create an Amazon Bedrock knowledge base is correct because creating a knowledge base in Amazon Bedrock allows the model to integrate private data sources. The knowledge base enables the foundation model to access relevant internal data during inference, which can improve the quality and relevance of the model’s responses.
Reference:
Amazon Bedrock
Which option is a use case for generative AI models?
2. Creating photorealistic images from text descriptions for digital marketing.
Generative AI models excel at creating new content, such as images, text, or audio. One of the primary applications of these models is generating visual content from text prompts, which is highly valuable in fields like digital marketing for producing creative, unique visuals.
A company wants to train a large language model (LLM) using only its private data. In addition to performance, the company is focused on minimizing the environmental footprint during training.
Which Amazon EC2 instance type should the company choose to achieve this?
4. Amazon EC2 Trn series
The EC2 Trn series (using AWS Trainium processors) is designed to optimize the energy efficiency of large-scale machine learning training tasks. It consumes less power while delivering high-performance training for LLMs, reducing the environmental impact.
Reference:
AWS Trainium
An e-commerce company is using Amazon Bedrock to power a product recommendation system. The company wants to ensure that the system does not generate recommendations based on customers’ sensitive personal information, such as payment details or personal addresses. Additionally, the company requires notifications when any policy violations occur.
Which solution meets these requirements?
3. Implement Guardrails for Amazon Bedrock to prevent sensitive content from being included in recommendations. Configure Amazon CloudWatch alarms for policy violation notifications.
Guardrails can help filter out sensitive data from being used or included in the system’s responses. Combined with CloudWatch alarms, the company can receive alerts whenever violations occur.
Reference:
Amazon Bedrock Guardrails
A financial institution has trained a large language model (LLM) on Amazon Bedrock using a dataset that contains sensitive financial records. The institution needs to ensure the model does not generate responses that reveal or are influenced by the confidential financial data.
What action should the institution take to prevent this?
4. Delete the trained model, remove the sensitive financial data from the dataset, and retrain the model.
Once a model is trained on sensitive data, the only way to ensure it doesn’t generate responses based on that data is to remove the sensitive data from the training set and retrain the model. This guarantees the model won’t use confidential information in its responses.
Reference:
Data Protection
An AI researcher is using an Amazon Bedrock base model to generate product descriptions for an e-commerce platform. The researcher needs to store logs of each model invocation, including input and output data, for later review and analysis.
What is the best strategy to meet this requirement?
2. Enable invocation logging in Amazon Bedrock to track inputs and outputs.
Amazon Bedrock provides native invocation logging, which allows users to store input and output data for each invocation. This logging is essential for tracking model performance and ensuring data integrity during operations.
Reference:
Monitor model invocation using CloudWatch Logs and Amazon S3
A company wants to develop a large language model (LLM) application using Amazon Bedrock with customer data stored in Amazon S3. The company’s security policy mandates that each team can only access data for their own customers.
Which solution will meet these requirements?
1. Create an Amazon Bedrock custom service role for each team that has access to only the team’s customer data.
Creating a separate custom service role for each team ensures that access to customer data is restricted in accordance with the company’s security policies. By using custom roles, each team only has permissions to access the specific data associated with their customers in Amazon S3.
This strategy aligns with the principle of least privilege, providing granular control over data access and ensuring that teams do not have unauthorized access to another team’s data. It also simplifies management, as each team can only perform operations within the bounds of their assigned role, preventing accidental or malicious access to restricted information.
Reference:
Policies and Permissions in AWS Identity and Access Management
A financial services company is deploying a chatbot using a fine-tuned Amazon SageMaker JumpStart model to handle customer queries about loans. The company must ensure that the chatbot complies with various financial regulatory frameworks for secure data handling.
Which two capabilities can the company demonstrate to meet these compliance requirements?
2. Intrusion detection and monitoring
3. Encryption of sensitive data
Intrusion detection and monitoring is correct because compliance in the financial sector often requires monitoring for suspicious or unauthorized activity, ensuring the system is protected from potential breaches.
Encryption of sensitive data is correct because encrypting customer and financial data is critical to comply with regulatory standards such as PCI-DSS and GDPR. Proper encryption ensures that sensitive information is protected both in transit and at rest.
Reference:
AWS Compliance Programs
A cybersecurity company regularly assesses its internal processes with assistance from independent software vendors (ISVs). The company requires email notifications when compliance reports from the ISVs are available for review.
Which AWS service can the company use to meet this requirement?
2. AWS Artifact
AWS Artifact provides access to compliance-related documents, such as security and compliance reports from third-party ISVs. The company can use AWS Artifact to download and monitor these reports and configure notifications when new reports are available.
Reference:
AWS Artifact
A financial institution is using Amazon Bedrock to build an AI application hosted in a VPC. Due to regulatory compliance standards, the VPC must not have any internet access.
Which AWS service or feature will help meet these requirements?
4. AWS PrivateLink
AWS PrivateLink enables the financial institution to securely access Amazon Bedrock services from within a VPC without exposing traffic to the public internet. This ensures compliance with regulations that restrict internet access.
Reference:
AWS PrivateLink
A cybersecurity firm wants to use AI to enhance the protection of its web application from potential threats. The AI solution must be able to identify whether an IP address originates from a suspicious source.
Which solution will meet these requirements?
2. Develop an anomaly detection system.
Anomaly detection systems are designed to identify unusual patterns or deviations from normal behavior. In this case, it can be used to detect suspicious IP addresses by identifying traffic patterns or access behaviors that do not match normal activity, providing an extra layer of security.
Reference:
What is Anomaly Detection?
A security company is using Amazon Bedrock to run foundation models (FMs). The company wants to ensure that only authorized users can invoke the models and needs to detect any unauthorized access attempts to refine AWS Identity and Access Management (IAM) policies.
Which AWS service should the company use to identify unauthorized users trying to access Amazon Bedrock?
2. AWS CloudTrail
AWS CloudTrail records all API calls and actions across AWS services, including attempts to invoke Amazon Bedrock models. By reviewing these logs, the company can identify unauthorized access attempts and set appropriate IAM policies for future model use.
Reference:
AWS CloudTrail
A legal firm is using a foundation model (FM) from Amazon Bedrock to power its AI legal search tool. The firm wants to fine-tune the model using its own proprietary legal documents to improve the tool’s accuracy.
Which strategy will successfully fine-tune the model?
4. Provide labeled data with the prompt field and the completion field.
Providing labeled data with specific inputs (prompts) and expected outputs (completions) allows the foundation model to learn from the company’s proprietary documents. Fine-tuning requires structured data with clear prompts and corresponding completions to improve the model’s performance in generating accurate responses for legal searches.
Reference:
Prompt engineering concepts
A financial services company wants to use large language models (LLMs) securely on Amazon Bedrock for processing sensitive financial data. The company needs to ensure secure access and prevent unauthorized users from interacting with the models.
How can the company securely use LLMs on Amazon Bedrock?
1. Use prompt design to minimize errors and set up strict access controls with AWS Identity and Access Management (IAM) roles.
By designing prompts carefully to reduce potential errors and configuring IAM roles with least privilege access, the company can ensure that only authorized users can interact with the models. This is critical for securing sensitive financial data and maintaining a controlled environment.
Reference:
AWS Identity and Access Management
A financial services company is using a foundation model (FM) on Amazon Bedrock to power an AI assistant for customer queries. The FM needs access to encrypted transaction data stored in an Amazon S3 bucket. The data is encrypted using Amazon S3 managed keys (SSE-S3), and the FM encounters a failure when attempting to retrieve the data.
Which solution will resolve the issue?
1. Ensure the IAM role assumed by Amazon Bedrock has permissions to decrypt the S3 data with the SSE-S3 encryption key.
To access the encrypted transaction data in the S3 bucket, Amazon Bedrock needs the proper IAM role with permissions to decrypt the data using the SSE-S3 encryption key. Without these permissions, the FM cannot access the data, resulting in the failure. Adding decryption permissions resolves this issue securely.
Reference:
IAM Roles
A company is developing an AI-based document processing system. While the system automates most tasks, the company wants to ensure that sensitive or uncertain AI-generated results are reviewed by humans for accuracy and compliance.
Which feature of Amazon Augmented AI (A2I) helps meet this requirement?
3. Enables human reviewers to validate AI-generated predictions through pre-built workflows.
Amazon Augmented AI (A2I) allows companies to integrate human-in-the-loop workflows, ensuring that human reviewers can validate AI-generated results when accuracy or compliance is critical. This feature helps improve the quality of AI predictions by incorporating human oversight into specific tasks.
Reference:
Amazon Augmented AI
A healthcare company is deploying a chatbot using a fine-tuned Amazon SageMaker JumpStart model to assist patients with medical inquiries. The company must ensure that the chatbot complies with healthcare regulations regarding data privacy and security.
Which two capabilities can the company demonstrate to meet these compliance requirements?
(Select TWO.)
1. Encryption of sensitive data
2. Monitoring and logging access to patient information
Encryption of sensitive data ensures that patient information is securely protected both in transit and at rest, which is a critical requirement for healthcare regulations like HIPAA.
Monitoring and logging access to patient information allows the company to track who accesses sensitive data, which is essential for compliance with healthcare regulations and maintaining data security.
Reference:
AWS Compliance
A retail company needs to ensure its customer data is stored and processed in compliance with various regulatory standards. The company wants to automate the process of accessing security and compliance reports from third-party vendors to review their adherence to these standards.
Which AWS service can the company use to meet this requirement?
2. AWS Artifact
AWS Artifact provides access to compliance-related reports and security documentation from third-party vendors. It allows companies to download reports that demonstrate adherence to regulatory standards and review the compliance of their vendors.
Reference:
AWS Artifact
A company is developing a machine learning model and needs to ensure that their ML pipelines are repeatable and scalable as the project grows. They want to automate tasks like data preprocessing, model training, and deployment while ensuring consistency across experiments.
Which MLOps practice should the company implement?
4. Automation of repeatable processes
Automation of repeatable processes is essential for ensuring that tasks like data preprocessing, model training, and deployment can be consistently reproduced at scale. Automating these tasks helps ensure scalability, repeatability, and consistency across multiple experiments and model iterations.
Reference:
MLOps Checklist Components
A media company is developing an AI system to analyze large amounts of user-generated content, such as videos and images. The company needs to ensure that any sensitive information, such as email addresses or phone numbers, is detected and protected before using the data in its AI pipelines.
Which AWS service should the company use to meet this requirement?
1. Amazon Macie
Amazon Macie automatically detects and helps secure sensitive information, such as email addresses and phone numbers, within datasets. It is ideal for ensuring that sensitive data is identified and protected before being processed in AI systems.
Reference:
What is Amazon Macie?