AWS AIP-C01 练习卷 · 第 03 套
136 题,按 50/50/36 分卷,含单选与多选。英文原题配中文、日文机器翻译。
题目与参考答案来自用户提供的 PDF,非 AWS 官方内容。讨论为考生观点,可能有争议;按资料参考答案判分。
← 题库目录A healthcare company is developing an AI application to retrieve medical literature to help doctors conduct research. The company wants to deploy the application to multiple countries. The application needs to index 50,000 text-heavy medical documents that contain specialized terminology in English, French, and German. The application must provide high search accuracy for medical terminology. The company wants a solution that requires minimal custom code development and ongoing maintenance. Which solution will meet these requirements?
一家医疗保健公司正在开发一款人工智能应用程序来检索医学文献,以帮助医生进行研究。该公司希望将该应用程序部署到多个国家。该应用程序需要索引 50,000 个文本较多的医疗文档,其中包含英语、法语和德语的专业术语。该应用程序必须提供高准确度的医学术语搜索。该公司想要一种需要最少定制代码开发和持续维护的解决方案。哪种解决方案可以满足这些要求?
ヘルスケア企業は、医師の研究を支援するために医学文献を検索する AI アプリケーションを開発しています。同社はアプリケーションを複数の国に展開したいと考えています。このアプリケーションでは、英語、フランス語、ドイツ語の専門用語を含むテキストの多い医療文書 50,000 件のインデックスを作成する必要があります。アプリケーションは、医療用語に対して高い検索精度を提供する必要があります。同社は、最小限のカスタム コード開発と継続的なメンテナンスを必要とするソリューションを望んでいます。これらの要件を満たすソリューションはどれですか?
- A
Use Amazon Titan Text Embeddings to process all documents in their original language without translation. Apply semantic chunking at the medical section level to preserve medical terminology context and to maintain moderate vector dimensions.
使用 Amazon Titan 文本嵌入以原始语言处理所有文档,无需翻译。在医学部分级别应用语义分块以保留医学术语上下文并保持适度的向量维度。
Amazon Titan Text Embeddings を使用して、すべてのドキュメントを翻訳せずに元の言語で処理します。医療セクション レベルでセマンティック チャンキングを適用して、医療用語のコンテキストを保持し、適度なベクトル次元を維持します。
- B
Use Amazon Titan Text Embeddings to translate all non-English documents to English before processing. Implement document chunking strategies based on logical sections to improve retrieval accuracy.
在处理之前,使用 Amazon Titan 文本嵌入将所有非英语文档翻译为英语。实施基于逻辑部分的文档分块策略,以提高检索准确性。
Amazon Titan Text Embeddings を使用して、英語以外のすべてのドキュメントを処理前に英語に翻訳します。論理セクションに基づいてドキュメントのチャンク化戦略を実装し、検索の精度を向上させます。
- C
Use Amazon Titan Multimodal Embeddings to convert document pages to images. Generate text captions for the images to create a multimodal knowledge base that handles medical content.
使用 Amazon Titan 多模式嵌入将文档页面转换为图像。为图像生成文本标题,以创建处理医疗内容的多模式知识库。
Amazon Titan マルチモーダル埋め込みを使用してドキュメントページを画像に変換します。画像のテキスト キャプションを生成して、医療コンテンツを処理するマルチモーダルなナレッジ ベースを作成します。
- D
Use an Amazon Bedrock knowledge base as the vector store. Use Amazon Kendra to perform multilingual document processing. Configure the vector store to automatically handle language detection and translation for each query.
使用 Amazon Bedrock 知识库作为矢量存储。使用 Amazon Kendra 执行多语言文档处理。配置矢量存储以自动处理每个查询的语言检测和翻译。
Amazon Bedrock ナレッジベースをベクターストアとして使用します。 Amazon Kendra を使用して多言語ドキュメント処理を実行します。各クエリの言語検出と翻訳を自動的に処理するようにベクター ストアを構成します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Use Amazon Titan Text Embeddings to process all documents in their original language without translation. Apply semantic chunking at the medical section level to preserve medical terminology context and to maintain moderate vector dimensions.
提供的答案选择 A。使用 Amazon Titan 文本嵌入以原始语言处理所有文档,无需翻译。在医学部分级别应用语义分块以保留医学术语上下文并保持适度的向量维度。
提供された回答キーは A を選択します。Amazon Titan テキスト埋め込みを使用して、すべてのドキュメントを翻訳せずに元の言語で処理します。医療セクション レベルでセマンティック チャンキングを適用して、医療用語のコンテキストを保持し、適度なベクトル次元を維持します。
原资料未附讨论;以上为参考答案对应选项。
A publishing company is developing a chat assistant that uses a containerized large language model (LLM) that runs on Amazon SageMaker AI. The architecture consists of an Amazon API Gateway REST API that routes user requests to an AWS Lambda function. The Lambda function invokes a SageMaker AI real-time endpoint that hosts the LLM. Users report uneven response times. Analytics show that a high number of chats are abandoned after 2 seconds of waiting for the first token. The company wants a solution to ensure that p95 latency is under 800 ms for interactive requests to the chat assistant. Which combination of solutions will meet this requirement? (Choose two.)
一家出版公司正在开发一款聊天助手,该助手使用在 Amazon SageMaker AI 上运行的容器化大型语言模型 (LLM)。该架构由 Amazon API Gateway REST API 组成,该 API 将用户请求路由到 AWS Lambda 函数。 Lambda 函数调用托管 LLM 的 SageMaker AI 实时端点。用户报告响应时间不均匀。分析显示,在等待第一个令牌 2 秒后,大量聊天被放弃。该公司希望有一个解决方案能够确保向聊天助手发出交互式请求时 p95 延迟低于 800 毫秒。哪种解决方案组合可以满足此要求? (选择两个。)
出版社は、Amazon SageMaker AI 上で実行されるコンテナ化されたラージ言語モデル (LLM) を使用するチャットアシスタントを開発しています。このアーキテクチャは、ユーザーのリクエストを AWS Lambda 関数にルーティングする Amazon API Gateway REST API で構成されています。 Lambda 関数は、LLM をホストする SageMaker AI リアルタイム エンドポイントを呼び出します。ユーザーからは応答時間が不均一であると報告されています。分析によると、最初のトークンを 2 秒待機した後に多数のチャットが放棄されています。同社は、チャット アシスタントへの対話型リクエストの p95 遅延を 800 ミリ秒未満にするソリューションを求めています。この要件を満たすソリューションの組み合わせはどれですか? (2つお選びください。)
- A
Enable model preload upon container startup. Implement dynamic batching to process multiple user requests together in a single inference pass.
在容器启动时启用模型预加载。实现动态批处理以在单个推理过程中一起处理多个用户请求。
コンテナーの起動時にモデルのプリロードを有効にします。動的バッチ処理を実装して、複数のユーザー要求を単一の推論パスでまとめて処理します。
- B
Select a larger GPU instance type for the SageMaker AI endpoint. Set the minimum number of instances to 0. Continue to perform per- request processing. Lazily load model weights on the first request.
为 SageMaker AI 终端节点选择更大的 GPU 实例类型。将最小实例数设置为 0。继续执行每个请求处理。在第一个请求时延迟加载模型权重。
SageMaker AI エンドポイントには、より大きな GPU インスタンス タイプを選択します。インスタンスの最小数を 0 に設定します。引き続きリクエストごとの処理を実行します。最初のリクエストでモデルの重みを遅延ロードします。
- C
Switch to a multi-model endpoint. Use lazy loading without request batching.
切换到多模型端点。使用延迟加载而不进行请求批处理。
マルチモデルのエンドポイントに切り替えます。リクエストのバッチ処理を行わずに遅延読み込みを使用します。
- D
Set the minimum number of instances to greater than 0. Enable response streaming.
将最小实例数设置为大于 0。启用响应流。
インスタンスの最小数を 0 より大きい値に設定します。応答ストリーミングを有効にします。
- E
Switch to Amazon SageMaker Asynchronous Inference for all requests. Store requests in an Amazon S3 bucket. Set the minimum number of instances to 0.
针对所有请求切换到 Amazon SageMaker 异步推理。将请求存储在 Amazon S3 存储桶中。将最小实例数设置为 0。
すべてのリクエストを Amazon SageMaker 非同期推論に切り替えます。リクエストを Amazon S3 バケットに保存します。インスタンスの最小数を 0 に設定します。
解析 / Explanation
正确答案 / Answer: A,D
The supplied answer key selects A, D. Enable model preload upon container startup. Implement dynamic batching to process multiple user requests together in a single inference pass. Set the minimum number of instances to greater than 0. Enable response streaming.
提供的答案选择 A、D。在容器启动时启用模型预加载。实现动态批处理以在单个推理过程中一起处理多个用户请求。将最小实例数设置为大于 0。启用响应流。
提供された回答キーは A、D を選択します。コンテナーの起動時にモデルのプリロードを有効にします。動的バッチ処理を実装して、複数のユーザー要求を単一の推論パスでまとめて処理します。インスタンスの最小数を 0 より大きい値に設定します。応答ストリーミングを有効にします。
原资料未附讨论;以上为参考答案对应选项。
A company runs a GenAI application that uses multiple foundation models (FMs) from Amazon Bedrock to generate text. The application serves users across three AWS Regions. The application runs on AWS Lambda functions. The company needs to implement dynamic model selection based on response quality and latency metrics. The company must be able to switch between models without modifying or redeploying the application code. The company wants to gradually roll out new models, starting with 20% of traffic. The company needs a solution that will automatically roll back if error rates exceed 1%. Which solution will meet these requirements?
一家公司运行 GenAI 应用程序,该应用程序使用 Amazon Bedrock 中的多个基础模型 (FM) 来生成文本。该应用程序为三个 AWS 区域的用户提供服务。该应用程序在 AWS Lambda 函数上运行。该公司需要根据响应质量和延迟指标实施动态模型选择。公司必须能够在模型之间切换,而无需修改或重新部署应用程序代码。该公司希望逐步推出新车型,从 20% 的流量开始。该公司需要一种在错误率超过 1% 时自动回滚的解决方案。哪种解决方案可以满足这些要求?
ある企業は、Amazon Bedrock の複数の基盤モデル (FM) を使用してテキストを生成する GenAI アプリケーションを実行しています。このアプリケーションは、3 つの AWS リージョンのユーザーにサービスを提供します。アプリケーションは AWS Lambda 関数で実行されます。企業は、応答品質と遅延のメトリクスに基づいて動的なモデル選択を実装する必要があります。企業は、アプリケーション コードを変更したり再デプロイしたりすることなく、モデルを切り替えることができなければなりません。同社は、トラフィックの20%から始めて、新しいモデルを段階的に展開したいと考えている。同社は、エラー率が 1% を超えた場合に自動的にロールバックするソリューションを必要としています。これらの要件を満たすソリューションはどれですか?
- A
Use AWS AppConfig to create feature flags for model selection criteria. Set up validation rules for error rates. Implement the AWS AppConfig Agent Lambda extension to retrieve model configurations when the functions run. Define linear deployment strategies to gradually release new models, starting with 20% of traffic.
使用 AWS AppConfig 为模型选择标准创建功能标志。设置错误率的验证规则。实施 AWS AppConfig Agent Lambda 扩展以在函数运行时检索模型配置。定义线性部署策略,从 20% 的流量开始逐步发布新模型。
AWS AppConfig を使用して、モデル選択基準の機能フラグを作成します。エラー率の検証ルールを設定します。 AWS AppConfig Agent Lambda 拡張機能を実装して、関数の実行時にモデル設定を取得します。線形展開戦略を定義し、トラフィックの 20% から開始して新しいモデルを段階的にリリースします。
- B
Store model selection configurations in Amazon DynamoDUse global tables to enable multi-Region replication. Configure Amazon EventBridge rules to monitor Amazon CloudWatch metrics for errors and invoke AWS Lambda functions that update the DynamoDB table with model preferences. Add custom code to the Lambda functions to query DynamoDB before each model invocation.
在 Amazon DynamoD 中存储模型选择配置使用全局表来启用多区域复制。配置 Amazon EventBridge 规则以监控 Amazon CloudWatch 指标是否有错误并调用使用模型首选项更新 DynamoDB 表的 AWS Lambda 函数。将自定义代码添加到 Lambda 函数以在每次模型调用之前查询 DynamoDB。
モデル選択設定を Amazon DynamoD に保存します。グローバル テーブルを使用してマルチリージョン レプリケーションを有効にします。 Amazon EventBridge ルールを設定して、Amazon CloudWatch メトリクスのエラーを監視し、モデル設定で DynamoDB テーブルを更新する AWS Lambda 関数を呼び出します。各モデルを呼び出す前に、Lambda 関数にカスタム コードを追加して DynamoDB にクエリを実行します。
- C
Create Lambda function versions for each model configuration. Use Lambda aliases and set up routing configurations to gradually shift traffic between versions, starting with 20% of traffic. Implement AWS CodeDeploy deployments that monitor Amazon CloudWatch metrics for the Lambda function versions to automatically roll back deployments when error rales exceed thresholds.
为每个模型配置创建 Lambda 函数版本。使用 Lambda 别名并设置路由配置以在版本之间逐渐转移流量,从 20% 的流量开始。实施 AWS CodeDeploy 部署来监控 Lambda 函数版本的 Amazon CloudWatch 指标,以便在错误率超过阈值时自动回滚部署。
モデル設定ごとに Lambda 関数のバージョンを作成します。 Lambda エイリアスを使用し、ルーティング設定をセットアップして、トラフィックの 20% から始めてバージョン間でトラフィックを段階的にシフトします。 Lambda 関数バージョンの Amazon CloudWatch メトリクスを監視する AWS CodeDeploy デプロイメントを実装し、エラー率がしきい値を超えた場合にデプロイメントを自動的にロールバックします。
- D
Create Amazon CloudWatch dashboards to monitor response quality and latency metrics. Implement custom logic in the Lambda functions to select models based on metric thresholds. Use environment variables that are stored in AWS Systems Manager Parameter Store to define model selection parameters that can be updated across Regions.
创建 Amazon CloudWatch 控制面板来监控响应质量和延迟指标。在 Lambda 函数中实现自定义逻辑,以根据指标阈值选择模型。使用存储在 AWS Systems Manager Parameter Store 中的环境变量来定义可跨区域更新的模型选择参数。
Amazon CloudWatch ダッシュボードを作成して、応答品質とレイテンシのメトリクスを監視します。 Lambda 関数にカスタム ロジックを実装して、メトリクスのしきい値に基づいてモデルを選択します。 AWS Systems Manager パラメータ ストアに保存されている環境変数を使用して、リージョン全体で更新できるモデル選択パラメータを定義します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Use AWS AppConfig to create feature flags for model selection criteria. Set up validation rules for error rates. Implement the AWS AppConfig Agent Lambda extension to retrieve model configurations when the functions run. Define linear deployment strategies to gradually release new models, starting with 20% of traffic.
提供的答案选择 A。使用 AWS AppConfig 为模型选择标准创建功能标志。设置错误率的验证规则。实施 AWS AppConfig Agent Lambda 扩展以在函数运行时检索模型配置。定义线性部署策略,从 20% 的流量开始逐步发布新模型。
提供された回答キーは A を選択します。AWS AppConfig を使用して、モデル選択基準の機能フラグを作成します。エラー率の検証ルールを設定します。 AWS AppConfig Agent Lambda 拡張機能を実装して、関数の実行時にモデル設定を取得します。線形展開戦略を定義し、トラフィックの 20% から開始して新しいモデルを段階的にリリースします。
原资料未附讨论;以上为参考答案对应选项。
A financial services company is developing an AI-powered search assistant application to help investment advisors quickly retrieve investment data. The application runs as an AWS Lambda function. The company is using Amazon Bedrock to develop the application by using an Amazon Bedrock knowledge base that uses Amazon OpenSearch Serverless as its data source. The application agent must manage collections at scale by automatically assigning access permissions to collections and indexes that match a specific pattern. The company uses Amazon Bedrock tools to test the knowledge base. The knowledge base sync process finishes successfully. However, the test reveals a 400 Bad Authorization error from the BedrockAgentRuntime API and a 403 Forbidden error when the test attempts to access OpenSearch Serverless. The company must resolve the permissions issues. Which combination of solutions will meet this requirement? (Choose two.)
一家金融服务公司正在开发一款人工智能驱动的搜索助手应用程序,以帮助投资顾问快速检索投资数据。该应用程序作为 AWS Lambda 函数运行。该公司正在使用 Amazon Bedrock 来开发应用程序,方法是使用 Amazon Bedrock 知识库,该知识库使用 Amazon OpenSearch Serverless 作为其数据源。应用程序代理必须通过自动向与特定模式匹配的集合和索引分配访问权限来大规模管理集合。该公司使用 Amazon Bedrock 工具来测试知识库。知识库同步过程成功完成。但是,测试显示 BedrockAgentRuntime API 出现 400 Bad Authorization 错误,并且在测试尝试访问 OpenSearch Serverless 时出现 403 Forbidden 错误。公司必须解决权限问题。哪种解决方案组合可以满足此要求? (选择两个。)
ある金融サービス会社は、投資アドバイザーが投資データを迅速に取得できるようにする、AI を活用した検索アシスタント アプリケーションを開発しています。アプリケーションは AWS Lambda 関数として実行されます。同社は、Amazon OpenSearch Serverless をデータソースとして使用する Amazon Bedrock ナレッジベースを使用してアプリケーションを開発するために Amazon Bedrock を使用しています。アプリケーション エージェントは、特定のパターンに一致するコレクションとインデックスにアクセス許可を自動的に割り当てることで、コレクションを大規模に管理する必要があります。同社は Amazon Bedrock ツールを使用してナレッジベースをテストしています。ナレッジ ベースの同期プロセスは正常に終了します。ただし、テストでは、BedrockAgentRuntime API からの 400 Bad Authorization エラーと、OpenSearch Serverless にアクセスしようとしたときの 403 Forbidden エラーが明らかになりました。会社は権限の問題を解決する必要があります。この要件を満たすソリューションの組み合わせはどれですか? (2つお選びください。)
- A
Update the Lambda function execution role to include the bedrock:InvokeAgent permission. Add the aoss:APIAccessAll permission to the Lambda execution role.
更新 Lambda 函数执行角色以包含 bedrock:InvokeAgent 权限。为 Lambda 执行角色添加 aoss:APIAccessAll 权限。
Lambda 関数実行ロールを更新して、bedrock:InvokeAgent 権限を含めます。 aoss:APIAccessAll 権限を Lambda 実行ロールに追加します。
- B
Create an OpenSearch Serverless data access policy that includes pattern-based resource rules.
创建包含基于模式的资源规则的 OpenSearch Serverless 数据访问策略。
パターンベースのリソース ルールを含む OpenSearch サーバーレス データ アクセス ポリシーを作成します。
- C
Configure a VPC endpoint policy for OpenSearch Serverless. Add the endpoint to the Lambda function’s VPC configuration.
为 OpenSearch Serverless 配置 VPC 终端节点策略。将终端节点添加到 Lambda 函数的 VPC 配置。
OpenSearch サーバーレスの VPC エンドポイント ポリシーを構成します。 Lambda 関数の VPC 設定にエンドポイントを追加します。
- D
Configure AWS Secrets Manager to store OpenSearch Serverless credentials. Grant the Lambda function access to retrieve the credentials.
配置 AWS Secrets Manager 以存储 OpenSearch Serverless 凭证。授予 Lambda 函数访问权限以检索凭证。
OpenSearch サーバーレス認証情報を保存するように AWS Secrets Manager を設定します。認証情報を取得するための Lambda 関数へのアクセスを許可します。
- E
Enable IAM authentication for the OpenSearch Serverless domain. Add the es:ESHttp* permission to the Lambda function execution role.
为 OpenSearch Serverless 域启用 IAM 身份验证。将 es:ESHttp* 权限添加到 Lambda 函数执行角色。
OpenSearch サーバーレス ドメインの IAM 認証を有効にします。 es:ESHttp* 権限を Lambda 関数実行ロールに追加します。
解析 / Explanation
正确答案 / Answer: A,B
The supplied answer key selects A, B. Update the Lambda function execution role to include the bedrock:InvokeAgent permission. Add the aoss:APIAccessAll permission to the Lambda execution role. Create an OpenSearch Serverless data access policy that includes pattern-based resource rules.
提供的答案键选择 A、B。更新 Lambda 函数执行角色以包含 bedrock:InvokeAgent 权限。为 Lambda 执行角色添加 aoss:APIAccessAll 权限。创建包含基于模式的资源规则的 OpenSearch Serverless 数据访问策略。
指定された回答キーは A、B を選択します。Lambda 関数実行ロールを更新して、bedrock:InvokeAgent 権限を含めます。 aoss:APIAccessAll 権限を Lambda 実行ロールに追加します。パターンベースのリソース ルールを含む OpenSearch サーバーレス データ アクセス ポリシーを作成します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company is developing a GenAI application that allows business analysts to query sensitive customer data by using natural language. A GenAI developer must implement a content safety framework that performs text-to-SQL transformations while preventing harmful outputs. The solution must detect and block SQL injection attempts in natural language prompts, validate generated SQL queries against predefined schemas, and create an audit trail of query transformations. Which solution will meet these requirements?
一家金融服务公司正在开发 GenAI 应用程序,允许业务分析师使用自然语言查询敏感的客户数据。 GenAI 开发人员必须实现一个内容安全框架,该框架执行文本到 SQL 的转换,同时防止有害输出。该解决方案必须在自然语言提示中检测并阻止 SQL 注入尝试,根据预定义模式验证生成的 SQL 查询,并创建查询转换的审核跟踪。哪种解决方案可以满足这些要求?
金融サービス会社は、ビジネス アナリストが自然言語を使用して機密性の高い顧客データをクエリできるようにする GenAI アプリケーションを開発しています。 GenAI 開発者は、有害な出力を防止しながらテキストから SQL への変換を実行するコンテンツ安全フレームワークを実装する必要があります。このソリューションでは、自然言語プロンプトでの SQL インジェクションの試みを検出してブロックし、生成された SQL クエリを事前定義されたスキーマに対して検証し、クエリ変換の監査証跡を作成する必要があります。これらの要件を満たすソリューションはどれですか?
- A
Use Amazon Bedrock with an integrated content filtering system. Deploy Amazon GuardDuty with custom SQL threat detection rules. Use AWS Lambda functions to check generated queries against schema definitions in AWS Systems Manager Parameter Store. Use Amazon EventBridge to store records of all transformations in Amazon S3.
将 Amazon Bedrock 与集成内容过滤系统结合使用。使用自定义 SQL 威胁检测规则部署 Amazon GuardDuty。使用 AWS Lambda 函数根据 AWS Systems Manager Parameter Store 中的架构定义检查生成的查询。使用 Amazon EventBridge 将所有转换的记录存储在 Amazon S3 中。
統合コンテンツフィルタリングシステムを備えた Amazon Bedrock を使用します。カスタム SQL 脅威検出ルールを使用して Amazon GuardDuty をデプロイします。 AWS Lambda 関数を使用して、生成されたクエリを AWS Systems Manager パラメータ ストアのスキーマ定義と照合します。 Amazon EventBridge を使用して、すべての変換のレコードを Amazon S3 に保存します。
- B
Implement a multi-stage validation pipeline that uses Amazon Bedrock Guardrails to filter inputs. Configure AWS Lambda functions to use with SQL parsing libraries to validate query syntax. Use the Amazon RDS Data API to verify queries against defined schemas and collect audit logs before the pipeline runs each query.
实施使用 Amazon Bedrock Guardrails 来过滤输入的多阶段验证管道。配置 AWS Lambda 函数以与 SQL 解析库结合使用以验证查询语法。使用 Amazon RDS 数据 API 根据定义的架构验证查询并在管道运行每个查询之前收集审核日志。
Amazon Bedrock Guardrails を使用して入力をフィルタリングする多段階検証パイプラインを実装します。 AWS Lambda 関数を SQL 解析ライブラリと併用してクエリ構文を検証するように設定します。 Amazon RDS Data API を使用して、定義されたスキーマに対してクエリを検証し、パイプラインが各クエリを実行する前に監査ログを収集します。
- C
Configure AWS CloudTrail to log all database API calls. Implement IAM roles that have least privilege access to the application. Use AWS WAF to filter malicious inputs to the application.
配置 AWS CloudTrail 以记录所有数据库 API 调用。实施对应用程序具有最小权限访问权限的 IAM 角色。使用 AWS WAF 过滤应用程序的恶意输入。
すべてのデータベース API 呼び出しをログに記録するように AWS CloudTrail を設定します。アプリケーションへの最小限の権限アクセスを持つ IAM ロールを実装します。 AWS WAF を使用して、アプリケーションへの悪意のある入力をフィルタリングします。
- D
Train a custom Amazon SageMaker AI model to securely transform text to SQL. Attach VPC endpoints to isolate the customer data database. Store query history in Amazon DynamoDB.
训练自定义 Amazon SageMaker AI 模型以安全地将文本转换为 SQL。附加 VPC 终端节点以隔离客户数据数据库。将查询历史记录存储在 Amazon DynamoDB 中。
カスタム Amazon SageMaker AI モデルをトレーニングして、テキストを SQL に安全に変換します。 VPC エンドポイントを接続して顧客データ データベースを分離します。クエリ履歴を Amazon DynamoDB に保存します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Implement a multi-stage validation pipeline that uses Amazon Bedrock Guardrails to filter inputs. Configure AWS Lambda functions to use with SQL parsing libraries to validate query syntax. Use the Amazon RDS Data API to verify queries against defined schemas and collect audit logs before the pipeline runs each query.
提供的答案选择 B。实施使用 Amazon Bedrock Guardrails 来过滤输入的多阶段验证管道。配置 AWS Lambda 函数以与 SQL 解析库结合使用来验证查询语法。使用 Amazon RDS 数据 API 根据定义的架构验证查询并在管道运行每个查询之前收集审核日志。
提供された回答キーは B を選択します。Amazon Bedrock Guardrails を使用して入力をフィルターする多段階検証パイプラインを実装します。 AWS Lambda 関数を SQL 解析ライブラリと併用してクエリ構文を検証するように設定します。 Amazon RDS Data API を使用して、定義されたスキーマに対してクエリを検証し、パイプラインが各クエリを実行する前に監査ログを収集します。
原资料未附讨论;以上为参考答案对应选项。
A company needs a system to automatically generate study materials from multiple content sources. The content sources include document files (PDF files, PowerPoint presentations, and Word documents) and multimedia files (recorded videos). The system must process more than 10,000 content sources daily with peak loads of 500 concurrent uploads. The system must also extract key concepts from document files and multimedia files and create and store contextually accurate summaries. The generated study materials must support real-time collaboration with version control. Which solution will meet these requirements?
公司需要一个系统来自动从多个内容源生成学习材料。内容源包括文档文件(PDF 文件、PowerPoint 演示文稿和 Word 文档)和多媒体文件(录制的视频)。系统每天必须处理超过 10,000 个内容源,峰值负载为 500 个并发上传。该系统还必须从文档文件和多媒体文件中提取关键概念,并创建和存储上下文准确的摘要。生成的学习材料必须支持与版本控制的实时协作。哪种解决方案可以满足这些要求?
企業は、複数のコンテンツ ソースから学習教材を自動的に生成するシステムを必要としています。コンテンツ ソースには、ドキュメント ファイル (PDF ファイル、PowerPoint プレゼンテーション、および Word ドキュメント) およびマルチメディア ファイル (録画されたビデオ) が含まれます。システムは毎日 10,000 を超えるコンテンツ ソースを処理する必要があり、最大負荷は 500 の同時アップロードです。また、システムは文書ファイルやマルチメディア ファイルから重要な概念を抽出し、文脈に沿った正確な要約を作成して保存する必要があります。生成された学習教材は、バージョン管理によるリアルタイムのコラボレーションをサポートする必要があります。これらの要件を満たすソリューションはどれですか?
- A
Use Amazon Bedrock Data Automation (BDA) with AWS Lambda functions to orchestrate document file processing. Use Amazon Bedrock Knowledge Bases to process all multimedia. Store the content in Amazon DocumentDB with replication. Collaborate by using Amazon SNS topic subscriptions. Track changes by using Amazon Bedrock Agents.
将 Amazon Bedrock Data Automation (BDA) 与 AWS Lambda 函数结合使用来编排文档文件处理。使用 Amazon Bedrock 知识库处理所有多媒体。通过复制将内容存储在 Amazon DocumentDB 中。使用 Amazon SNS 主题订阅进行协作。使用 Amazon Bedrock Agent 跟踪更改。
Amazon Bedrock Data Automation (BDA) と AWS Lambda 関数を使用して、ドキュメント ファイルの処理を調整します。 Amazon Bedrock ナレッジベースを使用して、すべてのマルチメディアを処理します。レプリケーションを使用してコンテンツを Amazon DocumentDB に保存します。 Amazon SNS トピックのサブスクリプションを使用してコラボレーションします。 Amazon Bedrock Agent を使用して変更を追跡します。
- B
Use Amazon Bedrock Data Automation (BDA) with foundation models (FMs) to process document files. Integrate BDA with Amazon Textract for PDF extraction and with Amazon Transcribe for multimedia files. Store the processed content in Amazon S3 with versioning enabled. Store the metadata in Amazon DynamoDCollaborate in real time by using AWS AppSync GraphQL subscriptions with DynamoDB.
将 Amazon Bedrock Data Automation (BDA) 与基础模型 (FM) 结合使用来处理文档文件。将 BDA 与 Amazon Textract 集成以提取 PDF,并与 Amazon Transcribe 集成以提取多媒体文件。将处理后的内容存储在启用版本控制的 Amazon S3 中。通过将 AWS AppSync GraphQL 订阅与 DynamoDB 结合使用,将元数据实时存储在 Amazon DynamoDCollaborate 中。
Amazon Bedrock Data Automation (BDA) と基盤モデル (FM) を使用してドキュメント ファイルを処理します。 BDA を PDF 抽出用に Amazon Textract と統合し、マルチメディア ファイル用に Amazon Transcribe と統合します。バージョニングを有効にして、処理されたコンテンツを Amazon S3 に保存します。 DynamoDB で AWS AppSync GraphQL サブスクリプションを使用して、メタデータを Amazon DynamoDCollaborate にリアルタイムで保存します。
- C
Use Amazon Bedrock Data Automation (BDA) with Amazon SageMaker AI endpoints to host content extraction and summarization models. Use Amazon Bedrock Guardrails to extract content from all file types. Store document files in Amazon Neptune for time series analysis. Collaborate by using Amazon Bedrock Chat for real-time messaging.
将 Amazon Bedrock Data Automation (BDA) 与 Amazon SageMaker AI 终端节点结合使用来托管内容提取和汇总模型。使用 Amazon Bedrock Guardrails 从所有文件类型中提取内容。将文档文件存储在 Amazon Neptune 中以进行时间序列分析。使用 Amazon Bedrock Chat 进行实时消息传递进行协作。
Amazon Bedrock Data Automation (BDA) と Amazon SageMaker AI エンドポイントを使用して、コンテンツ抽出および要約モデルをホストします。 Amazon Bedrock Guardrails を使用して、すべてのファイル タイプからコンテンツを抽出します。時系列分析のためにドキュメント ファイルを Amazon Neptune に保存します。リアルタイムメッセージングに Amazon Bedrock Chat を使用してコラボレーションします。
- D
Use Amazon Bedrock Data Automation (BDA) with AWS Lambda functions to process batches of content files. Fine-tune foundation models (FMs) in Amazon Bedrock to classify documents across all content types. Store the processed data in Amazon ElastiCache (Redis OSS) by using Cluster Mode with sharding. Use Amazon Bedrock Prompt Management for version control.
将 Amazon Bedrock Data Automation (BDA) 与 AWS Lambda 函数结合使用来处理批量内容文件。微调 Amazon Bedrock 中的基础模型 (FM),以对所有内容类型的文档进行分类。使用集群模式和分片将处理后的数据存储在 Amazon ElastiCache (Redis OSS) 中。使用 Amazon Bedrock Prompt Management 进行版本控制。
Amazon Bedrock Data Automation (BDA) と AWS Lambda 関数を使用して、コンテンツ ファイルのバッチを処理します。 Amazon Bedrock の基礎モデル (FM) を微調整して、すべてのコンテンツタイプにわたってドキュメントを分類します。クラスターモードとシャーディングを使用して、処理されたデータを Amazon ElastiCache (Redis OSS) に保存します。バージョン管理には Amazon Bedrock Prompt Management を使用します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Use Amazon Bedrock Data Automation (BDA) with foundation models (FMs) to process document files. Integrate BDA with Amazon Textract for PDF extraction and with Amazon Transcribe for multimedia files. Store the processed content in Amazon S3 with versioning enabled. Store the metadata in Amazon DynamoDCollaborate in real time by using AWS AppSync GraphQL subscriptions with DynamoDB.
提供的答案选择 B。使用 Amazon Bedrock Data Automation (BDA) 和基础模型 (FM) 来处理文档文件。将 BDA 与 Amazon Textract 集成以提取 PDF,并与 Amazon Transcribe 集成以提取多媒体文件。将处理后的内容存储在启用版本控制的 Amazon S3 中。通过将 AWS AppSync GraphQL 订阅与 DynamoDB 结合使用,将元数据实时存储在 Amazon DynamoDCollaborate 中。
提供された回答キーは B を選択します。Amazon Bedrock Data Automation (BDA) と基盤モデル (FM) を使用してドキュメント ファイルを処理します。 BDA を PDF 抽出用に Amazon Textract と統合し、マルチメディア ファイル用に Amazon Transcribe と統合します。バージョニングを有効にして、処理されたコンテンツを Amazon S3 に保存します。 DynamoDB で AWS AppSync GraphQL サブスクリプションを使用して、メタデータを Amazon DynamoDCollaborate にリアルタイムで保存します。
原资料未附讨论;以上为参考答案对应选项。
A healthcare company wants to develop a proof-of-concept application that uses Amazon Bedrock to automatically summarize medical documents. The company has 3 weeks to validate the application’s accuracy. The application must comply with the company’s data privacy policies. The application must include metrics to evaluate summarization accuracy and processing time. Which solution will meet these requirements?
一家医疗保健公司希望开发一款概念验证应用程序,该应用程序使用 Amazon Bedrock 自动汇总医疗文档。该公司有 3 周的时间来验证该应用程序的准确性。该应用程序必须遵守公司的数据隐私政策。应用程序必须包含评估摘要准确性和处理时间的指标。哪种解决方案可以满足这些要求?
ある医療会社は、Amazon Bedrock を使用して医療文書を自動的に要約する概念実証アプリケーションを開発したいと考えています。同社はアプリケーションの正確性を検証するために 3 週間の猶予を与えられています。アプリケーションは会社のデータプライバシーポリシーに準拠する必要があります。アプリケーションには、要約の精度と処理時間を評価するためのメトリクスを含める必要があります。これらの要件を満たすソリューションはどれですか?
- A
Create a dataset that includes 50-100 anonymized patient records. Implement Retrieval Augmented Generation (RAG) with a secure knowledge base. Use a judge model to evaluate accuracy metrics across three foundation models (FMs).
创建包含 50-100 条匿名患者记录的数据集。使用安全的知识库实施检索增强生成 (RAG)。使用判断模型评估三个基础模型 (FM) 的准确性指标。
50 ~ 100 件の匿名化された患者記録を含むデータセットを作成します。安全な知識ベースを使用して検索拡張生成 (RAG) を実装します。判定モデルを使用して、3 つの基礎モデル (FM) にわたる精度メトリクスを評価します。
- B
Fine-tune a single foundation model (FM) on patient records. Deploy the FM on Amazon Bedrock. Use Amazon Bedrock AgentCore to configure the FM as an agent. Conduct user testing on 500 company staff members.
微调患者记录上的单一基础模型 (FM)。在 Amazon Bedrock 上部署 FM。使用 Amazon Bedrock AgentCore 将 FM 配置为代理。对 500 名公司员工进行用户测试。
患者記録上の単一の基礎モデル (FM) を微調整します。 Amazon Bedrock に FM をデプロイします。 Amazon Bedrock AgentCore を使用して、FM をエージェントとして設定します。社内スタッフ500名を対象にユーザーテストを実施。
- C
Select the most powerful available AWS foundation model (FM). Create a chat interface by using Converse APIs. Test the application on 50- 100 actual patient records by using only qualitative feedback from stakeholders. Use a custom web interface to gather real-world performance metrics.
选择最强大的可用 AWS 基础模型 (FM)。使用 Converse API 创建聊天界面。仅使用利益相关者的定性反馈,在 50-100 份实际患者记录上测试应用程序。使用自定义 Web 界面来收集实际性能指标。
利用可能な最も強力な AWS 基盤モデル (FM) を選択します。 Converse API を使用してチャット インターフェイスを作成します。関係者からの定性的なフィードバックのみを使用して、50 ~ 100 人の実際の患者記録でアプリケーションをテストします。カスタム Web インターフェイスを使用して、実際のパフォーマンス メトリックを収集します。
- D
Use the Strands SDK to deploy multiple agents that connect to multiple knowledge bases that contain specialized medical documents. Compare the responses of the agents. Evaluate the integration of the agents with the company’s existing systems.
使用 Strands SDK 部署多个代理,这些代理连接到包含专业医疗文档的多个知识库。比较代理的响应。评估代理与公司现有系统的集成。
Strands SDK を使用して、専門的な医療文書を含む複数のナレッジ ベースに接続する複数のエージェントを展開します。エージェントの応答を比較してください。エージェントと会社の既存システムの統合を評価します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Create a dataset that includes 50-100 anonymized patient records. Implement Retrieval Augmented Generation (RAG) with a secure knowledge base. Use a judge model to evaluate accuracy metrics across three foundation models (FMs).
提供的答案选择 A。创建一个包含 50-100 条匿名患者记录的数据集。使用安全的知识库实施检索增强生成 (RAG)。使用判断模型评估三个基础模型 (FM) 的准确性指标。
提供された回答キーは A を選択します。50 ~ 100 件の匿名化された患者記録を含むデータセットを作成します。安全な知識ベースを使用して検索拡張生成 (RAG) を実装します。判定モデルを使用して、3 つの基礎モデル (FM) にわたる精度メトリクスを評価します。
原资料未附讨论;以上为参考答案对应选项。
A company wants to select a new FM for its AI assistant. A GenAI developer needs to generate evaluation reports to help a data scientist assess the quality and safety of various foundation models (FMs). The data scientist provides the GenAI developer with sample prompts for evaluation. The GenAI developer wants to use Amazon Bedrock to automate report generation and evaluation. Which solution will meet this requirement?
一家公司想要为其 AI 助手选择一个新的 FM。 GenAI 开发人员需要生成评估报告,以帮助数据科学家评估各种基础模型 (FM) 的质量和安全性。数据科学家为 GenAI 开发人员提供评估示例提示。 GenAI 开发人员希望使用 Amazon Bedrock 自动生成和评估报告。哪种解决方案可以满足这个要求?
ある企業は、AI アシスタント用に新しい FM を選択したいと考えています。 GenAI 開発者は、データ サイエンティストがさまざまな基礎モデル (FM) の品質と安全性を評価できるように、評価レポートを生成する必要があります。データ サイエンティストは、評価用のサンプル プロンプトを GenAI 開発者に提供します。 GenAI 開発者は、Amazon Bedrock を使用してレポートの生成と評価を自動化したいと考えています。この要件を満たすソリューションはどれですか?
- A
Combine the sample prompts into a single JSON document. Create an Amazon Bedrock knowledge base with the document. Write a prompt that asks the FM to generate a response to each sample prompt. Use the RetrieveAndGenerate API to generate a report for each model.
将示例提示合并到单个 JSON 文档中。使用该文档创建 Amazon Bedrock 知识库。编写一个提示,要求 FM 生成对每个示例提示的响应。使用 RetrieveAndGenerate API 为每个模型生成报告。
サンプル プロンプトを 1 つの JSON ドキュメントに結合します。ドキュメントを使用して Amazon Bedrock ナレッジベースを作成します。各サンプル プロンプトに対する応答を生成するように FM に要求するプロンプトを作成します。 RetrieveAndGenerate API を使用して、各モデルのレポートを生成します。
- B
Combine the sample prompts into a single JSONL document. Store the document in an Amazon S3 bucket. Create an Amazon Bedrock evaluation job that uses a judge model. Specify the S3 location as input and a different S3 location as output. Run an evaluation job for each FM and select the FM as the generator.
将示例提示合并到单个 JSONL 文档中。将文档存储在 Amazon S3 存储桶中。创建使用判断模型的 Amazon Bedrock 评估作业。将 S3 位置指定为输入,并将不同的 S3 位置指定为输出。为每个 FM 运行评估作业并选择 FM 作为生成器。
サンプル プロンプトを 1 つの JSONL ドキュメントに結合します。ドキュメントを Amazon S3 バケットに保存します。判定モデルを使用する Amazon Bedrock 評価ジョブを作成します。 S3 の場所を入力として指定し、別の S3 の場所を出力として指定します。各 FM に対して評価ジョブを実行し、FM をジェネレーターとして選択します。
- C
Combine the sample prompts into a single JSONL document. Store the document in an Amazon S3 bucket. Create an Amazon Bedrock evaluation job that uses a judge model. Specify the S3 location as input and Amazon Quick Sight as output. Run an evaluation job for each FM and select the FM as the evaluator.
将示例提示合并到单个 JSONL 文档中。将文档存储在 Amazon S3 存储桶中。创建使用判断模型的 Amazon Bedrock 评估作业。将 S3 位置指定为输入,将 Amazon Quick Sight 指定为输出。为每个 FM 运行评估作业并选择 FM 作为评估者。
サンプル プロンプトを 1 つの JSONL ドキュメントに結合します。ドキュメントを Amazon S3 バケットに保存します。判定モデルを使用する Amazon Bedrock 評価ジョブを作成します。 S3 の場所を入力として指定し、Amazon Quick Sight を出力として指定します。各 FM に対して評価ジョブを実行し、評価者として FM を選択します。
- D
Combine the sample prompts into a single JSON document. Create an Amazon Bedrock knowledge base from the document. Create an Amazon Bedrock evaluation job that uses the retrieval and response generation evaluation type. Specify an Amazon S3 bucket as the output. Run an evaluation job for each FM.
将示例提示合并到单个 JSON 文档中。根据文档创建 Amazon Bedrock 知识库。创建使用检索和响应生成评估类型的 Amazon Bedrock 评估作业。指定 Amazon S3 存储桶作为输出。为每个 FM 运行评估作业。
サンプル プロンプトを 1 つの JSON ドキュメントに結合します。ドキュメントから Amazon Bedrock ナレッジベースを作成します。取得および応答生成の評価タイプを使用する Amazon Bedrock 評価ジョブを作成します。出力として Amazon S3 バケットを指定します。各 FM に対して評価ジョブを実行します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Combine the sample prompts into a single JSONL document. Store the document in an Amazon S3 bucket. Create an Amazon Bedrock evaluation job that uses a judge model. Specify the S3 location as input and a different S3 location as output. Run an evaluation job for each FM and select the FM as the generator.
提供的答案选择 B。将示例提示合并到单个 JSONL 文档中。将文档存储在 Amazon S3 存储桶中。创建使用判断模型的 Amazon Bedrock 评估作业。将 S3 位置指定为输入,并将不同的 S3 位置指定为输出。为每个 FM 运行评估作业并选择 FM 作为生成器。
提供された回答キーは B を選択します。サンプル プロンプトを 1 つの JSONL ドキュメントに結合します。ドキュメントを Amazon S3 バケットに保存します。判定モデルを使用する Amazon Bedrock 評価ジョブを作成します。 S3 の場所を入力として指定し、別の S3 の場所を出力として指定します。各 FM に対して評価ジョブを実行し、FM をジェネレーターとして選択します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company is developing a natural language processing (NLP) application that uses an AWS Lambda function to process customer trade inquiries by using Amazon Bedrock foundation models (FMs). The Lambda function must generate comprehensive trade analysis responses that typically exceed 4 MB and require 15-20 seconds to complete. The application must respond to customer inquiries in less than 10 seconds and comply with financial regulatory requirements to retain records for 10 years. Which solution will meet these requirements?
一家金融服务公司正在开发一种自然语言处理 (NLP) 应用程序,该应用程序使用 AWS Lambda 函数通过 Amazon Bedrock 基础模型 (FM) 处理客户交易查询。 Lambda 函数必须生成全面的交易分析响应,通常超过 4 MB,并且需要 15-20 秒才能完成。该应用程序必须在 10 秒内响应客户询问,并符合金融监管要求,保留记录 10 年。哪种解决方案可以满足这些要求?
金融サービス会社は、Amazon Bedrock Foundation Model (FM) を使用して顧客の取引問い合わせを処理する AWS Lambda 関数を使用する自然言語処理 (NLP) アプリケーションを開発しています。 Lambda 関数は、通常 4 MB を超え、完了までに 15 ~ 20 秒かかる包括的な取引分析応答を生成する必要があります。アプリケーションは顧客の問い合わせに 10 秒以内に応答し、記録を 10 年間保持するという金融規制要件に準拠する必要があります。これらの要件を満たすソリューションはどれですか?
- A
Implement response streaming to display partial responses as the application generates them. Set a 15-second timeout for Lambda function execution time. Enable AWS X-Ray tracing to monitor performance.
实现响应流以在应用程序生成部分响应时显示部分响应。为 Lambda 函数执行时间设置 15 秒超时。启用 AWS X-Ray 跟踪以监控性能。
応答ストリーミングを実装して、アプリケーションが生成した部分応答を表示します。 Lambda 関数の実行時間に 15 秒のタイムアウトを設定します。 AWS X-Ray トレースを有効にしてパフォーマンスを監視します。
- B
Use Amazon SQS queues to implement asynchronous invocations. Set a 30-second timeout for Lambda function execution time. Use Amazon CloudWatch to monitor response times.
使用 Amazon SQS 队列实现异步调用。为 Lambda 函数执行时间设置 30 秒超时。使用 Amazon CloudWatch 监控响应时间。
Amazon SQS キューを使用して非同期呼び出しを実装します。 Lambda 関数の実行時間に 30 秒のタイムアウトを設定します。 Amazon CloudWatch を使用して応答時間を監視します。
- C
Use Amazon API Gateway to poll the application. Integrate the application with Amazon ElastiCache to cache responses. Set a 30-second timeout for Lambda function execution time. Collect detailed Amazon CloudWatch logs for application performance.
使用 Amazon API Gateway 轮询应用程序。将应用程序与 Amazon ElastiCache 集成以缓存响应。为 Lambda 函数执行时间设置 30 秒超时。收集详细的 Amazon CloudWatch 日志以了解应用程序性能。
Amazon API Gateway を使用してアプリケーションをポーリングします。アプリケーションを Amazon ElastiCache と統合して、応答をキャッシュします。 Lambda 関数の実行時間に 30 秒のタイムアウトを設定します。アプリケーションのパフォーマンスに関する詳細な Amazon CloudWatch ログを収集します。
- D
Implement response streaming to display partial responses as the application generates them. Set a 30-second timeout for Lambda function execution time. Store complete response records in Amazon S3.
实现响应流以在应用程序生成部分响应时显示部分响应。为 Lambda 函数执行时间设置 30 秒超时。将完整的响应记录存储在 Amazon S3 中。
応答ストリーミングを実装して、アプリケーションが生成した部分応答を表示します。 Lambda 関数の実行時間に 30 秒のタイムアウトを設定します。完全な応答レコードを Amazon S3 に保存します。
解析 / Explanation
正确答案 / Answer: D
The supplied answer key selects D. Implement response streaming to display partial responses as the application generates them. Set a 30-second timeout for Lambda function execution time. Store complete response records in Amazon S3.
提供的答案键选择 D。实现响应流以在应用程序生成部分响应时显示部分响应。为 Lambda 函数执行时间设置 30 秒超时。将完整的响应记录存储在 Amazon S3 中。
提供された応答キーは D を選択します。アプリケーションが生成する部分応答を表示するには、応答ストリーミングを実装します。 Lambda 関数の実行時間に 30 秒のタイムアウトを設定します。完全な応答レコードを Amazon S3 に保存します。
原资料未附讨论;以上为参考答案对应选项。
A university is building an AI-powered application that includes several sub-applications. The sub-applications include AI assistants, assignment graders, and internal analytics applications. The university is defining and testing multiple prompts by using various foundation models (FMs). The university wants to compare variants of each prompt and choose the variant that yield outputs that are best-suited for specified use cases. The university requires a version control solution for the prompts. The university must be able to test prompt variations and collect audit trails for prompt changes and usage. The solution must also maintain consistency while allowing the prompts to integrate into the main application. Which combination of solutions will meet these requirements with the LEAST operational overhead? (Choose two.)
一所大学正在构建一个由人工智能驱动的应用程序,其中包括多个子应用程序。子应用程序包括人工智能助手、作业评分器和内部分析应用程序。该大学正在使用各种基础模型 (FM) 定义和测试多种提示。该大学希望比较每个提示的变体,并选择产生最适合特定用例的输出的变体。该大学需要提示的版本控制解决方案。大学必须能够测试即时变化并收集审计跟踪以进行即时更改和使用。该解决方案还必须保持一致性,同时允许提示集成到主应用程序中。哪种解决方案组合能够以最少的运营开销满足这些要求? (选择两个。)
ある大学は、いくつかのサブアプリケーションを含む AI を活用したアプリケーションを構築しています。サブアプリケーションには、AI アシスタント、課題採点者、内部分析アプリケーションが含まれます。大学は、さまざまな基礎モデル (FM) を使用して複数のプロンプトを定義し、テストしています。大学は、各プロンプトのバリアントを比較し、指定された使用例に最適な出力を生成するバリアントを選択したいと考えています。大学では、プロンプトのバージョン管理ソリューションが必要です。大学は、即時の変更をテストし、即時の変更と使用のための監査証跡を収集できなければなりません。ソリューションは、プロンプトをメイン アプリケーションに統合できるようにしながら、一貫性を維持する必要もあります。運用上のオーバーヘッドを最小限に抑えながら、これらの要件を満たすソリューションの組み合わせはどれですか? (2つお選びください。)
- A
Use Amazon Bedrock Prompt Management to create versioned prompts. Include parameterized variables for each use case.
使用 Amazon Bedrock Prompt Management 创建版本化提示。包括每个用例的参数化变量。
Amazon Bedrock プロンプト管理を使用して、バージョン管理されたプロンプトを作成します。ユースケースごとにパラメータ化された変数を含めます。
- B
Store prompts in Amazon S3. Use AWS Step Functions to orchestrate the model interactions and service integrations.
将提示存储在 Amazon S3 中。使用 AWS Step Functions 编排模型交互和服务集成。
プロンプトを Amazon S3 に保存します。 AWS Step Functions を使用して、モデルの相互作用とサービスの統合を調整します。
- C
Use Amazon Bedrock Flows to create workflows that combine FMs and AWS services.
使用 Amazon Bedrock Flows 创建结合 FM 和 AWS 服务的工作流程。
Amazon Bedrock Flows を使用して、FM と AWS のサービスを組み合わせたワークフローを作成します。
- D
Configure AWS Config to record prompt changes. Use AWS CloudTrail to track prompt usage.
配置 AWS Config 以记录提示更改。使用 AWS CloudTrail 跟踪提示使用情况。
プロンプトの変更を記録するように AWS Config を設定します。 AWS CloudTrail を使用してプロンプトの使用状況を追跡します。
- E
Configure Amazon Bedrock intelligent prompt routing.
配置 Amazon Bedrock 智能提示路由。
Amazon Bedrock インテリジェント プロンプト ルーティングを設定します。
解析 / Explanation
正确答案 / Answer: A,C
The supplied answer key selects A, C. Use Amazon Bedrock Prompt Management to create versioned prompts. Include parameterized variables for each use case. Use Amazon Bedrock Flows to create workflows that combine FMs and AWS services.
提供的答案选择 A、C。使用 Amazon Bedrock Prompt Management 创建版本化提示。包括每个用例的参数化变量。使用 Amazon Bedrock Flows 创建结合 FM 和 AWS 服务的工作流程。
提供された回答キーは A、C を選択します。Amazon Bedrock プロンプト管理を使用して、バージョン管理されたプロンプトを作成します。ユースケースごとにパラメータ化された変数を含めます。 Amazon Bedrock Flows を使用して、FM と AWS のサービスを組み合わせたワークフローを作成します。
原资料未附讨论;以上为参考答案对应选项。
A company is building a multicloud generative AI (GenAI)-powered secret resolution application that uses Amazon Bedrock and Agent Squad. The application resolves secrets from multiple sources, including key stores and hardware security modules (HSMs). The application uses AWS Lambda functions to retrieve secrets from the sources. The application uses AWS AppConfig to implement dynamic feature gating. The application supports secret chaining and detects secret drift. The application handles short-lived and expiring secrets. The application also supports prompt flows for templated instructions. The application uses AWS Step Functions to orchestrate agents to resolve the secrets and to manage secret validation and drift detection. The company finds multiple issues during application testing. The application does not refresh expired secrets in time for agents to use. The application sends alerts for secret drift, but agents still use stale data. Prompt flows within the application reuse outdated templates, which cause cascading failures. The company must resolve the performance issues. Which solution will meet this requirement?
一家公司正在构建一个由多云生成 AI (GenAI) 支持的秘密解析应用程序,该应用程序使用 Amazon Bedrock 和 Agent Squad。该应用程序解析来自多个来源的机密,包括密钥存储和硬件安全模块 (HSM)。该应用程序使用 AWS Lambda 函数从源检索机密。该应用程序使用 AWS AppConfig 来实现动态功能门控。该应用程序支持秘密链接并检测秘密漂移。该应用程序处理短期和过期的秘密。该应用程序还支持模板化指令的提示流程。该应用程序使用 AWS Step Functions 协调代理来解析密钥并管理密钥验证和偏差检测。该公司在应用程序测试过程中发现了多个问题。应用程序没有及时刷新过期的机密以供代理使用。该应用程序发送秘密漂移警报,但代理仍然使用过时的数据。应用程序内的提示流重复使用过时的模板,这会导致级联故障。公司必须解决绩效问题。哪种解决方案可以满足这个要求?
ある企業は、Amazon Bedrock と Agent Squad を使用する、マルチクラウド生成 AI (GenAI) を活用した秘密解決アプリケーションを構築しています。このアプリケーションは、キー ストアやハードウェア セキュリティ モジュール (HSM) などの複数のソースからシークレットを解決します。アプリケーションは AWS Lambda 関数を使用してソースからシークレットを取得します。このアプリケーションは AWS AppConfig を使用して動的な機能ゲーティングを実装します。このアプリケーションは秘密連鎖をサポートし、秘密のドリフトを検出します。アプリケーションは、有効期限が短いシークレットと期限切れのシークレットを処理します。このアプリケーションは、テンプレート化された指示のプロンプト フローもサポートしています。このアプリケーションは、AWS Step Functions を使用してエージェントを調整し、シークレットを解決し、シークレットの検証とドリフト検出を管理します。同社はアプリケーションのテスト中に複数の問題を発見しました。アプリケーションは、エージェントが使用できるように期限切れのシークレットを更新しません。アプリケーションは秘密のドリフトに関するアラートを送信しますが、エージェントは依然として古いデータを使用します。アプリケーション内のプロンプト フローは古いテンプレートを再利用するため、連鎖的なエラーが発生します。会社はパフォーマンスの問題を解決する必要があります。この要件を満たすソリューションはどれですか?
- A
Use Step Functions Map states to run agent workflows in parallel. Pass updated secret metadata through Lambda function outputs. Use AWS AppConfig to version all prompt flows to gate and roll back faulty templates.
使用 Step Functions 映射状态并行运行代理工作流。通过 Lambda 函数输出传递更新的秘密元数据。使用 AWS AppConfig 对所有提示流进行版本控制,以控制和回滚错误模板。
Step Functions Map 状態を使用して、エージェント ワークフローを並行して実行します。更新されたシークレットメタデータを Lambda 関数出力を通じて渡します。 AWS AppConfig を使用して、すべてのプロンプト フローをバージョン管理し、欠陥のあるテンプレートをゲートおよびロールバックします。
- B
Use Amazon Bedrock AgentCore only. Configure Amazon Bedrock guardrails to restrict prompt variation. Use an inline JSON schema for a single agent’s workflow definition to chain tool calls.
仅使用 Amazon Bedrock AgentCore。配置 Amazon Bedrock 护栏以限制即时变化。使用单个代理的工作流定义的内联 JSON 模式来链接工具调用。
Amazon Bedrock AgentCore のみを使用してください。 Amazon Bedrock ガードレールを設定して、プロンプトの変動を制限します。単一エージェントのワークフロー定義にインライン JSON スキーマを使用して、ツール呼び出しをチェーンします。
- C
Use a centralized Amazon EventBridge pipeline to invoke each event agent. Store intermediate prompts in Amazon DynamoDB. Resolve agent ordering by using TTL-based backoff and retries.
使用集中式 Amazon EventBridge 管道来调用每个事件代理。将中间提示存储在 Amazon DynamoDB 中。通过使用基于 TTL 的退避和重试来解决代理排序问题。
一元化された Amazon EventBridge パイプラインを使用して、各イベント エージェントを呼び出します。中間プロンプトを Amazon DynamoDB に保存します。 TTL ベースのバックオフと再試行を使用して、エージェントの順序を解決します。
- D
Use Amazon EventBridge Pipes to invoke resolvers based on Amazon CloudWatch log patterns. Store response metadata in Amazon DynamoDB. Configure a TTL and versioned writes. Use Amazon Q Developer to dynamically generate fallback prompts that are routed through a Lambda coordinator.
使用 Amazon EventBridge Pipes 根据 Amazon CloudWatch 日志模式调用解析器。将响应元数据存储在 Amazon DynamoDB 中。配置 TTL 和版本化写入。使用 Amazon Q Developer 动态生成通过 Lambda 协调器路由的后备提示。
Amazon EventBridge Pipes を使用して、Amazon CloudWatch ログパターンに基づいてリゾルバーを呼び出します。レスポンスのメタデータを Amazon DynamoDB に保存します。 TTL とバージョン管理された書き込みを構成します。 Amazon Q Developer を使用して、Lambda コーディネーターを通じてルーティングされるフォールバック プロンプトを動的に生成します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Use Step Functions Map states to run agent workflows in parallel. Pass updated secret metadata through Lambda function outputs. Use AWS AppConfig to version all prompt flows to gate and roll back faulty templates.
提供的答案选择 A。使用 Step Functions Map 状态并行运行代理工作流。通过 Lambda 函数输出传递更新的秘密元数据。使用 AWS AppConfig 对所有提示流进行版本控制,以控制和回滚错误模板。
提供された回答キーは A を選択します。 Step Functions Map 状態を使用して、エージェント ワークフローを並列実行します。更新されたシークレットメタデータを Lambda 関数出力を通じて渡します。 AWS AppConfig を使用して、すべてのプロンプト フローをバージョン管理し、欠陥のあるテンプレートをゲートおよびロールバックします。
原资料未附讨论;以上为参考答案对应选项。
A financial services company processes more than 10,000 customer inquiries every day through a multi-agent GenAI application that uses Amazon Bedrock AgentCore. The application agents invoke several custom tools. During peak usage periods, users report that the custom tools experience up to 40% failure rates. The tools perform inconsistently for different teams at the company. A GenAI developer must implement an observability solution that provides end-to-end visibility into agent interactions and tool behavior. The solution must use built-in Amazon Bedrock capabilities and must not require custom instrumentation. The GenAI developer needs a solution that requires minimal performance overhead. Which solution will meet these requirements?
一家金融服务公司每天通过使用 Amazon Bedrock AgentCore 的多代理 GenAI 应用程序处理超过 10,000 个客户查询。应用程序代理调用多个自定义工具。在使用高峰期,用户报告自定义工具的故障率高达 40%。这些工具对于公司的不同团队来说表现不一致。 GenAI 开发人员必须实现可观察性解决方案,为代理交互和工具行为提供端到端可见性。该解决方案必须使用内置的 Amazon Bedrock 功能,并且不得需要自定义仪器。 GenAI 开发人员需要一种性能开销最小的解决方案。哪种解决方案可以满足这些要求?
金融サービス会社は、Amazon Bedrock AgentCore を使用するマルチエージェント GenAI アプリケーションを通じて、毎日 10,000 件を超える顧客からの問い合わせを処理しています。アプリケーション エージェントはいくつかのカスタム ツールを呼び出します。使用量のピーク時には、カスタム ツールの障害率が最大 40% になるとユーザーが報告しています。社内のチームごとにツールのパフォーマンスに一貫性がありません。 GenAI 開発者は、エージェントの対話とツールの動作をエンドツーエンドで可視化する可観測性ソリューションを実装する必要があります。ソリューションでは、組み込みの Amazon Bedrock 機能を使用する必要があり、カスタム インストルメンテーションを必要としない必要があります。 GenAI 開発者は、パフォーマンスのオーバーヘッドを最小限に抑えるソリューションを必要としています。これらの要件を満たすソリューションはどれですか?
- A
Enable AgentCore Observability and trace collection. Use AWS X-Ray to capture distributed traces for the custom tools. Build Amazon CloudWatch dashboards to visualize metrics for errors, throttling, and latency during peak usage periods.
启用 AgentCore 可观察性和跟踪收集。使用 AWS X-Ray 捕获自定义工具的分布式跟踪。构建 Amazon CloudWatch 仪表板以可视化高峰使用期间的错误、限制和延迟指标。
AgentCore Observability とトレース収集を有効にします。 AWS X-Ray を使用して、カスタム ツールの分散トレースをキャプチャします。 Amazon CloudWatch ダッシュボードを構築して、使用量のピーク時のエラー、スロットル、レイテンシのメトリクスを視覚化します。
- B
Use Amazon CloudWatch Container Insights to monitor the agents. Configure an AWS Lambda function to poll the Amazon Bedrock API for tool usage metrics. Configure the function to store results in CloudWatch to generate alerts.
使用 Amazon CloudWatch Container Insights 监控代理。配置 AWS Lambda 函数以轮询 Amazon Bedrock API 以获取工具使用指标。配置函数以将结果存储在 CloudWatch 中以生成警报。
Amazon CloudWatch Container Insights を使用してエージェントを監視します。ツールの使用状況メトリクスについて Amazon Bedrock API をポーリングするように AWS Lambda 関数を設定します。結果を CloudWatch に保存してアラートを生成する関数を設定します。
- C
Build a custom ETL pipeline that uses AWS Lambda functions to process Amazon CloudWatch logs from Amazon Bedrock. Store the processed data in Amazon DynamoDB. Use Amazon Quick Sight to visualize cross-team performance patterns.
构建使用 AWS Lambda 函数处理来自 Amazon Bedrock 的 Amazon CloudWatch 日志的自定义 ETL 管道。将处理后的数据存储在 Amazon DynamoDB 中。使用 Amazon Quick Sight 可视化跨团队绩效模式。
AWS Lambda 関数を使用して Amazon Bedrock からの Amazon CloudWatch ログを処理するカスタム ETL パイプラインを構築します。処理されたデータを Amazon DynamoDB に保存します。 Amazon Quick Sight を使用して、チーム間のパフォーマンス パターンを視覚化します。
- D
Enable AgentCore Observability and send trace data to Amazon CloudWatch Logs. Use a custom AWS Lambda function to extract tool performance metrics from the logs. Use Amazon Managed Grafana to visualize trends.
启用 AgentCore 可观察性并将跟踪数据发送到 Amazon CloudWatch Logs。使用自定义 AWS Lambda 函数从日志中提取工具性能指标。使用 Amazon Managed Grafana 可视化趋势。
AgentCore Observability を有効にし、トレース データを Amazon CloudWatch Logs に送信します。カスタム AWS Lambda 関数を使用して、ログからツールのパフォーマンスメトリクスを抽出します。 Amazon Managed Grafana を使用して傾向を視覚化します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Enable AgentCore Observability and trace collection. Use AWS X-Ray to capture distributed traces for the custom tools. Build Amazon CloudWatch dashboards to visualize metrics for errors, throttling, and latency during peak usage periods.
提供的答案选择 A. 启用 AgentCore 可观察性和跟踪收集。使用 AWS X-Ray 捕获自定义工具的分布式跟踪。构建 Amazon CloudWatch 仪表板以可视化高峰使用期间的错误、限制和延迟指标。
提供された回答キーは A を選択します。AgentCore の可観測性とトレース収集を有効にします。 AWS X-Ray を使用して、カスタム ツールの分散トレースをキャプチャします。 Amazon CloudWatch ダッシュボードを構築して、使用量のピーク時のエラー、スロットル、レイテンシのメトリクスを視覚化します。
原资料未附讨论;以上为参考答案对应选项。
An ecommerce company is using an Anthropic Claude Sonnet model in Amazon Bedrock to generate product recommendations. An AWS Lambda function retrieves customer purchase data from Amazon DynamoDB, product reviews from Amazon S3, and customer profile information from Amazon RDS. Then the function sends the data directly to the Amazon Bedrock model through API calls. Recently, customers who have extensive purchase histories have begun to receive incomplete recommendations. Amazon CloudWatch logs for the Lambda function show execution timeouts. CloudWatch logs for Amazon Bedrock API calls show intermittent errors. The company reviews the logs and finds that some requests are failing with context length exceeded errors. Other requests finish but appear to ignore portions of the input data. The company wants the recommendation system to consider all customer data when the system generates recommendations. The company wants to use Amazon Bedrock Knowledge Bases to improve data organization and retrieval. Which combination of solutions will meet these requirements? (Choose two.)
一家电子商务公司正在 Amazon Bedrock 中使用 Anthropic Claude Sonnet 模型来生成产品推荐。 AWS Lambda 函数从 Amazon DynamoDB 检索客户购买数据、从 Amazon S3 检索产品评论以及从 Amazon RDS 检索客户个人资料信息。然后该函数通过 API 调用将数据直接发送到 Amazon Bedrock 模型。最近,拥有大量购买历史的客户开始收到不完整的推荐。 Lambda 函数的 Amazon CloudWatch 日志显示执行超时。 Amazon Bedrock API 调用的 CloudWatch 日志显示间歇性错误。该公司检查日志并发现某些请求因上下文长度超出错误而失败。其他请求完成但似乎忽略了部分输入数据。该公司希望推荐系统在生成推荐时考虑所有客户数据。该公司希望使用 Amazon Bedrock 知识库来改进数据组织和检索。哪种解决方案组合可以满足这些要求? (选择两个。)
e コマース企業は、Amazon Bedrock の Anthropic Claude Sonnet モデルを使用して製品の推奨事項を生成しています。 AWS Lambda 関数は、Amazon DynamoDB から顧客の購入データ、Amazon S3 から製品レビュー、Amazon RDS から顧客プロファイル情報を取得します。次に、関数は API 呼び出しを通じてデータを Amazon Bedrock モデルに直接送信します。最近、豊富な購入履歴を持つ顧客が不完全な推奨を受けるようになりました。 Lambda 関数の Amazon CloudWatch ログに実行タイムアウトが表示されます。 Amazon Bedrock API 呼び出しの CloudWatch ログに断続的なエラーが表示されます。同社はログを確認し、一部のリクエストがコンテキスト長超過エラーで失敗していることを発見しました。他のリクエストは終了しますが、入力データの一部が無視されているように見えます。同社は、推奨システムが推奨を生成するときにすべての顧客データを考慮することを望んでいます。同社は、Amazon Bedrock Knowledge Bases を使用してデータの整理と検索を改善したいと考えています。これらの要件を満たすソリューションの組み合わせはどれですか? (2つお選びください。)
- A
Implement a chunking strategy that divides the customer data into smaller segments. Configure the model to process each segment separately. Invoke the model a final time to synthesize the individual responses into comprehensive recommendations.
实施分块策略,将客户数据分为更小的部分。配置模型以单独处理每个段。最后一次调用模型,将个人响应综合为综合建议。
顧客データをより小さなセグメントに分割するチャンキング戦略を実装します。各セグメントを個別に処理するようにモデルを構成します。最後にモデルを呼び出して、個々の応答を総合的な推奨事項に統合します。
- B
Modify the prompt structure to place the most critical information at the beginning and end of the context window. Implement token- counting logic to truncate less important data when the interaction approaches the model’s maximum context length.
修改提示结构,将最关键的信息放置在上下文窗口的开头和结尾。当交互接近模型的最大上下文长度时,实现令牌计数逻辑以截断不太重要的数据。
プロンプトの構造を変更して、最も重要な情報をコンテキスト ウィンドウの最初と最後に配置します。インタラクションがモデルの最大コンテキスト長に近づいた場合に、重要性の低いデータを切り捨てるトークンカウント ロジックを実装します。
- C
Replace Claude Sonnet with a model that has a larger context window capacity. Increase the Lambda function timeout to accommodate longer processing times for larger inputs.
将 Claude Sonnet 替换为具有更大上下文窗口容量的模型。增加 Lambda 函数超时以适应较大输入的较长处理时间。
Claude Sonnet を、より大きなコンテキスト ウィンドウ容量を持つモデルに置き換えます。 Lambda 関数のタイムアウトを増やして、入力が大きい場合の処理時間の延長に対応します。
- D
Configure the recommendation system to use the Converse API. Modify the additionalModelRequestFields parameter to increase the maximum token limit beyond the model’s default context window size.
配置推荐系统以使用 Converse API。修改additionalModelRequestFields参数以将最大令牌限制增加到超出模型的默认上下文窗口大小。
Converse API を使用するように推奨システムを構成します。モデルのデフォルトのコンテキスト ウィンドウ サイズを超えて最大トークン制限を増やすには、AdditionalModelRequestFields パラメーターを変更します。
- E
Implement RAG by using a knowledge base to index the customer data with vector embeddings. Retrieve only the most semantically relevant information for each recommendation request based on the current customer context.
通过使用知识库通过向量嵌入对客户数据进行索引来实施 RAG。根据当前客户上下文,仅检索每个推荐请求在语义上最相关的信息。
ナレッジ ベースを使用して RAG を実装し、ベクトル埋め込みで顧客データにインデックスを付けます。現在の顧客のコンテキストに基づいて、各推奨リクエストに対して最も意味的に関連性の高い情報のみを取得します。
解析 / Explanation
正确答案 / Answer: A,E
The supplied answer key selects A, E. Implement a chunking strategy that divides the customer data into smaller segments. Configure the model to process each segment separately. Invoke the model a final time to synthesize the individual responses into comprehensive recommendations. Implement RAG by using a knowledge base to index the customer data with vector embeddings. Retrieve only the most semantically relevant information for each recommendation request based on the current customer context.
提供的答案选择 A、E。实施分块策略,将客户数据划分为更小的部分。配置模型以单独处理每个段。最后一次调用模型,将个人响应综合为综合建议。通过使用知识库通过向量嵌入对客户数据进行索引来实施 RAG。根据当前客户上下文,仅检索每个推荐请求在语义上最相关的信息。
提供された回答キーは A、E を選択します。顧客データをより小さなセグメントに分割するチャンキング戦略を実装します。各セグメントを個別に処理するようにモデルを構成します。最後にモデルを呼び出して、個々の応答を総合的な推奨事項に統合します。ナレッジ ベースを使用して RAG を実装し、ベクトル埋め込みで顧客データにインデックスを付けます。現在の顧客のコンテキストに基づいて、各推奨リクエストに対して最も意味的に関連性の高い情報のみを取得します。
原资料未附讨论;以上为参考答案对应选项。
A company developed a multimodal content analysis application by using Amazon Bedrock. The application routes different content types (text, images, and code) to specialized foundation models (FMs). The application needs to handle multiple types of routing decisions. Simple routing based on file extension must have minimal latency. Complex routing based on content semantics requires analysis before FM selection. The application must provide detailed history and support fallback options when primary FMs fail. Which solution will meet these requirements?
一家公司使用 Amazon Bedrock 开发了多模式内容分析应用程序。该应用程序将不同的内容类型(文本、图像和代码)路由到专门的基础模型 (FM)。应用程序需要处理多种类型的路由决策。基于文件扩展名的简单路由必须具有最小的延迟。基于内容语义的复杂路由需要在FM选择之前进行分析。当主 FM 发生故障时,应用程序必须提供详细的历史记录并支持后备选项。哪种解决方案可以满足这些要求?
ある会社は、Amazon Bedrock を使用してマルチモーダルコンテンツ分析アプリケーションを開発しました。アプリケーションは、さまざまなコンテンツ タイプ (テキスト、画像、コード) を特殊な基盤モデル (FM) にルーティングします。アプリケーションは、複数の種類のルーティング決定を処理する必要があります。ファイル拡張子に基づく単純なルーティングでは、遅延を最小限に抑える必要があります。コンテンツのセマンティクスに基づく複雑なルーティングでは、FM を選択する前に分析が必要です。アプリケーションは詳細な履歴を提供し、プライマリ FM に障害が発生した場合のフォールバック オプションをサポートする必要があります。これらの要件を満たすソリューションはどれですか?
- A
Configure AWS Lambda functions that call Amazon Bedrock FMs for all routing logic. Use conditional statements to determine the appropriate FM based on content type and semantics.
配置为所有路由逻辑调用 Amazon Bedrock FM 的 AWS Lambda 函数。使用条件语句根据内容类型和语义确定适当的 FM。
すべてのルーティング ロジックに対して Amazon Bedrock FM を呼び出す AWS Lambda 関数を設定します。条件ステートメントを使用して、コンテンツ タイプとセマンティクスに基づいて適切な FM を決定します。
- B
Create a hybrid solution. Handle simple routing based on file extensions in application code. Handle complex content-based routing by using an AWS Step Functions state machine with JSONata for content analysis and the InvokeModel API for specialized FMs.
创建混合解决方案。根据应用程序代码中的文件扩展名处理简单路由。通过使用 AWS Step Functions 状态机以及用于内容分析的 JSONata 和用于专门 FM 的 InvokeModel API 来处理复杂的基于内容的路由。
ハイブリッド ソリューションを作成します。アプリケーション コード内のファイル拡張子に基づいて単純なルーティングを処理します。コンテンツ分析用の JSONata と特殊な FM 用の InvokeModel API を備えた AWS Step Functions ステートマシンを使用して、複雑なコンテンツベースのルーティングを処理します。
- C
Deploy separate AWS Step Functions workflows for each content type with routing logic in AWS Lambda functions. Use Amazon EventBridge to coordinate between workflows when fallback to alternate FMs is required.
使用 AWS Lambda 函数中的路由逻辑为每种内容类型部署单独的 AWS Step Functions 工作流程。当需要回退到备用 FM 时,使用 Amazon EventBridge 在工作流程之间进行协调。
AWS Lambda 関数のルーティング ロジックを使用して、コンテンツ タイプごとに個別の AWS Step Functions ワークフローをデプロイします。代替 FM へのフォールバックが必要な場合は、Amazon EventBridge を使用してワークフロー間を調整します。
- D
Use Amazon SQS with different SQS queues for each content type. Configure AWS Lambda consumers that analyze content and invoke appropriate FMs based on message attributes by using Amazon Bedrock with an AWS SDK.
将 Amazon SQS 与每种内容类型的不同 SQS 队列结合使用。通过将 Amazon Bedrock 与 AWS 开发工具包结合使用,配置 AWS Lambda 使用者来分析内容并根据消息属性调用适当的 FM。
コンテンツタイプごとに異なる SQS キューを備えた Amazon SQS を使用します。 Amazon Bedrock と AWS SDK を使用して、コンテンツを分析し、メッセージ属性に基づいて適切な FM を呼び出す AWS Lambda コンシューマーを構成します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Create a hybrid solution. Handle simple routing based on file extensions in application code. Handle complex content-based routing by using an AWS Step Functions state machine with JSONata for content analysis and the InvokeModel API for specialized FMs.
提供的答案选择 B. 创建混合解决方案。根据应用程序代码中的文件扩展名处理简单路由。通过使用 AWS Step Functions 状态机以及用于内容分析的 JSONata 和用于专门 FM 的 InvokeModel API 来处理复杂的基于内容的路由。
提供された回答キーは B を選択します。ハイブリッド ソリューションを作成します。アプリケーション コード内のファイル拡張子に基づいて単純なルーティングを処理します。コンテンツ分析用の JSONata と特殊な FM 用の InvokeModel API を備えた AWS Step Functions ステートマシンを使用して、複雑なコンテンツベースのルーティングを処理します。
原资料未附讨论;以上为参考答案对应选项。
A company is developing a customer support chat assistant that uses an Amazon Bedrock foundation model (FM). The company wants to update to a newer FM version but needs to implement a validation system to detect semantic drift in responses. The company wants to ensure that performance and functionality for end users remains consistent. The company needs a solution to compare responses between current and new FM versions for 500 test cases. The solution must detect changes in response meaning, generate quantitative similarity scores, complete validations, and log detailed results for historical comparison. Which solution will meet these requirements with the LEAST operational complexity?
一家公司正在开发使用 Amazon Bedrock 基础模型 (FM) 的客户支持聊天助手。该公司希望更新到较新的 FM 版本,但需要实施验证系统来检测响应中的语义漂移。该公司希望确保最终用户的性能和功能保持一致。该公司需要一个解决方案来比较当前和新 FM 版本对 500 个测试用例的响应。该解决方案必须检测响应含义的变化,生成定量相似性分数,完成验证并记录详细结果以进行历史比较。哪种解决方案能够以最低的操作复杂性满足这些要求?
ある企業は、Amazon Bedrock Foundation Model (FM) を使用するカスタマーサポートチャットアシスタントを開発しています。同社は新しい FM バージョンに更新したいと考えていますが、応答内のセマンティック ドリフトを検出するための検証システムを実装する必要があります。同社は、エンド ユーザーにとってのパフォーマンスと機能が一貫した状態を維持できるようにしたいと考えています。同社は、500 のテスト ケースについて、現行の FM バージョンと新しい FM バージョンの応答を比較するソリューションを必要としています。ソリューションは、応答の意味の変化を検出し、定量的類似性スコアを生成し、検証を完了し、履歴比較のために詳細な結果を記録する必要があります。運用の複雑さを最小限に抑えながら、これらの要件を満たすソリューションはどれですか?
- A
Configure Amazon CloudWatch Synthetics canaries that use custom JavaScript code to send identical prompts to both new and existing FM versions. Store responses in Amazon S3. Perform manual reviews to identify semantic differences between FM versions.
配置 Amazon CloudWatch Synthetics Canary,使用自定义 JavaScript 代码向新的和现有的 FM 版本发送相同的提示。将响应存储在 Amazon S3 中。执行手动检查以识别 FM 版本之间的语义差异。
カスタム JavaScript コードを使用して、新規および既存の FM バージョンの両方に同一のプロンプトを送信する Amazon CloudWatch Synthetics カナリアを設定します。応答を Amazon S3 に保存します。手動レビューを実行して、FM バージョン間のセマンティクスの違いを特定します。
- B
Configure an AWS Step Functions workflow that sends test prompts to both new and existing FM versions. Use Amazon Bedrock embedding models to calculate cosine similarity scores. Store the results in Amazon DynamoDB with a composite key schema.
配置 AWS Step Functions 工作流程,将测试提示发送到新的和现有的 FM 版本。使用 Amazon Bedrock 嵌入模型计算余弦相似度分数。使用复合键架构将结果存储在 Amazon DynamoDB 中。
新しいFMバージョンと既存のFMバージョンの両方にテストプロンプトを送信するAWS Step Functionsワークフローを設定します。 Amazon Bedrock 埋め込みモデルを使用して、コサイン類似度スコアを計算します。複合キースキーマを使用して結果を Amazon DynamoDB に保存します。
- C
Use Amazon Bedrock model evaluation jobs to compare the new FM version against the current version using the 500 test cases. Configure the evaluation to calculate semantic similarity metrics. Store results in Amazon S3 for historical comparison.
使用 Amazon Bedrock 模型评估作业,使用 500 个测试用例将新 FM 版本与当前版本进行比较。配置评估以计算语义相似度度量。将结果存储在 Amazon S3 中以进行历史比较。
Amazon Bedrock モデル評価ジョブを使用して、500 のテストケースを使用して新しい FM バージョンを現在のバージョンと比較します。セマンティック類似性メトリックを計算するように評価を構成します。履歴比較のために結果を Amazon S3 に保存します。
- D
Build a custom solution by using Amazon SageMaker AI to train a classifier model on historical responses to detect anomalies when the solution compares responses from the new FM version to previous patterns.
使用 Amazon SageMaker AI 构建自定义解决方案,根据历史响应训练分类器模型,以便在解决方案将新 FM 版本的响应与之前的模式进行比较时检测异常。
Amazon SageMaker AI を使用してカスタム ソリューションを構築し、ソリューションが新しい FM バージョンからの応答を以前のパターンと比較するときに異常を検出するために、過去の応答に基づいて分類子モデルをトレーニングします。
解析 / Explanation
正确答案 / Answer: C
The supplied answer key selects C. Use Amazon Bedrock model evaluation jobs to compare the new FM version against the current version using the 500 test cases. Configure the evaluation to calculate semantic similarity metrics. Store results in Amazon S3 for historical comparison.
提供的答案选择 C。使用 Amazon Bedrock 模型评估作业使用 500 个测试用例将新 FM 版本与当前版本进行比较。配置评估以计算语义相似度度量。将结果存储在 Amazon S3 中以进行历史比较。
提供された回答キーは C を選択します。Amazon Bedrock モデル評価ジョブを使用して、500 のテストケースを使用して新しい FM バージョンを現在のバージョンと比較します。セマンティック類似性メトリックを計算するように評価を構成します。履歴比較のために結果を Amazon S3 に保存します。
原资料未附讨论;以上为参考答案对应选项。
A media company is building an AI-powered content moderation system by using Amazon Bedrock. The system first classifies text by using a small, low-latency model. Then the system escalates requests that have a confidence score below 0.65 to a larger, more expensive model. The system must respond in near real time for high-confidence results. The system must process low-confidence requests asynchronously. The system must scale to meet sudden spikes in demand. The company wants to optimize costs for the system by invoking the larger model only when required. The company wants to use decoupled components to achieve high resiliency for the system. Which solution will meet these requirements?
一家媒体公司正在使用 Amazon Bedrock 构建人工智能驱动的内容审核系统。该系统首先使用小型、低延迟模型对文本进行分类。然后,系统会将置信度得分低于 0.65 的请求升级为更大、更昂贵的模型。系统必须近乎实时地响应以获得高可信度的结果。系统必须异步处理低置信度请求。系统必须进行扩展以满足突然的需求高峰。该公司希望通过仅在需要时调用更大的模型来优化系统成本。该公司希望使用解耦组件来实现系统的高弹性。哪种解决方案可以满足这些要求?
あるメディア企業は、Amazon Bedrock を使用して AI を活用したコンテンツ モデレーション システムを構築しています。システムはまず、小規模で低遅延のモデルを使用してテキストを分類します。次に、システムは信頼スコアが 0.65 未満のリクエストを、より大規模でより高価なモデルにエスカレーションします。信頼性の高い結果を得るには、システムはほぼリアルタイムで応答する必要があります。システムは、信頼性の低いリクエストを非同期に処理する必要があります。システムは、需要の突然の急増に対応できるように拡張する必要があります。同社は、必要な場合にのみより大きなモデルを呼び出すことで、システムのコストを最適化したいと考えています。同社は、分離されたコンポーネントを使用して、システムの高い復元力を実現したいと考えています。これらの要件を満たすソリューションはどれですか?
- A
Use Amazon API Gateway to invoke the small model synchronously. If the small model’s confidence score is below 0.65, synchronously call the larger model. Use provisioned concurrency to handle traffic spikes.
使用 Amazon API Gateway 同步调用小模型。如果小模型的置信度低于0.65,则同步调用较大的模型。使用预配置的并发来处理流量峰值。
Amazon API Gateway を使用して、小規模モデルを同期的に呼び出します。小規模モデルの信頼スコアが 0.65 未満の場合は、より大きなモデルを同期的に呼び出します。プロビジョニングされた同時実行性を使用して、トラフィックの急増に対処します。
- B
Use an AWS Step Functions workflow that has parallel branches to run both the small model and the large model for every request. Choose the large model result when confidence score values differ.
使用具有并行分支的 AWS Step Functions 工作流程来针对每个请求运行小型模型和大型模型。当置信度得分值不同时,选择较大的模型结果。
並列ブランチを持つ AWS Step Functions ワークフローを使用して、リクエストごとに小規模モデルと大規模モデルの両方を実行します。信頼スコア値が異なる場合は、大規模なモデルの結果を選択します。
- C
Send requests to an Amazon SQS queue. Use AWS Fargate to process messages. Invoke the small model first. If the confidence score is below 0.65, place the request in a second SQS queue to process asynchronously by using the large model.
将请求发送到 Amazon SQS 队列。使用 AWS Fargate 处理消息。首先调用小模型。如果置信度得分低于 0.65,则将请求放入第二个 SQS 队列中,以便使用大型模型进行异步处理。
リクエストを Amazon SQS キューに送信します。 AWS Fargate を使用してメッセージを処理します。最初に小さいモデルを呼び出します。信頼スコアが 0.65 未満の場合は、リクエストを 2 番目の SQS キューに配置し、大規模モデルを使用して非同期的に処理します。
- D
Deploy both models on Amazon EC2 instances and enable auto scaling. Use a custom application heuristic to route requests to the appropriate instance based on phrase length and keyword rules.
在 Amazon EC2 实例上部署这两个模型并启用自动扩展。使用自定义应用程序启发式根据短语长度和关键字规则将请求路由到适当的实例。
両方のモデルを Amazon EC2 インスタンスにデプロイし、自動スケーリングを有効にします。カスタム アプリケーション ヒューリスティックを使用して、フレーズの長さとキーワード ルールに基づいてリクエストを適切なインスタンスにルーティングします。
解析 / Explanation
正确答案 / Answer: C
The supplied answer key selects C. Send requests to an Amazon SQS queue. Use AWS Fargate to process messages. Invoke the small model first. If the confidence score is below 0.65, place the request in a second SQS queue to process asynchronously by using the large model.
提供的答案选择 C。将请求发送到 Amazon SQS 队列。使用 AWS Fargate 处理消息。首先调用小模型。如果置信度得分低于 0.65,则将请求放入第二个 SQS 队列中,以便使用大型模型进行异步处理。
指定された回答キーは C を選択します。リクエストを Amazon SQS キューに送信します。 AWS Fargate を使用してメッセージを処理します。最初に小さいモデルを呼び出します。信頼スコアが 0.65 未満の場合は、リクエストを 2 番目の SQS キューに配置し、大規模モデルを使用して非同期的に処理します。
原资料未附讨论;以上为参考答案对应选项。
A social messaging company is building an AI chat assistant by using Amazon Bedrock. The company must ensure that every inference complies with an approved safety policy. The company wants to block harmful prompts before model invocations, filter streamed model outputs in real time, and route flagged cases for human review. Which solution will meet these requirements?
一家社交消息公司正在使用 Amazon Bedrock 构建 AI 聊天助手。公司必须确保每项推论均符合批准的安全政策。该公司希望在模型调用之前阻止有害提示,实时过滤流式模型输出,并路由标记的案例以供人工审核。哪种解决方案可以满足这些要求?
ソーシャルメッセージング会社は、Amazon Bedrock を使用して AI チャットアシスタントを構築しています。企業は、すべての推論が承認された安全ポリシーに準拠していることを確認する必要があります。同社は、モデルの呼び出し前に有害なプロンプトをブロックし、ストリーミングされたモデル出力をリアルタイムでフィルタリングし、フラグが立てられたケースを人間によるレビューのためにルーティングしたいと考えています。これらの要件を満たすソリューションはどれですか?
- A
Configure an AWS Step Functions workflow. Configure a step to use an AWS Lambda function to pre-check inputs by using the ApplyGuardrail API. Use an InvokeModelWithResponseStream API step that has the guardrail attached. Configure a second Lambda function step to post-check outputs by using the ApplyGuardrail API. Route flagged items to an Amazon SQS queue. Enforce guardrail use by using a bedrock:GuardrailIdentifier IAM condition.
配置 AWS Step Functions 工作流程。配置一个步骤以使用 AWS Lambda 函数通过 ApplyGuardrail API 预先检查输入。使用附加了护栏的 InvokeModelWithResponseStream API 步骤。配置第二个 Lambda 函数步骤以使用 ApplyGuardrail API 事后检查输出。将标记的项目路由到 Amazon SQS 队列。通过使用 bedrock:GuardrailIdentifier IAM 条件强制使用护栏。
AWS Step Functions ワークフローを設定します。 AWS Lambda 関数を使用して、ApplyGuardrail API を使用して入力を事前チェックするステップを構成します。ガードレールがアタッチされた InvokeModelWithResponseStream API ステップを使用します。 2 番目の Lambda 関数ステップを設定して、ApplyGuardrail API を使用して出力を事後チェックします。フラグが設定されたアイテムを Amazon SQS キューにルーティングします。 bedrock:GuardrailIdentifier IAM 条件を使用して、ガードレールの使用を強制します。
- B
Configure an AWS Step Functions workflow. Configure a step to call the ApplyGuardrail API before inference. Then call the InvokeModel API without streaming and use the guardrail. Store the results in Amazon S3. Use the client UI to hide problematic tokens.
配置 AWS Step Functions 工作流程。配置一个步骤以在推理之前调用ApplyGuardrail API。然后调用 InvokeModel API(不进行流式传输)并使用护栏。将结果存储在 Amazon S3 中。使用客户端 UI 隐藏有问题的令牌。
AWS Step Functions ワークフローを設定します。推論の前にApplyGuardrail APIを呼び出すステップを構成します。次に、ストリーミングせずに InvokeModel API を呼び出し、ガードレールを使用します。結果を Amazon S3 に保存します。クライアント UI を使用して、問題のあるトークンを非表示にします。
- C
Configure an AWS Step Functions workflow. Configure a step to use the InvokeModelWithResponseStream API that has the guardrail attached for in-stream filtering. Run an AWS Lambda post-check step by using the ApplyGuardrail API to check flagged cases. Do not perform pre-inference.
配置 AWS Step Functions 工作流程。配置一个步骤以使用 InvokeModelWithResponseStream API,该 API 附加了用于流内过滤的护栏。使用ApplyGuardrail API 运行AWS Lambda 后检查步骤来检查标记的案例。不进行预推理。
AWS Step Functions ワークフローを設定します。インストリーム フィルタリング用のガードレールが接続された InvokeModelWithResponseStream API を使用するステップを構成します。 applyGuardrail API を使用して AWS Lambda 事後チェック ステップを実行し、フラグが立てられたケースをチェックします。事前推論を実行しないでください。
- D
Configure an AWS Step Functions workflow that includes steps to perform pre-checks and post-checks by using the ApplyGuardrail API and the InvokeModelWithResponseStream API. Attach the guardrail to the check steps. Use process controls such as code reviews instead of IAM enforcement to ensure that guardrails are always applied.
配置 AWS Step Functions 工作流程,其中包括使用 ApplyGuardrail API 和 InvokeModelWithResponseStream API 执行预检查和后检查的步骤。将护栏安装到检查台阶上。使用代码审查等流程控制而不是 IAM 强制执行来确保始终应用护栏。
applyGuardrail API と InvokeModelWithResponseStream API を使用して事前チェックと事後チェックを実行するステップを含む AWS Step Functions ワークフローを設定します。チェックステップにガードレールを取り付けます。 IAM 強制の代わりにコードレビューなどのプロセス制御を使用して、ガードレールが常に適用されるようにします。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Configure an AWS Step Functions workflow. Configure a step to use an AWS Lambda function to pre-check inputs by using the ApplyGuardrail API. Use an InvokeModelWithResponseStream API step that has the guardrail attached. Configure a second Lambda function step to post-check outputs by using the ApplyGuardrail API. Route flagged items to an Amazon SQS queue. Enforce guardrail use by using a bedrock:GuardrailIdentifier IAM condition.
提供的答案选择 A. 配置 AWS Step Functions 工作流程。配置一个步骤以使用 AWS Lambda 函数通过 ApplyGuardrail API 预先检查输入。使用附加了护栏的 InvokeModelWithResponseStream API 步骤。配置第二个 Lambda 函数步骤以使用 ApplyGuardrail API 事后检查输出。将标记的项目路由到 Amazon SQS 队列。通过使用 bedrock:GuardrailIdentifier IAM 条件强制使用护栏。
提供された回答キーは A を選択します。AWS Step Functions ワークフローを設定します。 AWS Lambda 関数を使用して、ApplyGuardrail API を使用して入力を事前チェックするステップを構成します。ガードレールがアタッチされた InvokeModelWithResponseStream API ステップを使用します。 2 番目の Lambda 関数ステップを設定して、ApplyGuardrail API を使用して出力を事後チェックします。フラグが設定されたアイテムを Amazon SQS キューにルーティングします。 bedrock:GuardrailIdentifier IAM 条件を使用して、ガードレールの使用を強制します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company uses Amazon Bedrock to analyze customer data that is stored in an Amazon S3 bucket. The data includes personally identifiable information (PII). The company must mask PII from foundation model (FM) responses. Which solution will meet this requirement with the LEAST operational effort?
一家金融服务公司使用 Amazon Bedrock 来分析存储在 Amazon S3 存储桶中的客户数据。这些数据包括个人身份信息 (PII)。公司必须从基础模型 (FM) 响应中隐藏 PII。哪种解决方案能够以最少的操作工作量满足此要求?
金融サービス会社は、Amazon Bedrock を使用して、Amazon S3 バケットに保存されている顧客データを分析します。データには個人を特定できる情報 (PII) が含まれます。企業は、基礎モデル (FM) 応答から PII をマスクする必要があります。最小限の運用労力でこの要件を満たすソリューションはどれですか?
- A
Create a guardrail in Amazon Bedrock to filter PII content. Define the PII type and set the guardrail action to MASK. Configure Amazon Bedrock to apply the filter to each FM response.
在 Amazon Bedrock 中创建护栏以过滤 PII 内容。定义 PII 类型并将护栏操作设置为 MASK。配置 Amazon Bedrock 以将过滤器应用于每个 FM 响应。
Amazon Bedrock にガードレールを作成して、PII コンテンツをフィルタリングします。 PII タイプを定義し、ガードレール アクションを MASK に設定します。各 FM 応答にフィルターを適用するように Amazon Bedrock を設定します。
- B
Use Amazon Comprehend to detect PII entities in the S3 data before invoking Amazon Bed-rock. Configure an AWS Lambda function to call the Amazon Comprehend DetectPiiEntities API to mask detected PII. Store the processed data back to the original S3 bucket.
在调用 Amazon Bed-rock 之前,使用 Amazon Comprehend 检测 S3 数据中的 PII 实体。配置 AWS Lambda 函数以调用 Amazon Comprehend DetectPiiEntities API 来屏蔽检测到的 PII。将处理后的数据存储回原始S3存储桶。
Amazon Bed-rock を呼び出す前に、Amazon Comprehend を使用して S3 データ内の PII エンティティを検出します。検出された PII をマスクするために Amazon Comprehend DetectPiiEntities API を呼び出すように AWS Lambda 関数を設定します。処理されたデータを元の S3 バケットに保存します。
- C
Use Amazon Macie to scan the S3 bucket for PII data. Configure an AWS Lambda function to store PII in a second S3 bucket. Use an Amazon EventBridge rule to invoke the Lambda func-tion.
使用 Amazon Macie 扫描 S3 存储桶中的 PII 数据。配置 AWS Lambda 函数以将 PII 存储在第二个 S3 存储桶中。使用 Amazon EventBridge 规则调用 Lambda 函数。
Amazon Macie を使用して S3 バケットをスキャンして PII データを探します。 PII を 2 番目の S3 バケットに保存するように AWS Lambda 関数を設定します。 Amazon EventBridge ルールを使用して、Lambda 関数を呼び出します。
- D
Configure an AWS Lambda function to search for PII data. Implement a step in the Lambda function code to store the PII in a second S3 bucket and non-PII data into a third S3 bucket.
配置 AWS Lambda 函数来搜索 PII 数据。在 Lambda 函数代码中实现一个步骤,将 PII 存储在第二个 S3 存储桶中,将非 PII 数据存储到第三个 S3 存储桶中。
PII データを検索するように AWS Lambda 関数を設定します。 PII を 2 番目の S3 バケットに保存し、非 PII データを 3 番目の S3 バケットに保存するステップを Lambda 関数コードに実装します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Create a guardrail in Amazon Bedrock to filter PII content. Define the PII type and set the guardrail action to MASK. Configure Amazon Bedrock to apply the filter to each FM response.
提供的答案选择 A。在 Amazon Bedrock 中创建护栏以过滤 PII 内容。定义 PII 类型并将护栏操作设置为 MASK。配置 Amazon Bedrock 以将过滤器应用于每个 FM 响应。
提供された回答キーは A を選択します。PII コンテンツをフィルタリングするために Amazon Bedrock にガードレールを作成します。 PII タイプを定義し、ガードレール アクションを MASK に設定します。各 FM 応答にフィルターを適用するように Amazon Bedrock を設定します。
原资料未附讨论;以上为参考答案对应选项。
A healthcare company is implementing a clinical knowledge base application on Amazon Bed-rock that provides medical information to doctors. During testing, a quality team discovers that the generative AI (GenAI) model occasionally fabricates medical treatment recommendations that do not originate from the approved clinical guidelines. The quality team needs to implement a solution to detect the hallucinations before releasing the application. The solution must analyze model responses against verified medical information. The solution must identify semantic inconsistencies when users ask similar questions in different ways. Which solution will meet these requirements?
一家医疗保健公司正在 Amazon Bed-rock 上实施临床知识库应用程序,为医生提供医疗信息。在测试过程中,质量团队发现生成式人工智能 (GenAI) 模型偶尔会编造并非源自已批准的临床指南的医疗建议。质量团队需要实施一个解决方案来在发布应用程序之前检测幻觉。该解决方案必须根据经过验证的医疗信息分析模型响应。当用户以不同方式提出类似问题时,解决方案必须识别语义不一致的情况。哪种解决方案可以满足这些要求?
ヘルスケア企業は、医師に医療情報を提供する臨床ナレッジベース アプリケーションを Amazon Bed-rock に実装しています。テスト中に、品質チームは、生成 AI (GenAI) モデルが、承認された臨床ガイドラインに由来しない医療推奨事項を捏造する場合があることを発見しました。品質チームは、アプリケーションをリリースする前に、幻覚を検出するソリューションを実装する必要があります。ソリューションでは、検証された医療情報に対してモデル応答を分析する必要があります。ソリューションでは、ユーザーがさまざまな方法で同様の質問をした場合に、意味上の矛盾を特定する必要があります。これらの要件を満たすソリューションはどれですか?
- A
Deploy a real-time monitoring system that uses Amazon CloudWatch Logs Insights to analyze response patterns and to flag factual inaccuracies based on predefined keywords. Implement AWS Lambda functions to compare responses with known answers from an Amazon Dyna-moDB table.
部署一个实时监控系统,该系统使用 Amazon CloudWatch Logs Insights 来分析响应模式并根据预定义的关键字标记事实不准确之处。实施 AWS Lambda 函数以将响应与 Amazon Dyna-moDB 表中的已知答案进行比较。
Amazon CloudWatch Logs Insights を使用するリアルタイム監視システムをデプロイし、応答パターンを分析し、事前定義されたキーワードに基づいて事実の不正確さにフラグを立てます。 AWS Lambda 関数を実装して、応答を Amazon Dyna-moDB テーブルからの既知の応答と比較します。
- B
Create a reference dataset with validated question-answer pairs from clinical guidelines. Im-plement output diffing by using Amazon Bedrock Guardrails for response consistency analysis. Use Amazon Bedrock evaluation to detect factual inaccuracies.
使用临床指南中经过验证的问答对创建参考数据集。使用 Amazon Bedrock Guardrails 进行响应一致性分析来实施输出差异。使用 Amazon Bedrock 评估来检测事实错误。
臨床ガイドラインからの検証済みの質問と回答のペアを含む参照データセットを作成します。応答の一貫性分析のために Amazon Bedrock Guardrails を使用して出力の差分を実装します。 Amazon Bedrock の評価を使用して、事実の不正確さを検出します。
- C
Configure Amazon Bedrock Guardrails with custom rules to detect and block potentially hal-lucinated content by identifying specific patterns in the GenAI responses. Use Amazon Sage-Maker Feature Store to maintain a repository of verified clinical guidelines.
使用自定义规则配置 Amazon Bedrock Guardrails,通过识别 GenAI 响应中的特定模式来检测和阻止潜在的迷幻内容。使用 Amazon Sage-Maker Feature Store 维护经过验证的临床指南的存储库。
カスタムルールを使用して Amazon Bedrock Guardrails を設定し、GenAI 応答の特定のパターンを識別することで、幻覚剤の可能性のあるコンテンツを検出してブロックします。 Amazon Sage-Maker Feature Store を使用して、検証済みの臨床ガイドラインのリポジトリを維持します。
- D
Create an Amazon Bedrock automatic model evaluation job with a custom prompt dataset. Set up anomaly detection alarms to identify factual inaccuracies. Implement Amazon SNS notifi-cations when inaccuracies are detected.
使用自定义提示数据集创建 Amazon Bedrock 自动模型评估作业。设置异常检测警报以识别事实错误。当检测到不准确时实施 Amazon SNS 通知。
カスタム プロンプト データセットを使用して Amazon Bedrock 自動モデル評価ジョブを作成します。異常検出アラームを設定して、事実の不正確さを特定します。不正確さが検出された場合は、Amazon SNS 通知を実装します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Create a reference dataset with validated question-answer pairs from clinical guidelines. Im-plement output diffing by using Amazon Bedrock Guardrails for response consistency analysis. Use Amazon Bedrock evaluation to detect factual inaccuracies.
提供的答案选择 B。使用临床指南中经过验证的问答对创建参考数据集。使用 Amazon Bedrock Guardrails 进行响应一致性分析来实施输出差异。使用 Amazon Bedrock 评估来检测事实错误。
提供された回答キーは B を選択します。臨床ガイドラインから検証された質問と回答のペアを含む参照データセットを作成します。応答の一貫性分析のために Amazon Bedrock Guardrails を使用して出力の差分を実装します。 Amazon Bedrock の評価を使用して、事実の不正確さを検出します。
原资料未附讨论;以上为参考答案对应选项。
A company deploys a GenAI application that uses an Amazon Bedrock foundation model (FM) and custom prompts. The company must implement an automated quality assurance system to verify FM outputs against expected responses and detect regressions over time. The solution must compare outputs against more than 500 golden examples by using semantic similarity scoring. The solution must support regularly scheduled test rules. The solution must be able to scale to more than 2,000 test cases within 6 months without the need to make architecture changes. The company wants to generate visualizations for quality metrics. The company must receive alerts if the solution detects quality degradation. Which solution will meet these requirements?
一家公司部署了一个 GenAI 应用程序,该应用程序使用 Amazon Bedrock 基础模型 (FM) 和自定义提示。公司必须实施自动化质量保证系统,以根据预期响应验证 FM 输出并检测一段时间内的回归情况。该解决方案必须使用语义相似度评分将输出与 500 多个黄金示例进行比较。该解决方案必须支持定期安排的测试规则。该解决方案必须能够在 6 个月内扩展到 2,000 多个测试用例,而无需进行架构更改。该公司希望生成质量指标的可视化。如果解决方案检测到质量下降,公司必须收到警报。哪种解决方案可以满足这些要求?
ある企業は、Amazon Bedrock Foundation Model (FM) とカスタム プロンプトを使用する GenAI アプリケーションをデプロイしています。企業は自動品質保証システムを実装して、予想される応答に対して FM 出力を検証し、時間の経過とともに後退を検出する必要があります。このソリューションでは、意味的類似性スコアリングを使用して、出力を 500 を超えるゴールデン サンプルと比較する必要があります。ソリューションは、定期的にスケジュールされたテスト ルールをサポートする必要があります。このソリューションは、アーキテクチャを変更することなく、6 か月以内に 2,000 を超えるテスト ケースに拡張できなければなりません。同社は、品質指標の視覚化を生成したいと考えています。ソリューションが品質の低下を検出した場合、企業はアラートを受け取る必要があります。これらの要件を満たすソリューションはどれですか?
- A
Use Amazon SageMaker Model Monitor to track data drift in the FM. Configure Amazon CloudWatch alarms for drift metrics. Use SageMaker AI processing jobs to run scheduled evalu-ations of FM outputs.
使用 Amazon SageMaker Model Monitor 跟踪 FM 中的数据漂移。为偏差指标配置 Amazon CloudWatch 警报。使用 SageMaker AI 处理作业运行 FM 输出的计划评估。
Amazon SageMaker Model Monitor を使用して、FM 内のデータドリフトを追跡します。ドリフトメトリクスの Amazon CloudWatch アラームを設定します。 SageMaker AI 処理ジョブを使用して、FM 出力のスケジュールされた評価を実行します。
- B
Create AWS Lambda functions that invoke the FM on test cases. Compare results against ex-pected outputs. Configure Amazon EventBridge scheduled rules to run the test executions. Pub-lish custom metrics to Amazon CloudWatch to generate metric visualizations and alarms.
创建在测试用例上调用 FM 的 AWS Lambda 函数。将结果与预期输出进行比较。配置 Amazon EventBridge 计划规则以运行测试执行。将自定义指标发布到 Amazon CloudWatch 以生成指标可视化和警报。
テストケースで FM を呼び出す AWS Lambda 関数を作成します。結果を予想される出力と比較します。テスト実行を実行するように Amazon EventBridge のスケジュールされたルールを設定します。カスタムメトリクスを Amazon CloudWatch に発行して、メトリクスの視覚化とアラームを生成します。
- C
Use AWS Step Functions workflows to run test cases and validate responses. Store the test results in Amazon DynamoDB. Use Amazon CloudWatch dashboards to visualize the results.
使用 AWS Step Functions 工作流程运行测试用例并验证响应。将测试结果存储在 Amazon DynamoDB 中。使用 Amazon CloudWatch 仪表板可视化结果。
AWS Step Functions ワークフローを使用してテストケースを実行し、応答を検証します。テスト結果を Amazon DynamoDB に保存します。 Amazon CloudWatch ダッシュボードを使用して結果を視覚化します。
- D
Configure Amazon CloudWatch Synthetics canaries to invoke the FM APIs. Compare re-sponses with baseline scripts. Create CloudWatch alarms based on canary success rates.
配置 Amazon CloudWatch Synthetics canary 以调用 FM API。将回复与基线脚本进行比较。根据金丝雀成功率创建 CloudWatch 警报。
FM API を呼び出すように Amazon CloudWatch Synthetics Canary を設定します。応答をベースライン スクリプトと比較します。カナリアの成功率に基づいて CloudWatch アラームを作成します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Create AWS Lambda functions that invoke the FM on test cases. Compare results against ex-pected outputs. Configure Amazon EventBridge scheduled rules to run the test executions. Pub-lish custom metrics to Amazon CloudWatch to generate metric visualizations and alarms.
提供的答案选择 B. 创建在测试用例上调用 FM 的 AWS Lambda 函数。将结果与预期输出进行比较。配置 Amazon EventBridge 计划规则以运行测试执行。将自定义指标发布到 Amazon CloudWatch 以生成指标可视化和警报。
提供された回答キーは B を選択します。テスト ケースで FM を呼び出す AWS Lambda 関数を作成します。結果を予想される出力と比較します。テスト実行を実行するように Amazon EventBridge のスケジュールされたルールを設定します。カスタムメトリクスを Amazon CloudWatch に発行して、メトリクスの視覚化とアラームを生成します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company needs to build a zero-touch promotion workflow for a multilingual AI assistant that automatically moves prompt updates from a development environment to a pro-duction environment. The workflow must promote prompt updates only if the updates meet sev- eral criteria. The updates must improve accuracy in all five languages that the AI assistant supports. The up-dates must show lower variance across similar queries than older prompt versions. The updates must pass all regulatory compliance checks for content related to investment risks and fee disclo-sures. The workflow must run inside the company’s existing CI/CD pipeline, support prompt version comparisons, generate auditable evaluation reports, and remain cost-effective over time. Which solution will meet these requirements?
一家金融服务公司需要为多语言人工智能助手构建零接触推广工作流程,自动将即时更新从开发环境转移到生产环境。仅当更新满足多个条件时,工作流程才必须促进及时更新。这些更新必须提高人工智能助手支持的所有五种语言的准确性。与旧的提示版本相比,更新版本必须在类似查询中显示出更低的差异。更新必须通过与投资风险和费用披露相关的内容的所有监管合规性检查。该工作流程必须在公司现有的 CI/CD 管道内运行,支持即时版本比较,生成可审核的评估报告,并随着时间的推移保持成本效益。哪种解决方案可以满足这些要求?
金融サービス会社は、即時更新を開発環境から運用環境に自動的に移動する、多言語 AI アシスタントのゼロタッチ プロモーション ワークフローを構築する必要があります。ワークフローは、更新がいくつかの基準を満たしている場合にのみ、即時更新を促進する必要があります。このアップデートにより、AI アシスタントがサポートする 5 つの言語すべての精度が向上する必要があります。更新では、古いプロンプト バージョンよりも類似したクエリ間の差異が小さくなる必要があります。アップデートは、投資リスクおよび手数料開示に関連するコンテンツに関するすべての規制遵守チェックに合格する必要があります。ワークフローは企業の既存の CI/CD パイプライン内で実行され、迅速なバージョン比較をサポートし、監査可能な評価レポートを生成し、長期にわたってコスト効率を維持する必要があります。これらの要件を満たすソリューションはどれですか?
- A
Use Amazon SageMaker Canvas to visually compare prompt outputs. Create a dashboard to display metrics. Export findings to a document collaboration system to review for regulatory compliance. Schedule weekly meetings between prompt engineers and compliance officers to discuss improvements.
使用 Amazon SageMaker Canvas 直观地比较提示输出。创建仪表板来显示指标。将结果导出到文档协作系统以审查法规遵从性。安排提示工程师和合规官员之间每周举行会议,讨论改进措施。
Amazon SageMaker Canvas を使用して、プロンプト出力を視覚的に比較します。メトリクスを表示するダッシュボードを作成します。調査結果をドキュメント コラボレーション システムにエクスポートして、法規制への準拠を確認します。迅速なエンジニアとコンプライアンス担当者との毎週のミーティングをスケジュールして、改善について話し合います。
- B
Implement prompt version control by using Amazon S3 object versions. Configure AWS Lambda functions to manually score responses. Store evaluation metrics in an Amazon Dyna-moDB table. Build a custom Amazon Quick Sight dashboard to visualize accuracy across lan- guages and product types.
使用 Amazon S3 对象版本实施提示版本控制。配置 AWS Lambda 函数以手动对响应进行评分。将评估指标存储在 Amazon Dyna-moDB 表中。构建自定义 Amazon Quick Sight 仪表板以可视化跨语言和产品类型的准确性。
Amazon S3 オブジェクトのバージョンを使用して、プロンプトのバージョン管理を実装します。応答を手動でスコアリングするように AWS Lambda 関数を設定します。評価メトリクスを Amazon Dyna-moDB テーブルに保存します。カスタム Amazon Quick Sight ダッシュボードを構築して、言語や製品タイプ全体の精度を視覚化します。
- C
Use Amazon Bedrock Prompt Management to implement prompt version control and to per-form A/B testing for prompts. Use Amazon Bedrock Evaluations and LLM-based judges to per-form automated evaluations for accuracy and consistency metrics. Create a flow in Amazon Bed-rock to streamline testing across languages. Integrate the flow with the existing CI/CD pipeline.
使用 Amazon Bedrock Prompt Management 实施提示版本控制并对提示执行 A/B 测试。使用 Amazon Bedrock 评估和基于 LLM 的法官对准确性和一致性指标执行自动评估。在 Amazon Bed-rock 中创建流程以简化跨语言测试。将流程与现有 CI/CD 管道集成。
Amazon Bedrock プロンプト管理を使用して、プロンプトのバージョン管理を実装し、プロンプトの A/B テストを実行します。 Amazon Bedrock 評価と LLM ベースのジャッジを使用して、精度と一貫性のメトリクスの自動評価を実行します。 Amazon Bed-rock でフローを作成し、言語間でのテストを合理化します。フローを既存の CI/CD パイプラインと統合します。
- D
Build a custom evaluation framework that uses AWS Amplify as the frontend and AWS Lambda functions as the backend. Implement crowd- sourcing features in which team members vote on response quality. Use Amazon Comprehend to analyze sentiments in responses and to evaluate for consistency across languages.
构建一个使用 AWS Amplify 作为前端、AWS Lambda 函数作为后端的自定义评估框架。实施众包功能,让团队成员对响应质量进行投票。使用 Amazon Comprehend 分析响应中的情绪并评估跨语言的一致性。
AWS Amplify をフロントエンドとして使用し、AWS Lambda 関数をバックエンドとして使用するカスタム評価フレームワークを構築します。チームメンバーが対応の質について投票するクラウドソーシング機能を実装します。 Amazon Comprehend を使用して、応答内の感情を分析し、言語間での一貫性を評価します。
解析 / Explanation
正确答案 / Answer: C
The supplied answer key selects C. Use Amazon Bedrock Prompt Management to implement prompt version control and to per-form A/B testing for prompts. Use Amazon Bedrock Evaluations and LLM-based judges to per-form automated evaluations for accuracy and consistency metrics. Create a flow in Amazon Bed-rock to streamline testing across languages. Integrate the flow with the existing CI/CD pipeline.
提供的答案选择 C。使用 Amazon Bedrock Prompt Management 实施提示版本控制并对提示执行 A/B 测试。使用 Amazon Bedrock 评估和基于 LLM 的法官对准确性和一致性指标执行自动评估。在 Amazon Bed-rock 中创建流程以简化跨语言测试。将流程与现有 CI/CD 管道集成。
提供された回答キーは C を選択します。Amazon Bedrock プロンプト管理を使用して、プロンプトのバージョン管理を実装し、プロンプトの A/B テストを実行します。 Amazon Bedrock 評価と LLM ベースのジャッジを使用して、精度と一貫性のメトリクスの自動評価を実行します。 Amazon Bed-rock でフローを作成し、言語間でのテストを合理化します。フローを既存の CI/CD パイプラインと統合します。
原资料未附讨论;以上为参考答案对应选项。
A financial company is building an AI-powered recommendation system. The system uses real-time market data and verified internal documents. The system must include evaluation capabili-ties that collect explicit user ratings and detect problematic responses in real time. The system must include evaluation capabilities that track model performance over time and support A/B testing of different prompt or model variants. The system must orchestrate multi-step workflows. The workflows must retrieve trusted knowledge, validate inputs, and generate recommendations. The system must securely store all user feedback, flagged events, and audit logs in a compliance-ready immutable repository. The repository must be write- once, tamper-evident storage that is suitable for regulated audit reten-tion. Which architecture will meet these requirements?
一家金融公司正在构建人工智能驱动的推荐系统。该系统使用实时市场数据和经过验证的内部文件。该系统必须包括收集明确的用户评级并实时检测有问题的响应的评估功能。系统必须包含评估功能,可以跟踪模型随时间的表现并支持不同提示或模型变体的 A/B 测试。系统必须协调多步骤工作流程。工作流程必须检索可信知识、验证输入并生成建议。系统必须将所有用户反馈、标记事件和审核日志安全地存储在合规性就绪的不可变存储库中。存储库必须是一次写入、防篡改的存储,适合受监管的审计保留。哪种架构能够满足这些要求?
金融会社は、AI を活用したレコメンデーション システムを構築しています。このシステムは、リアルタイムの市場データと検証済みの内部文書を使用します。システムには、明示的なユーザー評価を収集し、問題のある応答をリアルタイムで検出する評価機能が含まれている必要があります。システムには、モデルのパフォーマンスを長期にわたって追跡し、さまざまなプロンプトまたはモデルのバリアントの A/B テストをサポートする評価機能が含まれている必要があります。システムは複数ステップのワークフローを調整する必要があります。ワークフローでは、信頼できる知識を取得し、入力を検証し、推奨事項を生成する必要があります。システムは、すべてのユーザー フィードバック、フラグが立てられたイベント、および監査ログを、コンプライアンス対応の不変リポジトリに安全に保存する必要があります。リポジトリは、規制された監査保持に適した、一度だけ書き込み可能な改ざん防止ストレージである必要があります。これらの要件を満たすアーキテクチャはどれでしょうか?
- A
Deploy a fine-tuned FM on Amazon SageMaker JumpStart. Use Amazon Bedrock AgentCore to orchestrate input validation and retrieval workflows. Store user feedback and flagged queries in Amazon DynamoDB. Run scheduled Amazon Athena queries on AWS CloudTrail logs for anomaly detection. Store generated outputs in encrypted Amazon S3 buckets. Enable S3 Object Lock.
在 Amazon SageMaker JumpStart 上部署经过微调的 FM。使用 Amazon Bedrock AgentCore 协调输入验证和检索工作流程。在 Amazon DynamoDB 中存储用户反馈和标记的查询。对 AWS CloudTrail 日志运行计划的 Amazon Athena 查询以进行异常检测。将生成的输出存储在加密的 Amazon S3 存储桶中。启用 S3 对象锁定。
微調整された FM を Amazon SageMaker JumpStart にデプロイします。 Amazon Bedrock AgentCore を使用して、入力検証と取得のワークフローを調整します。ユーザーのフィードバックとフラグ付きクエリを Amazon DynamoDB に保存します。異常検出のために、AWS CloudTrail ログに対してスケジュールされた Amazon Athena クエリを実行します。生成された出力を暗号化された Amazon S3 バケットに保存します。 S3 オブジェクト ロックを有効にします。
- B
Configure Amazon API Gateway to invoke an Amazon Bedrock FM that retrieves from Am-azon Kendra. Store all responses in encrypted Amazon S3 buckets. Enable S3 Object Lock. Use Amazon Macie to scan stored logs for problematic content.
配置 Amazon API Gateway 以调用从 Am-azon Kendra 检索的 Amazon Bedrock FM。将所有响应存储在加密的 Amazon S3 存储桶中。启用 S3 对象锁定。使用 Amazon Macie 扫描存储的日志以查找有问题的内容。
Am-azon Kendra から取得する Amazon Bedrock FM を呼び出すように Amazon API Gateway を設定します。すべての応答を暗号化された Amazon S3 バケットに保存します。 S3 オブジェクト ロックを有効にします。 Amazon Macie を使用して、保存されているログをスキャンして問題のあるコンテンツがないか確認します。
- C
Use Amazon Bedrock AgentCore to orchestrate retrieval from curated Amazon Kendra in-dexes. Configure an AWS Lambda function to sanitize input. Configure a function to check post-generation fact consistency. Configure a function to split traffic for A/B testing. Store user feedback in Amazon DynamoDB. Write audit logs through AWS CloudTrail. Store the logs in Amazon S3. Enable S3 Object Lock. Use Amazon SageMaker Model Monitor to track data drift and output anomalies continuously.
使用 Amazon Bedrock AgentCore 协调从精选的 Amazon Kendra 索引中进行检索。配置 AWS Lambda 函数来清理输入。配置一个函数来检查生成后的事实一致性。配置 A/B 测试流量拆分功能。将用户反馈存储在 Amazon DynamoDB 中。通过 AWS CloudTrail 写入审核日志。将日志存储在 Amazon S3 中。启用 S3 对象锁定。使用 Amazon SageMaker Model Monitor 持续跟踪数据漂移和输出异常。
Amazon Bedrock AgentCore を使用して、厳選された Amazon Kendra のインデックスからの取得を調整します。入力をサニタイズするように AWS Lambda 関数を設定します。生成後のファクトの一貫性をチェックする関数を構成します。 A/B テスト用にトラフィックを分割する機能を構成します。ユーザーのフィードバックを Amazon DynamoDB に保存します。 AWS CloudTrail を通じて監査ログを書き込みます。ログを Amazon S3 に保存します。 S3 オブジェクト ロックを有効にします。 Amazon SageMaker Model Monitor を使用して、データドリフトを追跡し、異常を継続的に出力します。
- D
Build an Amazon Lex chat-based AI assistant with aliases that route a percentage of queries to two Amazon SageMaker AI endpoints for recommendations. Log interactions to Amazon CloudWatch Logs. Conduct quarterly manual audits for hallucination and prompt-injection de- tection. Store feedback in Amazon RDS with encryption.
使用别名构建基于聊天的 Amazon Lex AI 助手,将一定比例的查询路由到两个 Amazon SageMaker AI 终端节点以获取建议。将交互记录到 Amazon CloudWatch Logs。每季度对幻觉和即时注射检测进行手动审核。通过加密将反馈存储在 Amazon RDS 中。
レコメンデーションのためにクエリの一部を 2 つの Amazon SageMaker AI エンドポイントにルーティングするエイリアスを使用して、Amazon Lex チャットベースの AI アシスタントを構築します。インタラクションを Amazon CloudWatch Logs に記録します。幻覚と即時注射の検出のために四半期ごとに手動監査を実施します。フィードバックを暗号化して Amazon RDS に保存します。
解析 / Explanation
正确答案 / Answer: C
The supplied answer key selects C. Use Amazon Bedrock AgentCore to orchestrate retrieval from curated Amazon Kendra in-dexes. Configure an AWS Lambda function to sanitize input. Configure a function to check post-generation fact consistency. Configure a function to split traffic for A/B testing. Store user feedback in Amazon DynamoDB. Write audit logs through AWS CloudTrail. Store the logs in Amazon S3. Enable S3 Object Lock. Use Amazon SageMaker Model Monitor to track data drift and output anomalies continuously.
提供的答案选择 C。使用 Amazon Bedrock AgentCore 协调从精选的 Amazon Kendra 索引中进行检索。配置 AWS Lambda 函数来清理输入。配置一个函数来检查生成后的事实一致性。配置 A/B 测试流量拆分功能。将用户反馈存储在 Amazon DynamoDB 中。通过 AWS CloudTrail 写入审核日志。将日志存储在 Amazon S3 中。启用 S3 对象锁定。使用 Amazon SageMaker Model Monitor 持续跟踪数据漂移和输出异常。
提供された回答キーは C を選択します。 Amazon Bedrock AgentCore を使用して、厳選された Amazon Kendra のインデックスからの取得を調整します。入力をサニタイズするように AWS Lambda 関数を設定します。生成後のファクトの一貫性をチェックする関数を構成します。 A/B テスト用にトラフィックを分割する機能を構成します。ユーザーのフィードバックを Amazon DynamoDB に保存します。 AWS CloudTrail を通じて監査ログを書き込みます。ログを Amazon S3 に保存します。 S3 オブジェクト ロックを有効にします。 Amazon SageMaker Model Monitor を使用して、データドリフトを追跡し、異常を継続的に出力します。
原资料未附讨论;以上为参考答案对应选项。
A retail company has a product recommendation system that uses a foundation model (FM) in Amazon Bedrock. The system processes and searches millions of product embeddings that are updated hourly. The company regularly adds new products. During peak shopping events, the current solution experiences high latency and occasional fail-ures when the system performs similarity searches across the product catalog. The company must resolve the performance issues. Which solution will meet this requirement?
一家零售公司拥有一个使用 Amazon Bedrock 中的基础模型 (FM) 的产品推荐系统。该系统处理和搜索数百万个每小时更新的产品嵌入。该公司定期添加新产品。在购物高峰期间,当系统在产品目录中执行相似性搜索时,当前的解决方案会遇到高延迟和偶尔失败的情况。公司必须解决绩效问题。哪种解决方案可以满足这个要求?
小売会社には、Amazon Bedrock の基盤モデル (FM) を使用した製品推奨システムがあります。このシステムは、毎時間更新される何百万もの製品埋め込みを処理および検索します。同社は定期的に新製品を追加します。現在のソリューションでは、ピーク時のショッピング イベント中に、システムが製品カタログ全体で類似性検索を実行するときに、待ち時間が長くなり、場合によっては障害が発生します。会社はパフォーマンスの問題を解決する必要があります。この要件を満たすソリューションはどれですか?
- A
Implement Amazon OpenSearch Service with a multi-node architecture. Configure vector-specific index settings and memory circuit breakers. Establish dedicated vector operation queues to handle surge capacity during peak usage events.
使用多节点架构实施 Amazon OpenSearch Service。配置特定于向量的索引设置和内存断路器。建立专用矢量操作队列来处理高峰使用事件期间的激增容量。
マルチノード アーキテクチャを使用して Amazon OpenSearch Service を実装します。ベクトル固有のインデックス設定とメモリ サーキット ブレーカーを構成します。専用のベクトル操作キューを確立して、使用量のピーク時のサージ容量を処理します。
- B
Deploy an Amazon DynamoDB table that uses sparse vector compression. Implement parallel query executors to handle search operations. Configure DynamoDB Streams and AWS Lambda functions to maintain the vector index in real time.
部署使用稀疏矢量压缩的 Amazon DynamoDB 表。实现并行查询执行器来处理搜索操作。配置 DynamoDB Streams 和 AWS Lambda 函数以实时维护向量索引。
スパースベクトル圧縮を使用する Amazon DynamoDB テーブルをデプロイします。検索操作を処理するために並列クエリ エグゼキューターを実装します。 DynamoDB Streams と AWS Lambda 関数を設定して、ベクター インデックスをリアルタイムで維持します。
- C
Set up an Amazon Bedrock knowledge base that uses custom vector partitioning. Implement hierarchical metadata structures. Integrate the knowledge base with Amazon EventBridge to provide synchronized catalog updates and to generate vectors.
设置使用自定义矢量分区的 Amazon Bedrock 知识库。实施分层元数据结构。将知识库与 Amazon EventBridge 集成,以提供同步目录更新并生成向量。
カスタムベクトルパーティショニングを使用する Amazon Bedrock ナレッジベースをセットアップします。階層的なメタデータ構造を実装します。ナレッジベースを Amazon EventBridge と統合して、同期されたカタログ更新を提供し、ベクトルを生成します。
- D
Deploy an Amazon Neptune cluster with specialized vector endpoints. Configure custom similarity computation functions. Use the Neptune bulk loader API to manage vector updates across the product catalog.
部署具有专用矢量终端节点的 Amazon Neptune 集群。配置自定义相似度计算函数。使用 Neptune 批量加载器 API 管理整个产品目录中的矢量更新。
特殊なベクトルエンドポイントを備えた Amazon Neptune クラスターをデプロイします。カスタム類似度計算関数を構成します。 Neptune バルク ローダー API を使用して、製品カタログ全体のベクター更新を管理します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Implement Amazon OpenSearch Service with a multi-node architecture. Configure vector-specific index settings and memory circuit breakers. Establish dedicated vector operation queues to handle surge capacity during peak usage events.
提供的答案选择 A。使用多节点架构实施 Amazon OpenSearch Service。配置特定于向量的索引设置和内存断路器。建立专用矢量操作队列来处理高峰使用事件期间的激增容量。
提供された回答キーは A を選択します。マルチノード アーキテクチャで Amazon OpenSearch Service を実装します。ベクトル固有のインデックス設定とメモリ サーキット ブレーカーを構成します。専用のベクトル操作キューを確立して、使用量のピーク時のサージ容量を処理します。
原资料未附讨论;以上为参考答案对应选项。
A healthcare company is developing an application that processes sensitive patient data and gen-erates treatment summaries by using a foundation model (FM). The application must maintain an audit trail of all prompts and completions. The application must securely handle protected health information (PHI) data throughout the processing lifecycle. The company must track all prompt-completion pairs with original patient data, but the company must redact any PHI from stored records. The company must enforce healthcare-specific data retention policies. Which solution will meet these requirements?
一家医疗保健公司正在开发一种应用程序,该应用程序可以使用基础模型 (FM) 处理敏感患者数据并生成治疗摘要。应用程序必须维护所有提示和完成的审核跟踪。应用程序必须在整个处理生命周期中安全地处理受保护的健康信息 (PHI) 数据。公司必须跟踪所有提示完成对与原始患者数据,但公司必须从存储的记录中编辑任何 PHI。公司必须执行医疗保健特定的数据保留政策。哪种解决方案可以满足这些要求?
医療会社は、基礎モデル (FM) を使用して機密患者データを処理し、治療概要を生成するアプリケーションを開発しています。アプリケーションは、すべてのプロンプトと完了の監査証跡を維持する必要があります。アプリケーションは、処理ライフサイクル全体を通じて保護された医療情報 (PHI) データを安全に処理する必要があります。企業は、元の患者データを含むすべてのプロンプト完了ペアを追跡する必要がありますが、保管されている記録から PHI を編集する必要があります。企業は医療固有のデータ保持ポリシーを施行する必要があります。これらの要件を満たすソリューションはどれですか?
- A
Store prompt-completion pairs in Amazon S3 and enable default server-side encryption. De-ploy an AWS Lambda function that scans records by using Amazon Comprehend Medical. Con-figure the Lambda function to delete PHI data after a required retention period.
将提示-完成对存储在 Amazon S3 中并启用默认服务器端加密。部署 AWS Lambda 函数,使用 Amazon Comprehend Medical 扫描记录。配置 Lambda 函数以在所需的保留期后删除 PHI 数据。
プロンプトと完了のペアを Amazon S3 に保存し、デフォルトのサーバー側暗号化を有効にします。 Amazon Comprehend Medical を使用してレコードをスキャンする AWS Lambda 関数をデプロイします。必要な保存期間が経過した後に PHI データを削除するように Lambda 関数を設定します。
- B
Use Amazon Bedrock Prompt Management and Amazon Bedrock Flows to detect PHI. Con-figure Amazon Bedrock Guardrails to use sensitive information filters to mask PHI automatical-ly. Store logs in Amazon S3 and configure appropriate retention settings.
使用 Amazon Bedrock Prompt Management 和 Amazon Bedrock Flows 检测 PHI。配置 Amazon Bedrock Guardrails 以使用敏感信息过滤器自动屏蔽 PHI。将日志存储在 Amazon S3 中并配置适当的保留设置。
Amazon Bedrock Prompt Management と Amazon Bedrock Flows を使用して PHI を検出します。機密情報フィルターを使用して PHI を自動的にマスクするように Amazon Bedrock Guardrails を設定します。ログを Amazon S3 に保存し、適切な保持設定を構成します。
- C
Store prompt-completion pairs in Amazon S3. Configure S3 Object Lock in compliance mode. Apply tag-based S3 Lifecycle policies to PHI data. Configure an AWS Lambda function to re-dact patient information after the application processes the data.
将提示-完成对存储在 Amazon S3 中。在合规模式下配置 S3 对象锁定。将基于标签的 S3 生命周期策略应用于 PHI 数据。配置 AWS Lambda 函数以在应用程序处理数据后重新记录患者信息。
プロンプトと完了のペアを Amazon S3 に保存します。 S3 オブジェクト ロックをコンプライアンス モードで設定します。タグベースの S3 ライフサイクル ポリシーを PHI データに適用します。アプリケーションがデータを処理した後に患者情報を再編集するように AWS Lambda 関数を設定します。
- D
Store patient data in an Amazon Bedrock knowledge base. Use Amazon Comprehend Medi-cal to identify PHI. Configure an AWS Lambda function to manage data retention according to healthcare policies.
将患者数据存储在 Amazon Bedrock 知识库中。使用 Amazon Comprehend Medical 识别 PHI。配置 AWS Lambda 函数以根据医疗保健策略管理数据保留。
患者データを Amazon Bedrock ナレッジベースに保存します。 Amazon Comprehend Medi-cal を使用して PHI を特定します。医療ポリシーに従ってデータ保持を管理するように AWS Lambda 関数を構成します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Use Amazon Bedrock Prompt Management and Amazon Bedrock Flows to detect PHI. Con-figure Amazon Bedrock Guardrails to use sensitive information filters to mask PHI automatical-ly. Store logs in Amazon S3 and configure appropriate retention settings.
提供的答案选择 B。使用 Amazon Bedrock Prompt Management 和 Amazon Bedrock Flows 检测 PHI。配置 Amazon Bedrock Guardrails 以使用敏感信息过滤器自动屏蔽 PHI。将日志存储在 Amazon S3 中并配置适当的保留设置。
提供された回答キーは B を選択します。Amazon Bedrock Prompt Management と Amazon Bedrock Flows を使用して PHI を検出します。機密情報フィルターを使用して PHI を自動的にマスクするように Amazon Bedrock Guardrails を設定します。ログを Amazon S3 に保存し、適切な保持設定を構成します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company runs an AI application that uses Amazon Bedrock foundation models (FMs) to generate personalized investment recommendations based on customer docu-ments. The AI application processes customer portfolios, financial statements, and regulatory documentation to create personalized recommendations. The company is experiencing inconsistent model performance because of poor data quality. Some documents contain personally identifiable information (PII) that the company must redact. Other documents contain formatting inconsistencies that confuse the FMs. The company needs a solu-tion that ensures consistent, high-quality inputs to optimize FM. The solution must comply with financial regulations and PII handling policies. Which solution will meet these requirements with the LEAST operational overhead?
一家金融服务公司运行一个 AI 应用程序,该应用程序使用 Amazon Bedrock 基础模型 (FM) 根据客户文档生成个性化投资建议。人工智能应用程序处理客户投资组合、财务报表和监管文件以创建个性化建议。由于数据质量差,该公司面临模型性能不一致的问题。某些文档包含公司必须编辑的个人身份信息 (PII)。其他文档包含格式不一致的情况,令 FM 感到困惑。该公司需要一种解决方案来确保一致、高质量的输入来优化 FM。该解决方案必须符合财务法规和 PII 处理政策。哪种解决方案能够以最少的运营开销满足这些要求?
金融サービス会社は、Amazon Bedrock Foundation Model (FM) を使用して、顧客の文書に基づいてパーソナライズされた投資推奨事項を生成する AI アプリケーションを実行しています。 AI アプリケーションは、顧客のポートフォリオ、財務諸表、規制文書を処理して、パーソナライズされた推奨事項を作成します。同社は、データ品質が低いため、モデルのパフォーマンスに一貫性がないことが発生しています。一部の文書には、企業が編集する必要がある個人を特定できる情報 (PII) が含まれています。他の文書には、FM を混乱させる書式の不一致が含まれています。同社は、FM を最適化するために、一貫した高品質の入力を保証するソリューションを必要としています。ソリューションは金融規制と PII 処理ポリシーに準拠する必要があります。運用オーバーヘッドを最小限に抑えながらこれらの要件を満たすソリューションはどれですか?
- A
Use Amazon Macie to automatically detect and redact PII. Use AWS Lambda functions and Amazon Textract to enforce standard document formatting. Create dynamic prompts that adapt to individual document schemas to improve model consistency.
使用 Amazon Macie 自动检测和编辑 PII。使用 AWS Lambda 函数和 Amazon Textract 强制执行标准文档格式。创建适应各个文档模式的动态提示以提高模型一致性。
Amazon Macie を使用して、PII を自動的に検出して編集します。 AWS Lambda 関数と Amazon Textract を使用して、標準のドキュメント形式を適用します。モデルの一貫性を向上させるために、個々のドキュメント スキーマに適応する動的なプロンプトを作成します。
- B
Use Amazon Comprehend to detect PII by using custom entity recognition. Use AWS Step Functions to orchestrate document preprocessing workflows. Use prompt templates with condi-tional logic to handle schema variations effectively.
使用 Amazon Comprehend 通过自定义实体识别来检测 PII。使用 AWS Step Functions 编排文档预处理工作流程。使用带有条件逻辑的提示模板来有效地处理模式变化。
Amazon Comprehend を使用して、カスタムエンティティ認識を使用して PII を検出します。 AWS Step Functions を使用して、ドキュメントの前処理ワークフローを調整します。条件付きロジックを備えたプロンプト テンプレートを使用して、スキーマのバリエーションを効果的に処理します。
- C
Use Amazon Bedrock Guardrails to filter out PII during inference. Use pre-processing AWS Lambda functions to standardized document formatting. Use few-shot prompting techniques and standardized examples to improve model performance across document types.
使用 Amazon Bedrock Guardrails 在推理过程中过滤掉 PII。使用预处理 AWS Lambda 函数来标准化文档格式。使用少量提示技术和标准化示例来提高跨文档类型的模型性能。
Amazon Bedrock Guardrails を使用して、推論中に PII をフィルタリングして除外します。前処理 AWS Lambda 関数を使用して、ドキュメントの書式を標準化します。数ショット プロンプト手法と標準化された例を使用して、ドキュメント タイプ全体でモデルのパフォーマンスを向上させます。
- D
Use Amazon Textract to analyze document structures and extract text. Use Amazon Compre-hend to detect PII and analyze sentiment. Design prompt engineering strategies that use struc-tured metadata to improve FM reasoning and reduce hallucinations.
使用 Amazon Textract 分析文档结构并提取文本。使用 Amazon Compre-hend 检测 PII 并分析情绪。设计提示工程策略,使用结构化元数据来改进 FM 推理并减少幻觉。
Amazon Textract を使用してドキュメント構造を分析し、テキストを抽出します。 Amazon Compre-hend を使用して PII を検出し、感情を分析します。構造化メタデータを使用して、FM 推論を改善し、幻覚を軽減する迅速なエンジニアリング戦略を設計します。
解析 / Explanation
正确答案 / Answer: C
The supplied answer key selects C. Use Amazon Bedrock Guardrails to filter out PII during inference. Use pre-processing AWS Lambda functions to standardized document formatting. Use few-shot prompting techniques and standardized examples to improve model performance across document types.
提供的答案选择 C。在推理过程中使用 Amazon Bedrock Guardrails 过滤掉 PII。使用预处理 AWS Lambda 函数来标准化文档格式。使用少量提示技术和标准化示例来提高跨文档类型的模型性能。
提供された回答キーは C を選択します。推論中に Amazon Bedrock Guardrails を使用して PII をフィルターで除外します。前処理 AWS Lambda 関数を使用して、ドキュメントの書式を標準化します。数ショット プロンプト手法と標準化された例を使用して、ドキュメント タイプ全体でモデルのパフォーマンスを向上させます。
原资料未附讨论;以上为参考答案对应选项。
A global company uses an organization in AWS Organizations to manage 25 AWS accounts. The company’s products have 50,000 daily user interactions. The company is using Amazon Bedrock AgentCore to build an AI assistant. The AI assistant must access customer data that is stored in multiple AWS accounts across sever-al business units. The AI assistant needs to perform actions on behalf of specific users by query-ing Amazon DynamoDB tables that contain customer information in each business unit's AWS account. Each business unit maintains its own AWS account that hosts its own DynamoDB ta-bles. The company must enforce strict data access security boundaries and must collect full audit trails that show which user’s credentials are used to perform each action. The solution must allow the AgentCore application to access resources across multiple accounts while preserving user identity context. The solution must support the company’s plan to expand to more than 40 AWS accounts in the next year. Which solution will meet these requirements with the LEAST operational overhead?
一家跨国公司使用 AWS Organizations 中的一个组织来管理 25 个 AWS 账户。该公司的产品每天有 50,000 次用户互动。该公司正在使用 Amazon Bedrock AgentCore 构建 AI 助手。 AI 助手必须访问存储在多个业务部门的多个 AWS 账户中的客户数据。 AI 助手需要通过查询包含每个业务部门 AWS 账户中客户信息的 Amazon DynamoDB 表来代表特定用户执行操作。每个业务部门都维护自己的 AWS 账户,用于托管自己的 DynamoDB 表。公司必须执行严格的数据访问安全边界,并且必须收集完整的审计跟踪,以显示执行每项操作所使用的用户凭据。该解决方案必须允许 AgentCore 应用程序跨多个帐户访问资源,同时保留用户身份上下文。该解决方案必须支持该公司明年扩展到 40 多个 AWS 账户的计划。哪种解决方案能够以最少的运营开销满足这些要求?
あるグローバル企業は、AWS Organizations の組織を使用して 25 の AWS アカウントを管理しています。同社の製品には毎日 50,000 件のユーザー インタラクションがあります。同社は Amazon Bedrock AgentCore を使用して AI アシスタントを構築しています。 AI アシスタントは、複数のビジネスユニットにわたる複数の AWS アカウントに保存されている顧客データにアクセスする必要があります。 The AI assistant needs to perform actions on behalf of specific users by query-ing Amazon DynamoDB tables that contain customer information in each business unit's AWS account.各ビジネスユニットは、独自の DynamoDB テーブルをホストする独自の AWS アカウントを維持します。 The company must enforce strict data access security boundaries and must collect full audit trails that show which user’s credentials are used to perform each action.このソリューションでは、ユーザー ID コンテキストを維持しながら、AgentCore アプリケーションが複数のアカウントにわたってリソースにアクセスできるようにする必要があります。このソリューションは、来年中に 40 を超える AWS アカウントに拡大するという同社の計画をサポートする必要があります。運用オーバーヘッドを最小限に抑えながらこれらの要件を満たすソリューションはどれですか?
- A
Configure the AI assistant to use an outbound credential provider that runs AssumeRole op-erations to dynamically obtain temporary credentials so the AI assistant can access resources across accounts. Create an IAM role in each business unit account that has a trust relationship to the AI assistant’s execution role and permissions to access the DynamoDB tables. Ensure that AssumeRole calls include session tags to identify the end user.
将 AI 助手配置为使用运行 AssumeRole 操作的出站凭据提供程序来动态获取临时凭据,以便 AI 助手可以跨帐户访问资源。在每个业务部门账户中创建一个 IAM 角色,该角色与 AI 助手的执行角色和访问 DynamoDB 表的权限具有信任关系。确保 AssumeRole 调用包含会话标记以识别最终用户。
Configure the AI assistant to use an outbound credential provider that runs AssumeRole op-erations to dynamically obtain temporary credentials so the AI assistant can access resources across accounts. Create an IAM role in each business unit account that has a trust relationship to the AI assistant’s execution role and permissions to access the DynamoDB tables. AssumeRole 呼び出しには、エンド ユーザーを識別するためのセッション タグが含まれていることを確認してください。
- B
Create a separate AI assistant in each business unit account. Deploy an Amazon API Gateway REST API that runs request routing logic. Create AWS Lambda authorizers to direct user queries to the appropriate AI assistant based on the customer’s business unit identifier from the request context.
在每个业务部门账户中创建一个单独的人工智能助手。部署运行请求路由逻辑的 Amazon API Gateway REST API。创建 AWS Lambda 授权方,根据请求上下文中的客户业务部门标识符将用户查询引导至适当的 AI 助手。
各ビジネス ユニット アカウントに個別の AI アシスタントを作成します。リクエストルーティングロジックを実行する Amazon API Gateway REST API をデプロイします。 Create AWS Lambda authorizers to direct user queries to the appropriate AI assistant based on the customer’s business unit identifier from the request context.
- C
Use AWS Resource Access Manager (AWS RAM) to share the DynamoDB tables from each business unit account to a central account where the AI assistant runs. Configure AWS RAM permissions to allow cross-account access to the DynamoDB tables. Grant the AgentCore execu- tion role permissions to access the shared resources directly.
使用 AWS Resource Access Manager (AWS RAM) 将每个业务部门账户中的 DynamoDB 表共享到运行 AI 助手的中央账户。配置 AWS RAM 权限以允许跨账户访问 DynamoDB 表。授予 AgentCore 执行角色直接访问共享资源的权限。
Use AWS Resource Access Manager (AWS RAM) to share the DynamoDB tables from each business unit account to a central account where the AI assistant runs. DynamoDB テーブルへのクロスアカウント アクセスを許可するように AWS RAM アクセス許可を設定します。 AgentCore 実行ロールに、共有リソースに直接アクセスする権限を付与します。
- D
Configure SCPs for the organization to explicitly allow the AI assistant’s execution role prin-cipal to perform dynamodb:Getltem and dynamodb:Query actions across all member accounts. Configure the AI assistant to reference cross-account DynamoDB table ARNs directly in their resource definitions.
为组织配置 SCP,以明确允许 AI 助手的执行角色主体在所有成员帐户中执行 dynamodb:Getltem 和 dynamodb:Query 操作。配置 AI 助手以直接在其资源定义中引用跨账户 DynamoDB 表 ARN。
Configure SCPs for the organization to explicitly allow the AI assistant’s execution role prin-cipal to perform dynamodb:Getltem and dynamodb:Query actions across all member accounts.リソース定義でクロスアカウント DynamoDB テーブル ARN を直接参照するように AI アシスタントを設定します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Configure the AI assistant to use an outbound credential provider that runs AssumeRole op-erations to dynamically obtain temporary credentials so the AI assistant can access resources across accounts. Create an IAM role in each business unit account that has a trust relationship to the AI assistant’s execution role and permissions to access the DynamoDB tables. Ensure that AssumeRole calls include session tags to identify the end user.
提供的答案选择 A。将 AI 助手配置为使用运行 AssumeRole 操作的出站凭据提供程序来动态获取临时凭据,以便 AI 助手可以跨帐户访问资源。在每个业务部门账户中创建一个 IAM 角色,该角色与 AI 助手的执行角色和访问 DynamoDB 表的权限具有信任关系。确保 AssumeRole 调用包含会话标记以识别最终用户。
The supplied answer key selects A. Configure the AI assistant to use an outbound credential provider that runs AssumeRole op-erations to dynamically obtain temporary credentials so the AI assistant can access resources across accounts. Create an IAM role in each business unit account that has a trust relationship to the AI assistant’s execution role and permissions to access the DynamoDB tables. AssumeRole 呼び出しには、エンド ユーザーを識別するためのセッション タグが含まれていることを確認してください。
原资料未附讨论;以上为参考答案对应选项。
A hospital is building an AI application to help medical clinicians to make treatment decisions. The application uses Amazon Bedrock to analyze patient case histories and suggest diagnoses. The application must maintain sub-500 ms response times to integrate with the hospital’s existing real-time clinical workflow. To comply with privacy regulations, the application must log all per-sonally identifiable information (PII) handling decisions for audits. The application must detect and remove PII from responses with at least 99% accuracy. After initial deployment, clinicians report that diagnostic summaries from the application occa-sionally include patient names and medical record numbers that were not present in the original case history inputs. An investigation reveals that Amazon Comprehend Medical successfully de- tects and removes PII from inputs with 95% accuracy, and the application replaces all detected entities with tokens before it sends inputs to Amazon Bedrock. However, the application contin-ues to generate patient-identifying information in approximately 3-5% of outputs. The company needs a solution to prevent the application from displaying PII in outputs while meeting all other operational requirements. Which solution will meet these requirements?
一家医院正在构建人工智能应用程序来帮助临床医生做出治疗决策。该应用程序使用 Amazon Bedrock 分析患者病史并提出诊断建议。应用程序必须保持低于 500 毫秒的响应时间,才能与医院现有的实时临床工作流程集成。为了遵守隐私法规,应用程序必须记录所有个人身份信息 (PII) 处理决策以供审核。应用程序必须以至少 99% 的准确度从响应中检测并删除 PII。初步部署后,临床医生报告说,应用程序的诊断摘要有时会包含原始病史输入中不存在的患者姓名和病历编号。一项调查显示,Amazon Comprehend Medical 成功检测并从输入中删除 PII,准确率高达 95%,并且该应用程序在将输入发送到 Amazon Bedrock 之前用令牌替换所有检测到的实体。然而,该应用程序继续在大约 3-5% 的输出中生成患者识别信息。该公司需要一种解决方案来防止应用程序在输出中显示 PII,同时满足所有其他操作要求。哪种解决方案可以满足这些要求?
ある病院は、臨床医による治療の決定を支援する AI アプリケーションを構築しています。このアプリケーションは Amazon Bedrock を使用して患者の病歴を分析し、診断を提案します。病院の既存のリアルタイム臨床ワークフローと統合するには、アプリケーションは 500 ミリ秒未満の応答時間を維持する必要があります。プライバシー規制を遵守するには、アプリケーションは監査のために個人を特定できる情報 (PII) を扱う決定をすべて記録する必要があります。アプリケーションは、応答から PII を少なくとも 99% の精度で検出して削除する必要があります。最初の導入後、臨床医は、アプリケーションからの診断概要に、元の病歴入力には存在しなかった患者名や医療記録番号が含まれる場合があると報告しています。調査の結果、Amazon Comprehend Medical は入力から PII を 95% の精度で検出して削除することに成功し、アプリケーションは入力を Amazon Bedrock に送信する前に、検出されたすべてのエンティティをトークンに置き換えることが明らかになりました。ただし、アプリケーションは出力の約 3 ~ 5% で患者を識別する情報を生成し続けます。同社は、他のすべての運用要件を満たしながら、アプリケーションが出力に PII を表示しないようにするソリューションを必要としています。これらの要件を満たすソリューションはどれですか?
- A
Configure Amazon Bedrock guardrails with sensitive information filters to detect and block PII in model outputs.
使用敏感信息过滤器配置 Amazon Bedrock 护栏,以检测和阻止模型输出中的 PII。
機密情報フィルターを使用して Amazon Bedrock ガードレールを構成し、モデル出力内の PII を検出してブロックします。
- B
Implement a secondary PII detection layer by using regular expressions and custom entity recognition to detect identifiers that Amazon Comprehend Medical misses before sending inputs to Amazon Bedrock.
通过使用正则表达式和自定义实体识别来实现辅助 PII 检测层,以检测 Amazon Comprehend Medical 在将输入发送到 Amazon Bedrock 之前遗漏的标识符。
正規表現とカスタムエンティティ認識を使用してセカンダリ PII 検出レイヤーを実装し、Amazon Bedrock に入力を送信する前に Amazon Comprehend Medical が見逃した識別子を検出します。
- C
Remove detailed medical context from case histories during pre-processing to prevent the model from generating patient-specific information based on clinical pattern associations.
在预处理期间从病例历史中删除详细的医疗背景,以防止模型根据临床模式关联生成患者特定信息。
モデルが臨床パターンの関連性に基づいて患者固有の情報を生成しないように、前処理中に症例履歴から詳細な医療コンテキストを削除します。
- D
Enable session isolation in Amazon Bedrock API calls. Clear conversation history between requests to prevent patient information from persisting across multiple case analyses.
在 Amazon Bedrock API 调用中启用会话隔离。清除请求之间的对话历史记录,以防止患者信息在多个病例分析中持续存在。
Amazon Bedrock API 呼び出しでセッション分離を有効にします。リクエスト間の会話履歴をクリアして、複数のケース分析にわたって患者情報が保持されるのを防ぎます。
解析 / Explanation
正确答案 / Answer: A
A and D are good answers. But I select a because of the ask "prevent the application from displaying PII in outputs while meeting all other
operational requirements." Amazon Bedrock guardrails does that.
A 和 D 是很好的答案。但我选择了一个,因为有人问“防止应用程序在输出中显示 PII,同时满足所有其他要求”
操作要求。”亚马逊基岩护栏可以做到这一点。
A と D は良い答えです。ただし、「他のすべての条件を満たしている間、アプリケーションが出力に PII を表示しないようにする」という質問のため、私は a を選択します。
運用要件。」 Amazon Bedrock ガードレールがそれを実現します。
原始讨论(英文,仅供参考)
Selected Answer: A
A and D are good answers. But I select a because of the ask "prevent the application from displaying PII in outputs while meeting all other
operational requirements." Amazon Bedrock guardrails does that.
upvoted 1 times
A company is designing a GenAI solution to help children between the ages of 8 and 14 understand world history. The system must support concurrent use for up to 30 children in a classroom and provide responses in less than 1 second. The company is using Amazon Bedrock and Amazon Nova Pro with a knowledge base that contains history textbooks that are written for students between the ages of 6 and 21. The company uses an Amazon Bedrock flow to ensure that the solution uses the knowledge base to generate every response. The company sets the prompt response temperature to 0.7. Early testing of the solution results in some responses that are historically inaccurate, violent, and not appropriate for children. A GenAI developer must prevent the solution from responding to prompts inaccurately and inappropriately. Which solution will meet this requirement?
一家公司正在设计 GenAI 解决方案,帮助 8 至 14 岁的儿童了解世界历史。该系统必须支持教室中最多 30 名儿童同时使用,并在 1 秒内提供响应。该公司正在使用 Amazon Bedrock 和 Amazon Nova Pro 以及知识库,其中包含为 6 至 21 岁学生编写的历史教科书。该公司使用 Amazon Bedrock 流程来确保解决方案使用知识库生成每个响应。该公司将即时响应温度设定为0.7。对该解决方案的早期测试会导致一些反应历史上不准确、暴力且不适合儿童。 GenAI 开发人员必须防止解决方案对提示做出不准确和不恰当的响应。哪种解决方案可以满足这个要求?
ある企業は、8 歳から 14 歳までの子供たちが世界の歴史を理解できるようにする GenAI ソリューションを設計しています。このシステムは、教室内で最大 30 人の児童の同時使用をサポートし、1 秒以内に応答を提供する必要があります。同社は、6 歳から 21 歳までの学生向けに書かれた歴史教科書を含むナレッジベースとともに、Amazon Bedrock と Amazon Nova Pro を使用しています。同社は Amazon Bedrock フローを使用して、ソリューションがナレッジベースを使用してすべての応答を生成することを保証します。同社は即時応答温度を0.7に設定している。解決策を早期にテストすると、歴史的に不正確で、暴力的で、子供にとって不適切な反応がいくつか得られます。 GenAI 開発者は、ソリューションがプロンプトに不正確かつ不適切に応答することを防止する必要があります。この要件を満たすソリューションはどれですか?
- A
Increase the inference temperature in the flow. Add a node to the flow after the initial response that calls the Amazon Nova model to remove any violence from the response. Return the result of the model call.
提高流程中的推理温度。在初始响应之后向流程添加一个节点,调用 Amazon Nova 模型以消除响应中的任何暴力行为。返回模型调用的结果。
流れ内の推論温度を上げます。初期応答の後に Amazon Nova モデルを呼び出すノードをフローに追加して、応答から暴力を削除します。モデル呼び出しの結果を返します。
- B
Configure Amazon Bedrock guardrails for the model responses by using content filters. Set the content filter strength high and set the guardrail action to block. Add the guardrail to the flow. Reduce the inference temperature in the flow.
使用内容过滤器为模型响应配置 Amazon Bedrock 护栏。将内容过滤强度设置为高并将护栏动作设置为阻止。将护栏添加到流程中。降低流程中的推理温度。
コンテンツフィルターを使用して、モデル応答用の Amazon Bedrock ガードレールを設定します。コンテンツ フィルターの強度を高く設定し、ガードレール アクションをブロックに設定します。ガードレールをフローに追加します。流れ内の推論温度を下げます。
- C
Use Amazon Bedrock Data Automation with a custom output that removes all violent content from the knowledge base. Increase the inference temperature in the flow.
将 Amazon Bedrock Data Automation 与自定义输出结合使用,从知识库中删除所有暴力内容。提高流程中的推理温度。
ナレッジベースからすべての暴力的なコンテンツを削除するカスタム出力で Amazon Bedrock Data Automation を使用します。流れ内の推論温度を上げます。
- D
Configure Amazon Bedrock guardrails for the prompts by using content filters. Set the content filter strength to high and set the guardrail action to block. Add the guardrail to the flow. Reduce the inference temperature in the flow.
使用内容过滤器为提示配置 Amazon Bedrock 护栏。将内容过滤强度设置为高,并将护栏动作设置为阻止。将护栏添加到流程中。降低流程中的推理温度。
コンテンツフィルターを使用して、プロンプトの Amazon Bedrock ガードレールを設定します。コンテンツ フィルターの強度を高く設定し、ガードレール アクションをブロックに設定します。ガードレールをフローに追加します。流れ内の推論温度を下げます。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Configure Amazon Bedrock guardrails for the model responses by using content filters. Set the content filter strength high and set the guardrail action to block. Add the guardrail to the flow. Reduce the inference temperature in the flow.
提供的答案键选择 B。使用内容过滤器为模型响应配置 Amazon Bedrock 护栏。将内容过滤强度设置为高并将护栏动作设置为阻止。将护栏添加到流程中。降低流程中的推理温度。
提供された回答キーは B を選択します。コンテンツフィルターを使用してモデル応答の Amazon Bedrock ガードレールを設定します。コンテンツ フィルターの強度を高く設定し、ガードレール アクションをブロックに設定します。ガードレールをフローに追加します。流れ内の推論温度を下げます。
原资料未附讨论;以上为参考答案对应选项。
A legal research company is developing an AI-powered chat assistant that uses Amazon Bedrock with a knowledge base that contains millions of legal documents. When attorneys search for legal case precedents, the initial retrieval returns many documents. The company wants the chat assistant to generate all responses within 3 seconds. The foundation model (FM) that the chat assistant uses has a context window limitation that allows effective processing for only 10 documents for each query. Currently, the retrieval configuration fetches 50 documents by using semantic search. Attorneys report that highly relevant precedents frequently appear in positions 15-40 of the results. The company needs a solution to improve the relevance of query results. The solution must meet the company's latency and context window constraints. Which solution will meet these requirements?
一家法律研究公司正在开发一款人工智能聊天助手,该助手使用 Amazon Bedrock 以及包含数百万份法律文档的知识库。当律师搜索法律判例时,最初的检索会返回许多文档。该公司希望聊天助手能够在 3 秒内生成所有回复。聊天助手使用的基础模型 (FM) 具有上下文窗口限制,每次查询只能有效处理 10 个文档。目前,检索配置通过使用语义搜索获取 50 个文档。律师报告称,高度相关的先例经常出现在结果的第 15-40 位中。该公司需要一种解决方案来提高查询结果的相关性。该解决方案必须满足公司的延迟和上下文窗口限制。哪种解决方案可以满足这些要求?
法律調査会社は、Amazon Bedrock と数百万の法的文書を含むナレッジベースを使用する、AI を活用したチャットアシスタントを開発しています。弁護士が判例を検索すると、最初の検索で多くの文書が返されます。同社は、チャット アシスタントがすべての応答を 3 秒以内に生成することを望んでいます。チャット アシスタントが使用する基盤モデル (FM) には、クエリごとに 10 ドキュメントのみを効果的に処理できるコンテキスト ウィンドウの制限があります。現在、取得構成はセマンティック検索を使用して 50 個のドキュメントをフェッチします。弁護士らは、関連性の高い判例が結果の 15 ~ 40 位に頻繁に現れると報告しています。同社は、クエリ結果の関連性を向上させるソリューションを必要としています。ソリューションは、企業のレイテンシとコンテキスト ウィンドウの制約を満たす必要があります。これらの要件を満たすソリューションはどれですか?
- A
Maintain the 50-document retrieval but increase the FM's temperature parameter. Implement prompt engineering techniques that instruct the model to identify the most relevant documents from the full result set before the model generates responses.
维持 50 个文档检索,但增加 FM 的温度参数。实施即时工程技术,指示模型在模型生成响应之前从完整结果集中识别最相关的文档。
50 ドキュメントの検索を維持しますが、FM の温度パラメータを増加します。モデルが応答を生成する前に、完全な結果セットから最も関連性の高いドキュメントを特定するようにモデルに指示するプロンプト エンジニアリング手法を実装します。
- B
Enable reranking on the knowledge base by using a reranker model with language-specific configurations. Configure the chat assistant to initially retrieve 50 documents. Use the reranker model's cross-encoder architecture to evaluate query-document pairs. Return only the top 10 highest-scored documents.
通过使用具有特定于语言的配置的重新排序模型,可以对知识库进行重新排序。将聊天助手配置为最初检索 50 个文档。使用重排序模型的交叉编码器架构来评估查询-文档对。仅返回得分最高的前 10 个文档。
言語固有の構成を備えたリランカー モデルを使用して、ナレッジ ベースでの再ランキングを有効にします。最初に 50 個のドキュメントを取得するようにチャット アシスタントを構成します。リランカー モデルのクロス エンコーダー アーキテクチャを使用して、クエリとドキュメントのペアを評価します。スコアの最も高い上位 10 個のドキュメントのみを返します。
- C
Configure three separate knowledge bases. Configure one knowledge base to use 500 token chunks, another to use 1,000 token chunks, and the third to use 2,000 token chunks. Implement a pre-processing action group by using an AWS Lambda function that retrieves 50 documents from each knowledge base, merges the 150 total results, and uses term frequency - inverse document frequency (TF-IDF) scoring to select the top 10 documents.
配置三个独立的知识库。配置一个知识库使用 500 个令牌块,另一个知识库使用 1,000 个令牌块,第三个知识库使用 2,000 个令牌块。使用 AWS Lambda 函数实施预处理操作组,该函数从每个知识库检索 50 个文档,合并 150 个总结果,并使用术语频率 - 逆文档频率 (TF-IDF) 评分来选择前 10 个文档。
3 つの個別のナレッジ ベースを構成します。 1 つのナレッジ ベースは 500 トークン チャンクを使用するように構成し、別のナレッジ ベースは 1,000 トークン チャンクを使用するように構成し、3 番目のナレッジ ベースは 2,000 トークン チャンクを使用するように構成します。 AWS Lambda 関数を使用して前処理アクション グループを実装します。この関数は、各ナレッジ ベースから 50 個のドキュメントを取得し、合計 150 個の結果をマージし、用語頻度 - 逆ドキュメント頻度 (TF-IDF) スコアリングを使用して上位 10 個のドキュメントを選択します。
- D
Implement a post-processing action group by using an AWS Lambda function that retrieves 50 documents and calculates cosine similarity scores between the query embedding and each document embedding by using Amazon Titan Embeddings. Configure the action group to sort by similarity score and return the top 10 documents.
使用 AWS Lambda 函数实现后处理操作组,该函数检索 50 个文档,并使用 Amazon Titan Embeddings 计算查询嵌入和每个文档嵌入之间的余弦相似度得分。配置操作组以按相似度分数排序并返回前 10 个文档。
AWS Lambda 関数を使用して後処理アクション グループを実装します。この関数は 50 個のドキュメントを取得し、Amazon Titan 埋め込みを使用してクエリの埋め込みと各ドキュメントの埋め込みの間のコサイン類似性スコアを計算します。類似性スコアで並べ替え、上位 10 個のドキュメントを返すようにアクション グループを構成します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Enable reranking on the knowledge base by using a reranker model with language-specific configurations. Configure the chat assistant to initially retrieve 50 documents. Use the reranker model's cross-encoder architecture to evaluate query-document pairs. Return only the top 10 highest-scored documents.
提供的答案键选择 B。通过使用具有特定于语言的配置的重新排序模型来启用知识库重新排序。将聊天助手配置为最初检索 50 个文档。使用重排序模型的交叉编码器架构来评估查询-文档对。仅返回得分最高的前 10 个文档。
提供された回答キーは B を選択します。言語固有の構成を持つリランカー モデルを使用して、ナレッジ ベースでの再ランキングを有効にします。最初に 50 個のドキュメントを取得するようにチャット アシスタントを構成します。リランカー モデルのクロス エンコーダー アーキテクチャを使用して、クエリとドキュメントのペアを評価します。スコアの最も高い上位 10 個のドキュメントのみを返します。
原资料未附讨论;以上为参考答案对应选项。
A multinational healthcare company is building a GenAI solution to analyze patient medical records and clinical trial data to identify treatment patterns and generate research insights. Some of the countries where the company operates require the company to store patient data on premises within each country. The solution must provide low-latency, AI-assisted diagnostics for remote clinics around the world. The solution must use cloud-based foundation models (FMs) to perform advanced, large-scale analytics. The company needs a solution that ensures data residency, delivers sub-100 ms inference at clinics, and supports consistent development workflows across hybrid environments. Which solution will meet these requirements with the LEAST operational overhead?
一家跨国医疗保健公司正在构建 GenAI 解决方案来分析患者病历和临床试验数据,以识别治疗模式并生成研究见解。该公司开展业务的一些国家/地区要求该公司在每个国家/地区的场所存储患者数据。该解决方案必须为世界各地的远程诊所提供低延迟的人工智能辅助诊断。该解决方案必须使用基于云的基础模型 (FM) 来执行高级、大规模分析。该公司需要一种解决方案,确保数据驻留、在诊所提供低于 100 毫秒的推理,并支持跨混合环境的一致开发工作流程。哪种解决方案能够以最少的运营开销满足这些要求?
多国籍医療企業は、患者の医療記録と臨床試験データを分析して治療パターンを特定し、研究上の洞察を生成する GenAI ソリューションを構築しています。同社が事業を展開している一部の国では、患者データを各国内の施設に保管することが求められています。このソリューションは、世界中の遠隔診療所に低遅延の AI 支援診断を提供する必要があります。このソリューションでは、クラウドベースの基盤モデル (FM) を使用して、高度な大規模分析を実行する必要があります。同社は、データの常駐性を確保し、クリニックで 100 ミリ秒未満の推論を実現し、ハイブリッド環境全体で一貫した開発ワークフローをサポートするソリューションを必要としています。運用オーバーヘッドを最小限に抑えながらこれらの要件を満たすソリューションはどれですか?
- A
Use AWS Global Accelerator to reduce latency for remote clinics. Replicate on-premises patient data to Amazon S3 by using AWS DataSync. Process all model requests through a centralized inference endpoint that is hosted in one AWS Region.
使用 AWS Global Accelerator 减少远程诊所的延迟。使用 AWS DataSync 将本地患者数据复制到 Amazon S3。通过一个 AWS 区域中托管的集中式推理终端节点处理所有模型请求。
AWS Global Accelerator を使用して、遠隔診療所のレイテンシーを短縮します。 AWS DataSync を使用して、オンプレミスの患者データを Amazon S3 にレプリケートします。 1 つの AWS リージョンでホストされている一元化された推論エンドポイントを通じて、すべてのモデルリクエストを処理します。
- B
Deploy open source FMs on Amazon EC2 instances in each country to comply with data residency requirements. Store patient data locally on Amazon EBS volumes. Use AWS Systems Manager to manage model updates across countries. Manually export aggregated research insights as CSV files to Amazon S3 buckets in each AWS Region to perform cross-country analysis.
在每个国家/地区的 Amazon EC2 实例上部署开源 FM,以符合数据驻留要求。将患者数据本地存储在 Amazon EBS 卷上。使用 AWS Systems Manager 管理跨国家/地区的模型更新。将聚合的研究见解以 CSV 文件形式手动导出到每个 AWS 区域中的 Amazon S3 存储桶,以执行跨国分析。
データ常駐要件に準拠するために、各国の Amazon EC2 インスタンスにオープンソース FM をデプロイします。患者データを Amazon EBS ボリュームにローカルに保存します。 AWS Systems Manager を使用して、国を超えたモデルの更新を管理します。集計された調査の洞察を CSV ファイルとして各 AWS リージョンの Amazon S3 バケットに手動でエクスポートし、国をまたいだ分析を実行します。
- C
Deploy FMs in multiple AWS Regions on Amazon EC2 GPU instances. Replicate patient data from on-premises systems to the cloud. Centralize model training and inference.
在 Amazon EC2 GPU 实例上的多个 AWS 区域中部署 FM。将患者数据从本地系统复制到云端。集中模型训练和推理。
Amazon EC2 GPU インスタンス上の複数の AWS リージョンに FM をデプロイします。患者データをオンプレミス システムからクラウドに複製します。モデルのトレーニングと推論を一元化します。
- D
Use AWS Outposts to process and store sensitive on-premises patient data in countries that have data residency requirements. Deploy AWS Wavelength at remote clinics to perform real-time inference.
使用 AWS Outposts 在有数据驻留要求的国家/地区处理和存储敏感的本地患者数据。在远程诊所部署 AWS Wavelength 以执行实时推理。
AWS Outposts を使用して、データ常駐要件がある国で機密のオンプレミス患者データを処理および保存します。 AWS Wavelength を遠隔診療所にデプロイして、リアルタイム推論を実行します。
解析 / Explanation
正确答案 / Answer: D
The supplied answer key selects D. Use AWS Outposts to process and store sensitive on-premises patient data in countries that have data residency requirements. Deploy AWS Wavelength at remote clinics to perform real-time inference.
提供的答案选择 D。使用 AWS Outposts 在有数据驻留要求的国家/地区处理和存储敏感的本地患者数据。在远程诊所部署 AWS Wavelength 以执行实时推理。
提供された回答キーは D を選択します。データ常駐要件がある国で機密のオンプレミス患者データを処理および保存するには、AWS Outposts を使用します。 AWS Wavelength を遠隔診療所にデプロイして、リアルタイム推論を実行します。
原资料未附讨论;以上为参考答案对应选项。
A global company runs an AI-powered document-processing pipeline that uses Amazon Bedrock to summarize text documents. The pipeline occasionally times out during peak traffic periods. The timeouts cause service degradation. The company needs a solution to detect when error rates exceed 10% within any 60-second window. The solution must switch to an alternate process path when the error rate threshold is exceeded. The solution must automatically resume normal Amazon Bedrock processing when the pipeline recovers. The company must ensure that the pipeline processes all documents within 15 minutes. Which solution will meet these requirements?
一家跨国公司运行一个由 AI 驱动的文档处理管道,该管道使用 Amazon Bedrock 来汇总文本文档。在高峰流量期间,管道偶尔会超时。超时会导致服务降级。该公司需要一种解决方案来检测任何 60 秒窗口内错误率何时超过 10%。当超过错误率阈值时,解决方案必须切换到备用进程路径。当管道恢复时,解决方案必须自动恢复正常的 Amazon Bedrock 处理。公司必须确保管道在 15 分钟内处理完所有文档。哪种解决方案可以满足这些要求?
ある世界的企業は、Amazon Bedrock を使用してテキスト文書を要約する AI を活用した文書処理パイプラインを実行しています。トラフィックのピーク時にパイプラインがタイムアウトになることがあります。タイムアウトはサービスの低下を引き起こします。同社は、60 秒以内にエラー率が 10% を超えた場合にそれを検出するソリューションを必要としています。エラー率のしきい値を超えた場合、ソリューションは代替プロセス パスに切り替える必要があります。ソリューションは、パイプラインが回復したときに、通常の Amazon Bedrock 処理を自動的に再開する必要があります。企業は、パイプラインがすべてのドキュメントを 15 分以内に処理することを保証する必要があります。これらの要件を満たすソリューションはどれですか?
- A
Configure an AWS Step Functions workflow that implements a circuit breaker pattern by tracking Amazon Bedrock invocation failures in Amazon DynamoDB. Configure the workflow to route processing jobs between normal and alternate processing paths based on the current failure state.
配置 AWS Step Functions 工作流程,通过跟踪 Amazon DynamoDB 中的 Amazon Bedrock 调用失败来实施断路器模式。配置工作流以根据当前故障状态在正常处理路径和备用处理路径之间路由处理作业。
Amazon DynamoDB で Amazon Bedrock 呼び出しの失敗を追跡することで、サーキット ブレーカー パターンを実装する AWS Step Functions ワークフローを設定します。現在の障害状態に基づいて、通常の処理パスと代替処理パスの間で処理ジョブをルーティングするようにワークフローを構成します。
- B
Configure an AWS Step Functions workflow that uses an AWS Lambda function to poll Amazon CloudWatch metrics for Amazon Bedrock. Store error rate metrics in Amazon DynamoDWhen the error rate exceeds 10%, instruct company staff to manually update the workflow to divert traffic to the alternate processing path.
配置 AWS Step Functions 工作流程,该工作流程使用 AWS Lambda 函数轮询 Amazon Bedrock 的 Amazon CloudWatch 指标。将错误率指标存储在 Amazon DynamoD 中,当错误率超过 10% 时,指示公司员工手动更新工作流程,将流量转移到备用处理路径。
AWS Lambda 関数を使用して Amazon Bedrock の Amazon CloudWatch メトリクスをポーリングする AWS Step Functions ワークフローを設定します。エラー率メトリクスを Amazon DynamoD に保存するエラー率が 10% を超えた場合は、ワークフローを手動で更新してトラフィックを代替処理パスに迂回するように会社のスタッフに指示します。
- C
Configure an AWS Step Functions state machine that includes a Task state to implement Retry/Catch logic for Amazon Bedrock calls. Configure an Amazon CloudWatch alarm that triggers an Amazon EventBridge rule to direct traffic from the state machine to the alternate processing path when the error rate exceeds 10%.
配置包含任务状态的 AWS Step Functions 状态机,以实现 Amazon Bedrock 调用的重试/捕获逻辑。配置 Amazon CloudWatch 警报,以在错误率超过 10% 时触发 Amazon EventBridge 规则,将流量从状态机引导至备用处理路径。
Amazon Bedrock 呼び出しの再試行/キャッチ ロジックを実装するタスク状態を含む AWS Step Functions ステートマシンを設定します。エラー率が 10% を超えた場合にトラフィックをステートマシンから代替処理パスに転送するように Amazon EventBridge ルールをトリガーする Amazon CloudWatch アラームを設定します。
- D
Deploy multiple identical AWS Step Functions state machines that use multiple Amazon Bedrock models behind an Amazon API Gateway API. Use a custom health check AWS Lambda function to route requests to whichever state machine responds fastest.
部署多个相同的 AWS Step Functions 状态机,这些状态机在 Amazon API Gateway API 后面使用多个 Amazon Bedrock 模型。使用自定义运行状况检查 AWS Lambda 函数将请求路由到响应最快的状态机。
Amazon API Gateway API の背後で複数の Amazon Bedrock モデルを使用する複数の同一の AWS Step Functions ステートマシンをデプロイします。カスタムヘルスチェック AWS Lambda 関数を使用して、最も速く応答するステートマシンにリクエストをルーティングします。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Configure an AWS Step Functions workflow that implements a circuit breaker pattern by tracking Amazon Bedrock invocation failures in Amazon DynamoDB. Configure the workflow to route processing jobs between normal and alternate processing paths based on the current failure state.
提供的答案选择 A。配置 AWS Step Functions 工作流程,通过跟踪 Amazon DynamoDB 中的 Amazon Bedrock 调用失败来实施断路器模式。配置工作流以根据当前故障状态在正常处理路径和备用处理路径之间路由处理作业。
提供された回答キーは A を選択します。Amazon DynamoDB で Amazon Bedrock 呼び出しの失敗を追跡することでサーキット ブレーカー パターンを実装する AWS Step Functions ワークフローを設定します。現在の障害状態に基づいて、通常の処理パスと代替処理パスの間で処理ジョブをルーティングするようにワークフローを構成します。
原资料未附讨论;以上为参考答案对应选项。
A media company needs to automatically generate searchable metadata for a video library that contains 10,000 hours of content. Each video includes visual scenes, spoken dialogue, background music, and on-screen text. The company needs a solution to extract scene descriptions, speaker transcripts with timestamps, text overlay content, and emotional context from each video. The output must synchronize all metadata types with one another and create a searchable index. Users must be able to search based on any metadata type and jump directly to a specific moment in each video. What solution will meet these requirements?
一家媒体公司需要为包含 10,000 小时内容的视频库自动生成可搜索元数据。每个视频都包括视觉场景、口头对话、背景音乐和屏幕文本。该公司需要一个解决方案来从每个视频中提取场景描述、带有时间戳的演讲者文字记录、文本覆盖内容和情感背景。输出必须使所有元数据类型彼此同步并创建可搜索索引。用户必须能够根据任何元数据类型进行搜索并直接跳转到每个视频中的特定时刻。什么解决方案可以满足这些要求?
メディア企業は、10,000 時間のコンテンツを含むビデオ ライブラリの検索可能なメタデータを自動的に生成する必要があります。各ビデオには、視覚的なシーン、会話、BGM、画面上のテキストが含まれています。同社は、各ビデオからシーンの説明、タイムスタンプ付きの話者のトランスクリプト、テキスト オーバーレイ コンテンツ、感情的なコンテキストを抽出するソリューションを必要としています。出力では、すべてのメタデータ タイプを相互に同期し、検索可能なインデックスを作成する必要があります。ユーザーは、あらゆるメタデータ タイプに基づいて検索し、各ビデオの特定の瞬間に直接ジャンプできなければなりません。これらの要件を満たすソリューションは何でしょうか?
- A
Create an Amazon SageMaker AI processing job that extracts video frames at regular intervals. Use Amazon Transcribe to process audio and perform speech-to-text conversions. Use an Anthropic Claude model in Amazon Bedrock to process frames individually to produce multimodal scene analyses. Store outputs in separate Amazon S3 buckets that are organized by content type.
创建一个 Amazon SageMaker AI 处理作业,定期提取视频帧。使用 Amazon Transcribe 处理音频并执行语音到文本的转换。使用 Amazon Bedrock 中的 Anthropic Claude 模型单独处理帧以生成多模式场景分析。将输出存储在按内容类型组织的单独 Amazon S3 存储桶中。
ビデオフレームを定期的に抽出する Amazon SageMaker AI 処理ジョブを作成します。 Amazon Transcribe を使用して音声を処理し、音声からテキストへの変換を実行します。 Amazon Bedrock の Anthropic Claude モデルを使用してフレームを個別に処理し、マルチモーダルなシーン分析を生成します。コンテンツタイプごとに編成された個別の Amazon S3 バケットに出力を保存します。
- B
Create an Amazon SageMaker AI processing job that extracts video frames at fixed intervals and attaches timestamps. Use Amazon Transcribe with time markers enabled to process audio. Use an Anthropic Claude model in Amazon Bedrock to analyze frame-transcript pairs. Store outputs in a unified JSON structure that preserves temporal relationships.
创建一个 Amazon SageMaker AI 处理作业,以固定间隔提取视频帧并附加时间戳。使用启用了时间标记的 Amazon Transcribe 来处理音频。使用 Amazon Bedrock 中的 Anthropic Claude 模型来分析帧转录对。将输出存储在保留时间关系的统一 JSON 结构中。
一定の間隔でビデオフレームを抽出し、タイムスタンプを添付する Amazon SageMaker AI 処理ジョブを作成します。タイムマーカーを有効にして Amazon Transcribe を使用して音声を処理します。 Amazon Bedrock の Anthropic Claude モデルを使用して、フレームと転写のペアを分析します。一時的な関係を保持する統合された JSON 構造に出力を保存します。
- C
Create an Amazon SageMaker AI parallel processing job that is orchestrated by a SageMaker AI pipeline. Configure multiple steps in the pipeline to extract video segments, process audio streams by using Amazon Transcribe, analyze video frames by using Amazon Rekognition to detect text in scenes, use Amazon Comprehend to perform sentiment analysis, and store unified metadata in Amazon DynamoDB with time- based partitioning.
创建由 SageMaker AI 管道编排的 Amazon SageMaker AI 并行处理作业。在管道中配置多个步骤以提取视频片段,使用 Amazon Transcribe 处理音频流,使用 Amazon Rekognition 分析视频帧以检测场景中的文本,使用 Amazon Comprehend 执行情感分析,并通过基于时间的分区将统一元数据存储在 Amazon DynamoDB 中。
SageMaker AI パイプラインによって調整される Amazon SageMaker AI 並列処理ジョブを作成します。パイプラインに複数のステップを設定して、ビデオセグメントの抽出、Amazon Transcribe を使用したオーディオストリームの処理、Amazon Rekognition を使用したビデオフレームの分析によるシーン内のテキストの検出、Amazon Comprehend によるセンチメント分析の実行、および時間ベースのパーティショニングによる Amazon DynamoDB への統合メタデータの保存を行います。
- D
Create an Amazon SageMaker AI processing job that configures Anthropic Claude Opus in Amazon Bedrock to produce a comprehensive multimodal analysis for each video. Configure the processing job to extract metadata by using a single inference request and to index results in Amazon OpenSearch Service to provide temporal search capabilities.
创建一个 Amazon SageMaker AI 处理作业,在 Amazon Bedrock 中配置 Anthropic Claude Opus,为每个视频生成全面的多模态分析。配置处理作业以使用单个推理请求提取元数据,并在 Amazon OpenSearch Service 中对结果建立索引以提供临时搜索功能。
Amazon Bedrock で Anthropic Claude Opus を設定する Amazon SageMaker AI 処理ジョブを作成して、各ビデオの包括的なマルチモーダル分析を生成します。単一の推論リクエストを使用してメタデータを抽出し、Amazon OpenSearch Service で結果にインデックスを付けて一時的な検索機能を提供するように処理ジョブを設定します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Create an Amazon SageMaker AI processing job that extracts video frames at fixed intervals and attaches timestamps. Use Amazon Transcribe with time markers enabled to process audio. Use an Anthropic Claude model in Amazon Bedrock to analyze frame-transcript pairs. Store outputs in a unified JSON structure that preserves temporal relationships.
提供的答案选择 B。创建一个 Amazon SageMaker AI 处理作业,以固定间隔提取视频帧并附加时间戳。使用启用了时间标记的 Amazon Transcribe 来处理音频。使用 Amazon Bedrock 中的 Anthropic Claude 模型来分析帧转录对。将输出存储在保留时间关系的统一 JSON 结构中。
提供された回答キーは B を選択します。固定間隔でビデオフレームを抽出し、タイムスタンプを添付する Amazon SageMaker AI 処理ジョブを作成します。タイムマーカーを有効にして Amazon Transcribe を使用して音声を処理します。 Amazon Bedrock の Anthropic Claude モデルを使用して、フレームと転写のペアを分析します。一時的な関係を保持する統合された JSON 構造に出力を保存します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company is developing a GenAI application that needs to analyze data across multiple AWS accounts by using a foundation model (FM). The data and application are in Amazon S3 buckets in three separate accounts. Account A contains transaction data. Account B contains customer profiles, including personally identifiable information (PII). Account C hosts the GenAI application. The company plans to add data sources from seven more business units within the next few months. The company must have strict control over PII data. The company must ensure that the FM accesses only necessary data fields. The company needs a solution to establish secure cross-account access for the GenAI application. Which solution will meet these requirements?
一家金融服务公司正在开发 GenAI 应用程序,该应用程序需要使用基础模型 (FM) 分析多个 AWS 账户的数据。数据和应用程序位于三个独立账户的 Amazon S3 存储桶中。账户A包含交易数据。帐户 B 包含客户资料,包括个人身份信息 (PII)。账户 C 托管 GenAI 应用程序。该公司计划在未来几个月内添加来自另外七个业务部门的数据源。公司必须严格控制 PII 数据。公司必须确保 FM 仅访问必要的数据字段。该公司需要一个解决方案来为 GenAI 应用程序建立安全的跨账户访问。哪种解决方案可以满足这些要求?
金融サービス会社は、基盤モデル (FM) を使用して複数の AWS アカウントにわたるデータを分析する必要がある GenAI アプリケーションを開発しています。データとアプリケーションは、3 つの別々のアカウントの Amazon S3 バケットにあります。アカウント A にはトランザクション データが含まれています。アカウント B には、個人を特定できる情報 (PII) を含む顧客プロファイルが含まれています。アカウント C は GenAI アプリケーションをホストします。同社は、今後数か月以内にさらに 7 つの事業部門からのデータ ソースを追加する予定です。企業は PII データを厳密に管理する必要があります。企業は、FM が必要なデータ フィールドのみにアクセスするようにする必要があります。同社は、GenAI アプリケーションへの安全なクロスアカウント アクセスを確立するソリューションを必要としています。これらの要件を満たすソリューションはどれですか?
- A
Use AWS Identity Center to create a permission set for the FM service account. Configure resource-based policies on each S3 bucket to allow specific access to Account C. Deploy a custom AWS Lambda authorizer to filter PII data before passing it to the FM.
使用 AWS Identity Center 为 FM 服务账户创建权限集。在每个 S3 存储桶上配置基于资源的策略,以允许对账户 C 进行特定访问。部署自定义 AWS Lambda 授权方以在将 PII 数据传递到 FM 之前对其进行过滤。
AWS Identity Center を使用して、FM サービス アカウントの権限セットを作成します。各 S3 バケットにリソースベースのポリシーを設定して、アカウント C への特定のアクセスを許可します。カスタム AWS Lambda オーソライザーをデプロイして、PII データを FM に渡す前にフィルタリングします。
- B
Configure Amazon Bedrock cross-account IAM roles. Create role-based access policies in each source account that allow access only for specific S3 bucket paths. Apply tagbased access controls on S3 objects to classify and control access to PII data.
配置 Amazon Bedrock 跨账户 IAM 角色。在每个源账户中创建基于角色的访问策略,仅允许访问特定的 S3 存储桶路径。对 S3 对象应用基于标签的访问控制,以分类和控制对 PII 数据的访问。
Amazon Bedrock のクロスアカウント IAM ロールを設定します。特定の S3 バケット パスへのアクセスのみを許可するロールベースのアクセス ポリシーを各ソース アカウントに作成します。 S3 オブジェクトにタグベースのアクセス制御を適用して、PII データへのアクセスを分類および制御します。
- C
Set up AWS Lake Formation in each source account. Register the S3 buckets with Lake Formation. Create IAM roles in each source account that have permissions to access specific S3 bucket paths. Configure Lake Formation permissions to allow access only to specific data columns by using Lake Formation tag-based access controls. Use Amazon SageMaker AI to deploy the FM with an execution role in Account C that can assume the cross-account IAM roles to access the data through Lake Formation.
在每个源账户中设置 AWS Lake Formation。向 Lake Formation 注册 S3 存储桶。在每个有权访问特定 S3 存储桶路径的源账户中创建 IAM 角色。使用 Lake Formation 基于标记的访问控制将 Lake Formation 权限配置为仅允许访问特定数据列。使用 Amazon SageMaker AI 在账户 C 中部署具有执行角色的 FM,该角色可以承担跨账户 IAM 角色以通过 Lake Formation 访问数据。
各ソースアカウントで AWS Lake Formation をセットアップします。 S3 バケットを Lake Formation に登録します。特定の S3 バケット パスにアクセスする権限を持つ各ソース アカウントに IAM ロールを作成します。 Lake Formation タグベースのアクセス制御を使用して、特定のデータ列へのアクセスのみを許可するように Lake Formation のアクセス許可を構成します。 Amazon SageMaker AI を使用して、Lake Formation 経由でデータにアクセスするためのクロスアカウント IAM ロールを引き受けることができるアカウント C の実行ロールで FM をデプロイします。
- D
Configure resource-based policies on S3 buckets in each source account to allow access from the GenAI application in Account C. Configure identity-based policies for the FM's service role that allow access only to specific data columns by using AWS Lake Formation tag- based access controls. Set up a VPC endpoint in each account to provide secure cross-account access.
在每个源账户中的 S3 存储桶上配置基于资源的策略,以允许从账户 C 中的 GenAI 应用程序进行访问。为 FM 的服务角色配置基于身份的策略,仅允许使用基于 AWS Lake Formation 标签的访问控制访问特定数据列。在每个账户中设置一个 VPC 终端节点以提供安全的跨账户访问。
各ソースアカウントの S3 バケットにリソースベースのポリシーを設定して、アカウント C の GenAI アプリケーションからのアクセスを許可します。 AWS Lake Formation タグベースのアクセス制御を使用して、特定のデータ列へのアクセスのみを許可する FM のサービスロールの ID ベースのポリシーを設定します。各アカウントに VPC エンドポイントを設定して、安全なクロスアカウント アクセスを提供します。
解析 / Explanation
正确答案 / Answer: C
The supplied answer key selects C. Set up AWS Lake Formation in each source account. Register the S3 buckets with Lake Formation. Create IAM roles in each source account that have permissions to access specific S3 bucket paths. Configure Lake Formation permissions to allow access only to specific data columns by using Lake Formation tag-based access controls. Use Amazon SageMaker AI to deploy the FM with an execution role in Account C that can assume the cross-account IAM roles to access the data through Lake Formation.
提供的答案选择 C。在每个源账户中设置 AWS Lake Formation。向 Lake Formation 注册 S3 存储桶。在每个有权访问特定 S3 存储桶路径的源账户中创建 IAM 角色。使用 Lake Formation 基于标记的访问控制将 Lake Formation 权限配置为仅允许访问特定数据列。使用 Amazon SageMaker AI 在账户 C 中部署具有执行角色的 FM,该角色可以承担跨账户 IAM 角色以通过 Lake Formation 访问数据。
提供された回答キーは C を選択します。各ソース アカウントで AWS Lake Formation をセットアップします。 S3 バケットを Lake Formation に登録します。特定の S3 バケット パスにアクセスする権限を持つ各ソース アカウントに IAM ロールを作成します。 Lake Formation タグベースのアクセス制御を使用して、特定のデータ列へのアクセスのみを許可するように Lake Formation のアクセス許可を構成します。 Amazon SageMaker AI を使用して、Lake Formation 経由でデータにアクセスするためのクロスアカウント IAM ロールを引き受けることができるアカウント C の実行ロールで FM をデプロイします。
原资料未附讨论;以上为参考答案对应选项。
A logistics company is building an agentic GenAI-powered solution to automate freight optimization. The solution must retrieve data in real time from multiple internal and external systems. The solution must include a human-in-the-loop approval step before the optimization process is finished. The solution must support modular growth as the number of integrations and amount of logic increases. Which solution will meet these requirements with the LEAST operational overhead?
一家物流公司正在构建由 GenAI 驱动的代理解决方案,以实现货运优化的自动化。该解决方案必须从多个内部和外部系统实时检索数据。在优化过程完成之前,解决方案必须包括人机交互审批步骤。随着集成数量和逻辑数量的增加,解决方案必须支持模块化增长。哪种解决方案能够以最少的运营开销满足这些要求?
ある物流会社は、貨物の最適化を自動化するための GenAI を活用したエージェント ソリューションを構築しています。ソリューションは、複数の内部および外部システムからリアルタイムでデータを取得する必要があります。ソリューションには、最適化プロセスが完了する前に、人間参加型の承認ステップを含める必要があります。ソリューションは、統合の数とロジックの量が増加するにつれて、モジュールの拡張をサポートする必要があります。運用オーバーヘッドを最小限に抑えながらこれらの要件を満たすソリューションはどれですか?
- A
Use an Amazon SageMaker AI endpoint that hosts a large language model (LLM) that directly calls all internal databases and external APIs. Use a custom web application that provides a UI to implement the human-in-the-loop review step.
使用托管大型语言模型 (LLM) 的 Amazon SageMaker AI 终端节点,该模型可直接调用所有内部数据库和外部 API。使用提供 UI 的自定义 Web 应用程序来实施人工参与审核步骤。
すべての内部データベースと外部 API を直接呼び出す大規模言語モデル (LLM) をホストする Amazon SageMaker AI エンドポイントを使用します。 UI を提供するカスタム Web アプリケーションを使用して、人間参加型のレビュー手順を実装します。
- B
Build a hierarchical system by using the Strands Agents SDK and Amazon Bedrock AgentCore. Configure a coordinating agent to delegate tasks to multiple specialized agents. Use MCP to facilitate inter-agent messaging. Use AWS Step Functions to implement a human-in-the-loop approval step.
使用 Strands Agents SDK 和 Amazon Bedrock AgentCore 构建分层系统。配置协调代理以将任务委派给多个专门代理。使用 MCP 促进代理间消息传递。使用 AWS Step Functions 实施人工参与审批步骤。
Strands Agents SDK と Amazon Bedrock AgentCore を使用して階層システムを構築します。複数の専門エージェントにタスクを委任するように調整エージェントを構成します。 MCP を使用してエージェント間のメッセージングを容易にします。 AWS Step Functions を使用して、人間参加型の承認ステップを実装します。
- C
Use AWS Glue to aggregate operational data into Amazon S3. Use Amazon Athena to query the data. Invoke an AWS Lambda function to generate route assignments. Use Amazon SNS to send notifications to supervisor agents.
使用 AWS Glue 将运营数据聚合到 Amazon S3 中。使用 Amazon Athena 查询数据。调用 AWS Lambda 函数来生成路由分配。使用 Amazon SNS 向主管代理发送通知。
AWS Glue を使用して運用データを Amazon S3 に集約します。 Amazon Athena を使用してデータをクエリします。 AWS Lambda 関数を呼び出してルート割り当てを生成します。 Amazon SNS を使用してスーパーバイザ エージェントに通知を送信します。
- D
Use a single Amazon Bedrock AgentCore agent with AWS Lambda based tools to integrate with all internal and external systems. Use AWS Step Functions to orchestrate the approval workflow.
使用单个 Amazon Bedrock AgentCore 代理与基于 AWS Lambda 的工具来与所有内部和外部系统集成。使用 AWS Step Functions 编排审批工作流程。
単一の Amazon Bedrock AgentCore エージェントと AWS Lambda ベースのツールを使用して、すべての内部および外部システムと統合します。 AWS Step Functions を使用して承認ワークフローを調整します。
解析 / Explanation
正确答案 / Answer: B
The supplied answer key selects B. Build a hierarchical system by using the Strands Agents SDK and Amazon Bedrock AgentCore. Configure a coordinating agent to delegate tasks to multiple specialized agents. Use MCP to facilitate inter-agent messaging. Use AWS Step Functions to implement a human-in-the-loop approval step.
提供的答案选择 B。使用 Strands Agents SDK 和 Amazon Bedrock AgentCore 构建分层系统。配置协调代理以将任务委派给多个专门代理。使用 MCP 促进代理间消息传递。使用 AWS Step Functions 实施人工参与审批步骤。
提供された回答キーは B を選択します。Strands Agents SDK と Amazon Bedrock AgentCore を使用して階層システムを構築します。複数の専門エージェントにタスクを委任するように調整エージェントを構成します。 MCP を使用してエージェント間のメッセージングを容易にします。 AWS Step Functions を使用して、人間参加型の承認ステップを実装します。
原资料未附讨论;以上为参考答案对应选项。
A financial services company is building a fraud detection system by using Amazon Bedrock. The system will monitor activity in multiple stock trading applications that run in the United States and Europe. The system must process 1,000 transactions every second with sub-500 ms response times. The system must also maintain high availability during connectivity disruptions. The company must ensure that data for European customers is processed only in AWS Regions that are based in Europe. Which solution will meet these requirements?
一家金融服务公司正在使用 Amazon Bedrock 构建欺诈检测系统。该系统将监控在美国和欧洲运行的多个股票交易应用程序的活动。系统必须每秒处理 1,000 个事务,响应时间低于 500 毫秒。系统还必须在连接中断期间保持高可用性。公司必须确保欧洲客户的数据仅在位于欧洲的 AWS 区域进行处理。哪种解决方案可以满足这些要求?
金融サービス会社は、Amazon Bedrock を使用して不正検出システムを構築しています。このシステムは、米国とヨーロッパで実行されている複数の株式取引アプリケーションのアクティビティを監視します。システムは、500 ミリ秒未満の応答時間で毎秒 1,000 件のトランザクションを処理する必要があります。システムは、接続が中断されている間も高可用性を維持する必要があります。会社は、ヨーロッパの顧客のデータがヨーロッパに拠点を置く AWS リージョンでのみ処理されるようにする必要があります。これらの要件を満たすソリューションはどれですか?
- A
Configure AWS Lambda functions and Amazon EKS applications to use the InvokeModel API with a global inference profile. Deploy an automated failover system that uses Amazon Route 53 health checks. Create a dedicated European inference profile and enable Geographic cross-Region inference for European applications. Use Amazon CloudWatch alarms to monitor utilization metrics.
配置 AWS Lambda 函数和 Amazon EKS 应用程序以将 InvokeModel API 与全局推理配置文件结合使用。部署使用 Amazon Route 53 运行状况检查的自动故障转移系统。创建专用的欧洲推理配置文件并为欧洲应用程序启用地理跨区域推理。使用 Amazon CloudWatch 警报来监控利用率指标。
グローバル推論プロファイルで InvokeModel API を使用するように AWS Lambda 関数と Amazon EKS アプリケーションを設定します。 Amazon Route 53 ヘルスチェックを使用する自動フェイルオーバー システムをデプロイします。専用のヨーロッパ推論プロファイルを作成し、ヨーロッパ アプリケーションの地理的クロスリージョン推論を有効にします。 Amazon CloudWatch アラームを使用して、使用率メトリクスを監視します。
- B
Configure all applications to use the InvokeModel API with provisioned throughput for an Anthropic Claude model in each Region separately. Set up a custom Application Load Balancer to distribute traffic based on Regional capacity and response times. Implement a Regional failover mechanism that uses Amazon EventBridge rules to handle connectivity disruptions.
将所有应用程序配置为使用 InvokeModel API,并分别为每个区域中的 Anthropic Claude 模型预置吞吐量。设置自定义应用程序负载均衡器以根据区域容量和响应时间分配流量。实施区域故障转移机制,使用 Amazon EventBridge 规则来处理连接中断。
各リージョンで個別に Anthropic Claude モデルにプロビジョニングされたスループットで InvokeModel API を使用するようにすべてのアプリケーションを構成します。カスタム Application Load Balancer をセットアップして、地域の容量と応答時間に基づいてトラフィックを分散します。 Amazon EventBridge ルールを使用して接続の中断を処理するリージョン フェイルオーバー メカニズムを実装します。
- C
Configure all applications to use the InvokeModelWithResponseStream API with on-demand throughput. Deploy an Amazon API Gateway REST API with Regional endpoints in each location where the company operates to route requests to the closest Amazon Bedrock endpoint. Create separate IAM roles for applications that run in the United States and Europe. Grant the IAM roles Region-specific permissions.
配置所有应用程序以使用具有按需吞吐量的 InvokeModelWithResponseStream API。在公司运营的每个位置部署具有区域终端节点的 Amazon API Gateway REST API,以将请求路由到最近的 Amazon Bedrock 终端节点。为在美国和欧洲运行的应用程序创建单独的 IAM 角色。授予 IAM 角色区域特定的权限。
オンデマンドのスループットで InvokeModelWithResponseStream API を使用するようにすべてのアプリケーションを構成します。企業が運営する各場所にリージョンエンドポイントを備えた Amazon API Gateway REST API をデプロイし、リクエストを最も近い Amazon Bedrock エンドポイントにルーティングします。米国とヨーロッパで実行されるアプリケーションに対して個別の IAM ロールを作成します。 IAM ロールにリージョン固有のアクセス許可を付与します。
- D
Configure applications that run in the United States to use provisioned throughput with the InvokeModel API. Configure European applications to use a Europe-specific geographic inference profile to ensure data sovereignty. Configure automatic scaling for provisioned capacity based on utilization metrics. Use Amazon EventBridge and AWS Lambda functions to implement cross-Region failover mechanisms.
配置在美国运行的应用程序以使用 InvokeModel API 预配的吞吐量。配置欧洲应用程序以使用欧洲特定的地理推理配置文件以确保数据主权。根据利用率指标配置预配置容量的自动扩展。使用 Amazon EventBridge 和 AWS Lambda 函数实现跨区域故障转移机制。
米国で実行されるアプリケーションを、InvokeModel API を使用してプロビジョニングされたスループットを使用するように構成します。ヨーロッパ固有の地理推論プロファイルを使用してデータ主権を確保するようにヨーロッパのアプリケーションを構成します。使用率メトリクスに基づいて、プロビジョニングされた容量の自動スケーリングを構成します。 Amazon EventBridge と AWS Lambda 関数を使用して、リージョン間のフェイルオーバー メカニズムを実装します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Configure AWS Lambda functions and Amazon EKS applications to use the InvokeModel API with a global inference profile. Deploy an automated failover system that uses Amazon Route 53 health checks. Create a dedicated European inference profile and enable Geographic cross-Region inference for European applications. Use Amazon CloudWatch alarms to monitor utilization metrics.
提供的答案选择 A。配置 AWS Lambda 函数和 Amazon EKS 应用程序以将 InvokeModel API 与全局推理配置文件结合使用。部署使用 Amazon Route 53 运行状况检查的自动故障转移系统。创建专用的欧洲推理配置文件并为欧洲应用程序启用地理跨区域推理。使用 Amazon CloudWatch 警报来监控利用率指标。
提供された回答キーは A を選択します。グローバル推論プロファイルで InvokeModel API を使用するように AWS Lambda 関数と Amazon EKS アプリケーションを設定します。 Amazon Route 53 ヘルスチェックを使用する自動フェイルオーバー システムをデプロイします。専用のヨーロッパ推論プロファイルを作成し、ヨーロッパ アプリケーションの地理的クロスリージョン推論を有効にします。 Amazon CloudWatch アラームを使用して、使用率メトリクスを監視します。
原始讨论(英文,仅供参考)
Could someone explain why this answer makes sense in this context?
upvoted 1 times
A company is implementing a 2-week initiative to incorporate GenAI into several hundred existing applications to provide context-driven natural language help for users. To simplify the process to choose an appropriate model for each application, a GenAI Developer is building a system to automatically compare foundation models (FMs) based on general text generation accuracy. The system runs a job that performs a series of steps. First, the system creates a service role and attaches an IAM permissions policy that allows Amazon Bedrock to invoke the FMs and grants access to Amazon S3. Then the system requests and receives access to all the FMs that need to be tested. Then the system creates S3 buckets to store the evaluation results. Then the system creates evaluation configurations by using the TREX built-in dataset. Finally, the system specifies the Accuracy metric and Generation evaluation type in each evaluation configuration. When the GenAI developer attempts to run the system, it fails with an AccessDenied exception. The GenAI developer must resolve the issue. Which solution will meet this requirement?
一家公司正在实施一项为期两周的计划,将 GenAI 整合到数百个现有应用程序中,为用户提供上下文驱动的自然语言帮助。为了简化为每个应用程序选择合适模型的过程,GenAI 开发人员正在构建一个系统,以根据一般文本生成准确性自动比较基础模型 (FM)。系统运行一个执行一系列步骤的作业。首先,系统创建一个服务角色并附加一个 IAM 权限策略,该策略允许 Amazon Bedrock 调用 FM 并授予对 Amazon S3 的访问权限。然后系统请求并接收对所有需要测试的FM的访问。然后系统创建S3存储桶来存储评估结果。然后系统使用 TREX 内置数据集创建评估配置。最后,系统指定每个评估配置中的准确度度量和生成评估类型。当 GenAI 开发人员尝试运行系统时,它会失败并出现 AccessDenied 异常。 GenAI 开发人员必须解决该问题。哪种解决方案可以满足这个要求?
ある企業は、GenAI を数百の既存アプリケーションに組み込んで、コンテキスト主導の自然言語ヘルプをユーザーに提供する 2 週間の取り組みを実施しています。各アプリケーションに適切なモデルを選択するプロセスを簡素化するために、GenAI 開発者は、一般的なテキスト生成精度に基づいて基礎モデル (FM) を自動的に比較するシステムを構築しています。システムは、一連のステップを実行するジョブを実行します。まず、システムはサービスロールを作成し、Amazon Bedrock が FM を呼び出して Amazon S3 へのアクセスを許可する IAM アクセス許可ポリシーをアタッチします。次に、システムはテストする必要があるすべての FM へのアクセスを要求し、受信します。次に、システムは評価結果を保存するための S3 バケットを作成します。次に、システムは TREX 組み込みデータセットを使用して評価設定を作成します。最後に、システムは各評価構成で精度メトリックと生成評価タイプを指定します。 GenAI 開発者がシステムを実行しようとすると、AccessDenied 例外が発生して失敗します。 GenAI 開発者は問題を解決する必要があります。この要件を満たすソリューションはどれですか?
- A
Create a trust policy that defines Amazon Bedrock as the service principal. Attach the trust policy to the service role.
创建将 Amazon Bedrock 定义为服务主体的信任策略。将信任策略附加到服务角色。
Amazon Bedrock をサービス プリンシパルとして定義する信頼ポリシーを作成します。信頼ポリシーをサービスロールにアタッチします。
- B
Configure cross-origin resource sharing (CORS) permissions that allow GET and DELETE actions on the S3 buckets.
配置允许对 S3 存储桶执行 GET 和 DELETE 操作的跨源资源共享 (CORS) 权限。
S3 バケットでの GET および DELETE アクションを許可するクロスオリジン リソース共有 (CORS) 権限を構成します。
- C
Change the test dataset from TREX to Gigaword in the evaluation configurations.
在评估配置中将测试数据集从 TREX 更改为 Gigaword。
評価設定でテスト データセットを TREX から Gigaword に変更します。
- D
Change the evaluation type to Summarization and the metric type to Correctness in the evaluation configurations.
在评估配置中将评估类型更改为汇总,将指标类型更改为正确性。
評価構成で、評価タイプを「要約」に変更し、メトリック・タイプを「正確性」に変更します。
解析 / Explanation
正确答案 / Answer: A
The supplied answer key selects A. Create a trust policy that defines Amazon Bedrock as the service principal. Attach the trust policy to the service role.
提供的答案选择 A。创建将 Amazon Bedrock 定义为服务主体的信任策略。将信任策略附加到服务角色。
提供された回答キーは A を選択します。Amazon Bedrock をサービス プリンシパルとして定義する信頼ポリシーを作成します。信頼ポリシーをサービスロールにアタッチします。
原资料未附讨论;以上为参考答案对应选项。