AWS AIP-C01 开源练习 · 基础 · 第 04 套

英文原题与中文机器翻译。本批暂不提供日文题文;日语界面显示英文原文。

开源练习,非 AWS 官方试题。按作者参考答案判分,解析附官方文档链接。

← 题库目录

已答 0/46正确 0错误 0正确率 —
Question 1Domain 2 · Task 2.1 · Select 2

A team must deploy existing Python agent code to Amazon Bedrock AgentCore Runtime with minimal overhead. It must auto-handle the HTTP server, /invocations and /ping endpoints, and support both sub-second and streaming responses. Which TWO approaches fit best?

团队必须以最小的开销将现有的 Python 代理代码部署到 Amazon Bedrock AgentCore Runtime。它必须自动处理 HTTP 服务器、/incalls 和 /ping 端点,并支持亚秒级和流式响应。哪两种方法最适合?

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. The SDK auto-creates an HTTP server (port 8080), implements /invocations and /ping, and supports JSON and streaming responses.

B. The starter toolkit automates packaging, container build, ECR push, and CreateAgentRuntime deployment.

C. Manual FastAPI/Docker/orchestration adds the overhead AgentCore is meant to remove.

D. Custom ECS deployment increases operational overhead versus AgentCore's managed flow.

E. A custom inference container adds infrastructure work AgentCore avoids.

A. SDK 自动创建 HTTP 服务器(端口 8080),实现 /incalls 和 /ping,并支持 JSON 和流式响应。

B. 入门工具包可自动执行打包、容器构建、ECR 推送和 CreateAgentRuntime 部署。

C. 手动 FastAPI/Docker/编排增加了 AgentCore 本应消除的开销。

D. 与 AgentCore 的托管流程相比,自定义 ECS 部署增加了运营开销。

E. 自定义推理容器添加了 AgentCore 避免的基础设施工作。

AWS Docs · AWS Docs

Question 2Domain 2 · Task 2.1

What does the AgentCore SDK's @app.entrypoint decorator automatically provide?

AgentCore SDK 的 @app.entrypoint 装饰器自动提供什么?

解析 / Explanation

正确答案 / Answer: A

A. The decorator wires up the server, endpoints, content types, and JSON/streaming responses automatically.

B. It does not provision a vector store.

C. Retention is configured via logging/S3 Object Lock, not this decorator.

D. That is Prompt Flows, not the AgentCore SDK.

A. 装饰器自动连接服务器、端点、内容类型和 JSON/流响应。

B. 它不提供矢量存储。

C. 保留是通过logging/S3 Object Lock配置的,而不是这个装饰器。

D. 那是提示流,而不是 AgentCore SDK。

AWS Docs · AWS Docs

Question 3Domain 2 · Task 2.1

Which describes the AgentCore starter toolkit's primary benefit?

哪项描述了 AgentCore 入门工具包的主要优点?

解析 / Explanation

正确答案 / Answer: A

A. The toolkit streamlines build-and-deploy so you avoid manual containerization and deployment steps.

B. It deploys agents; it does not train base models.

C. PII redaction is Comprehend's job.

D. Reranking is the Rerank API, not the starter toolkit.

A. 该工具包简化了构建和部署,因此您可以避免手动容器化和部署步骤。

B. 它部署代理;它不训练基础模型。

C. PII 编辑是 Comprehend 的工作。

D. Reranking 是 Rerank API,而不是入门工具包。

AWS Docs · AWS Docs

Question 4Domain 2 · Task 2.1

A developer wants an open-source SDK that builds agents with a "model-driven" approach — defining just a model, a system prompt, and a set of tools, and letting the model plan and call tools. Which is this?

A developer wants an open-source SDK that builds agents with a "model-driven" approach — defining just a model, a system prompt, and a set of tools, and letting the model plan and call tools.这是哪个?

解析 / Explanation

正确答案 / Answer: A

A. Strands takes a model-driven approach centered on a model, a system prompt, and tools, letting the model direct its own steps.

B. Macie is data discovery, not an agent SDK.

C. That scores datasets; it is not an agent SDK.

D. Polly is text-to-speech, not an agent SDK.

A. Strands 采用以模型、系统提示和工具为中心的模型驱动方法,让模型指导自己的步骤。

B. Macie 是数据发现,而不是代理 SDK。

C. 对数据集进行评分;它不是代理 SDK。

D. Polly 是文本转语音,而不是代理 SDK。

AWS Docs · AWS Docs

Question 5Domain 2 · Task 2.1

What are the three core components of the Strands Agents model-driven approach?

Strands Agent 模型驱动方法的三个核心组成部分是什么?

解析 / Explanation

正确答案 / Answer: A

A. Strands centers on model + system prompt + tools, relying on the model to plan and call tools.

B. Those are RAG components, not the Strands agent triad.

C. Those are networking constructs, unrelated to Strands.

D. Those describe S3 Vectors, not Strands.

A. Strands以模型+系统提示+工具为中心,依靠模型来规划和调用工具。

B. 这些是 RAG 组件,而不是 Strands 代理三元组。

C. 这些是网络结构,与 Strand 无关。

D. 这些描述的是 S3 矢量,而不是链。

AWS Docs · AWS Docs

Question 6Domain 2 · Task 2.1

Which statement about Strands Agents tool integration is correct?

关于 Strands Agents 工具集成的哪种说法是正确的?

解析 / Explanation

正确答案 / Answer: A

A. Strands integrates with MCP, letting agents use a large ecosystem of MCP tool servers.

B. It supports MCP and flexible tool definitions.

C. Calling tools is central to its model-driven design.

D. Tool definitions are code; they do not require provisioned capacity.

A. Strands 与 MCP 集成,让代理可以使用 MCP 工具服务器的大型生态系统。

B. 它支持 MCP 和灵活的工具定义。

C. 调用工具是其模型驱动设计的核心。

D. 工具定义就是代码;它们不需要预配置容量。

AWS Docs · AWS Docs

Question 7Domain 2 · Task 2.1

Which model providers can Strands Agents work with?

Strands Agents 可以与哪些模型提供商合作?

解析 / Explanation

正确答案 / Answer: A

A. Strands is model-flexible across Bedrock and many external providers.

B. It is not limited to Titan.

C. It supports cloud and local models, not on-prem only.

D. It targets tool-using LLMs, not just image models.

A. Strands 在 Bedrock 和许多外部提供商之间具有模型灵活性。

B. 它不仅限于泰坦。

C. 它支持云和本地模型,而不仅仅是本地模型。

D. 它针对的是使用工具的法学硕士,而不仅仅是图像模型。

AWS Docs · AWS Docs

Question 8Domain 2 · Task 2.1

How does Strands typically deploy in AWS for serverless or orchestrated workflows?

Strands 通常如何在 AWS 中部署以实现无服务器或编排工作流程?

解析 / Explanation

正确答案 / Answer: A

A. Being Python, Strands runs on Lambda and integrates into Step Functions workflows.

B. It runs on serverless and managed compute, not bare metal only.

C. QuickSight is BI; it does not host agents.

D. It is a server-side SDK, not browser-only.

A. 作为 Python,Strands 在 Lambda 上运行并集成到 Step Functions 工作流程中。

B. 它在无服务器和托管计算上运行,而不仅仅是裸机。

C. QuickSight 是 BI;它不托管代理。

D. 它是一个服务器端 SDK,而不是仅限浏览器。

AWS Docs · AWS Docs

Question 9Domain 2 · Task 2.1

A "model-driven" agent framework differs from a workflow-heavy framework in what key way?

“模型驱动”代理框架与工作流密集型框架的主要区别是什么?

解析 / Explanation

正确答案 / Answer: A

A. Model-driven agents let the model reason and orchestrate, reducing hand-built workflow logic.

B. The model is central to a model-driven approach.

C. Tool use is a core capability.

D. That describes the workflow-heavy approach it contrasts with.

A. 模型驱动代理让模型进行推理和编排,减少手工构建的工作流逻辑。

B. 该模型是模型驱动方法的核心。

C. 工具使用是一项核心能力。

D. 这描述了与之相反的工作流程繁重的方法。

AWS Docs · AWS Docs

Question 10Domain 2 · Task 2.1

A team wants to run a Strands-built agent in a managed, secure, serverless environment at production scale without managing servers. Which is a natural fit?

团队希望在生产规模的托管、安全、无服务器环境中运行 Strands 构建的代理,而无需管理服务器。哪个是天生的适合?

解析 / Explanation

正确答案 / Answer: A

A. AgentCore Runtime hosts agents from frameworks like Strands in a managed serverless runtime.

B. A laptop is not production-scale managed hosting.

C. Storing code does not run the agent.

D. CloudFront is a CDN, not an agent runtime.

A. AgentCore Runtime 在托管无服务器运行时中托管来自 Strands 等框架的代理。

B. 笔记本电脑不是生产规模的托管主机。

C. 存储代码不会运行代理。

D. CloudFront 是 CDN,而不是代理运行时。

AWS Docs · AWS Docs

Question 11Domain 2 · Task 2.1 · Select 2

Which TWO are accurate about Amazon Bedrock Agents' capabilities?

关于 Amazon Bedrock Agents 的功能,哪两项是准确的?

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Agents call actions defined by OpenAPI schemas or function definitions.

B. Bedrock Agents can use Knowledge Bases to ground answers.

C. The managed agent handles the orchestration loop.

D. Agents handle reasoning and tool use, not just images.

E. Vector storage is a separate vector-store concern.

A. 代理调用由 OpenAPI 架构或函数定义定义的操作。

B. 基岩代理可以使用知识库来确定答案。

C. 托管代理处理编排循环。

D. 代理处理推理和工具使用,而不仅仅是图像。

E. 矢量存储是一个单独的矢量存储问题。

AWS Docs · AWS Docs

Question 12Domain 2 · Task 2.1

A production agent platform must provide identity/access to tools, persistent memory, tool gateways, and end-to-end observability across agents built in different frameworks. Which single AWS offering is designed to deliver all of these?

生产代理平台必须提供对工具、持久内存、工具网关的身份/访问,以及跨不同框架中构建的代理的端到端可观察性。哪种 AWS 产品旨在提供所有这些功能?

解析 / Explanation

正确答案 / Answer: A

A. AgentCore bundles Runtime, Identity, Gateway, Memory, and Observability for production agents across frameworks.

B. Guardrails are safety policies only.

C. Kendra is enterprise search, not an agent platform.

D. The registry versions models; it is not an agent operations platform.

A. AgentCore 跨框架捆绑了生产代理的运行时、身份、网关、内存和可观察性。

B. 护栏只是安全政策。

C. Kendra 是企业搜索,而不是代理平台。

D. 注册表版本模型;它不是代理运营平台。

AWS Docs · AWS Docs

Question 13Domain 1 · Task 1.3 · Select 2

An education company built a content generation system on Amazon Bedrock that generates practice questions from a mix of curated and scraped data. Reviewers must verify content credibility, so the company wants to add source lineage. Which combination of steps meets this with the LEAST operational overhead? (Select TWO.)

一家教育公司在 Amazon Bedrock 上构建了一个内容生成系统,该系统根据精选和抓取的数据生成练习问题。审阅者必须验证内容的可信度,因此该公司希望添加源沿袭。哪种步骤组合能够以最少的运营开销满足这一要求? (选择两项。)

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Tagging outputs with source metadata gives reviewers direct, automated traceability between generated content and its origin.

B. The Data Catalog creates a searchable, managed inventory of sources with minimal overhead.

C. Correlating logs to sources requires manual or custom work and does not directly establish lineage.

D. Clarify is for explainability/bias, not source lineage.

E. CloudTrail logs API actions, not content source lineage.

A. 使用源元数据标记输出可以让审阅者在生成的内容及其来源之间进行直接、自动的跟踪。

B. 数据目录以最小的开销创建可搜索、受管理的源清单。

C. 将日志与源关联起来需要手动或自定义工作,并且不会直接建立沿袭。

D. 澄清是为了可解释性/偏见,而不是源系。

E. CloudTrail 记录 API 操作,而不是内容源沿袭。

AWS Docs

Question 14Domain 1 · Task 1.2

A company must replace a production FM only if a new model performs better, following a sequential, reviewed validation process. Which ordering of the five steps is correct?

仅当新模型性能更好且遵循顺序、经过审查的验证流程后,公司才必须更换生产 FM。这五个步骤中哪一个顺序是正确的?

解析 / Explanation

正确答案 / Answer: A

A. Decide how to measure, get data, compare, gate the rollout, then document — the correct sequence.

B. You must define metrics before building the dataset and analyze after testing, not before.

C. You cannot A/B test before defining metrics and preparing data.

D. Gates and testing cannot precede defining metrics and data.

A. 决定如何测量、获取数据、比较、控制部署,然后记录——正确的顺序。

B. 您必须在构建数据集之前定义指标,并在测试之后而不是之前进行分析。

C. 在定义指标和准备数据之前,您无法进行 A/B 测试。

D. 门控和测试不能先于定义指标和数据。

AWS Docs · AWS Docs

Question 15Domain 1 · Task 1.x · Select 2

A third-party application needs secure authentication to use Amazon Bedrock: integrate the existing IdP, keep audit logs, eliminate long-lived credentials, and provide temporary access. Which TWO solutions meet these requirements?

第三方应用程序需要安全身份验证才能使用 Amazon Bedrock:集成现有 IdP、保留审核日志、消除长期凭证并提供临时访问。哪两种解决方案满足这些要求?

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Cognito OIDC federates the IdP, issues temporary credentials, and audits via CloudTrail.

B. IAM Identity Center with SAML federates the IdP, uses temporary credentials, and logs via CloudTrail.

C. IAM users use long-lived keys and do not federate the IdP.

D. Storing IAM user credentials violates the no-long-lived-credentials requirement.

E. Custom LDAP/JWT does not provide temporary AWS credentials or native IdP federation.

A. Cognito OIDC 联合 IdP、颁发临时凭证并通过 CloudTrail 进行审核。

B. 具有 SAML 的 IAM Identity Center 联合 IdP、使用临时凭证并通过 CloudTrail 进行日志记录。

C. IAM 用户使用长期密钥并且不联合 IdP。

D. 存储 IAM 用户凭证违反了无长期凭证的要求。

E. 自定义 LDAP/JWT 不提供临时 AWS 凭证或本机 IdP 联合。

AWS Docs · AWS Docs

Question 16Domain 1 · Task 1.5 · Select 2

A Bedrock RAG app retrieves many relevant docs, but the most relevant info often appears lower in results. Which TWO steps improve relevance ranking with MINIMAL operational overhead? (Select TWO.)

Bedrock RAG 应用程序会检索许多相关文档,但最相关的信息通常出现在结果中较低的位置。哪两个步骤可以以最小的运营开销提高相关性排名? (选择两项。)

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Bedrock rerankers are purpose-built to reorder results so the most relevant surface first.

B. Hybrid search improves retrieval relevance by blending semantic and keyword matching.

C. Learning to Rank requires custom trained/maintained models — more overhead.

D. Custom scoring and DB management add operational overhead.

E. Bedrock built-in reranking is simpler and more integrated than custom ranking.

A. 基岩重新排序器是专门为重新排序结果而设计的,因此最相关的表面首先出现。

B. 混合搜索通过混合语义和关键字匹配来提高检索相关性。

C. 学习排名需要定制训练/维护的模型——更多的开销。

D. 自定义评分和数据库管理增加了运营开销。

E. Bedrock 内置重新排名比自定义排名更简单、更集成。

AWS Docs · AWS Docs

Question 17Domain 2 · Task 2.1 · Select 2

A company must deploy existing Python agent code to Amazon Bedrock AgentCore Runtime with minimal overhead, auto-managing HTTP server, endpoint routing, and health monitoring, supporting sub-second and streaming responses. Which TWO approaches fit? (Select TWO.)

公司必须以最小的开销将现有的 Python 代理代码部署到 Amazon Bedrock AgentCore Runtime,自动管理 HTTP 服务器、终端节点路由和运行状况监控,支持亚秒级和流式响应。哪两种方法适合? (选择两项。)

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. The SDK auto-creates the server on port 8080, the /invocations and /ping endpoints, and handles JSON/streaming.

B. The toolkit automates ARM64 build, ECR push, and CreateAgentRuntime deployment with minimal overhead.

C. Manual FastAPI/Docker/orchestration adds overhead.

D. Custom containers/task definitions add management overhead with no auto server/health setup.

E. Custom inference containers and autoscaling add infrastructure overhead.

A. SDK 在端口 8080、/incalls 和 /ping 端点上自动创建服务器,并处理 JSON/流。

B. 该工具包以最小的开销自动执行 ARM64 构建、ECR 推送和 CreateAgentRuntime 部署。

C. 手动 FastAPI/Docker/编排会增加开销。

D. 自定义容器/任务定义会增加管理开销,而无需自动服务器/运行状况设置。

E. 自定义推理容器和自动缩放会增加基础设施开销。

AWS Docs · AWS Docs

Question 18Domain 1 · Task 1.4

A diagnostic imaging app must run similarity searches across 50 million images, processed daily but searched infrequently, with a cost-effective, responsive, no-infrastructure solution. Which is MOST cost-effective?

诊断成像应用程序必须使用经济高效、响应迅速、无基础设施的解决方案,对每天处理但搜索频率较低的 5000 万张图像进行相似性搜索。哪个最划算?

解析 / Explanation

正确答案 / Answer: A

A. S3 Vectors is serverless, scales to billions of vectors, and is cost-optimized for infrequent searches.

B. OpenSearch Serverless suits frequent low-latency search; provisioned capacity is underused for rare searches.

C. DynamoDB has no native vector search; custom logic adds latency and cost.

D. RDS requires managing instances and is not cost-effective for infrequent workloads.

A. S3 Vectors 是无服务器的,可扩展到数十亿个向量,并且针对不频繁的搜索进行了成本优化。

B. OpenSearch Serverless 适合频繁的低延迟搜索;对于罕见的搜索,配置的容量未得到充分利用。

C. DynamoDB 没有原生矢量搜索;自定义逻辑会增加延迟和成本。

D. RDS 需要管理实例,对于不频繁的工作负载来说不具有成本效益。

AWS Docs

Question 19Domain 1 · Task 1.2

A single-Region Bedrock app gets "Too many requests" at peak. The company must increase throughput without extra operational overhead, keep the same API, and use the same FM. Which is MOST cost-effective?

单区域基岩应用程序在高峰期收到“太多请求”。公司必须在不产生额外运营开销的情况下提高吞吐量、保持相同的 API 并使用相同的 FM。哪个最划算?

解析 / Explanation

正确答案 / Answer: A

A. Cross-Region inference automatically spreads load across Regions, same model and API, no extra ops.

B. Prompt routing needs two different models; the requirement is the same FM.

C. Provisioned throughput suits steady usage, not occasional peaks.

D. A custom Lambda failover adds operational overhead.

A. 跨区域推理自动跨区域分散负载,相同的模型和 API,无需额外操作。

B. 提示路由需要两种不同的模型;要求是相同的FM。

C. 预配置吞吐量适合稳定使用,而不适合偶尔出现的峰值。

D. 自定义 Lambda 故障转移会增加运营开销。

AWS Docs · AWS Docs

Question 20Domain 1 · Task 1.4

An AI assistant must include new S3 documents ASAP and exclude deleted ones ASAP, using a Bedrock Knowledge Base with S3 as the data source. Which solution is scalable, event-driven, and resilient?

AI 助手必须使用以 S3 作为数据源的基岩知识库,尽快包含新的 S3 文档并尽快排除已删除的文档。哪种解决方案具有可扩展性、事件驱动性和弹性?

解析 / Explanation

正确答案 / Answer: A

A. SQS buffers spikes and retries between S3 events and Lambda, ensuring no updates are missed.

B. Direct invocation lacks buffering/retry and can fail under load.

C. Time-based polling is not near-real-time and is inefficient.

D. Periodic full re-sync is inefficient and not event-driven.

A. SQS 缓冲 S3 事件和 Lambda 之间的峰值和重试,确保不会错过任何更新。

B. 直接调用缺乏缓冲/重试,并且可能在负载下失败。

C. 基于时间的轮询不是近乎实时的并且效率低下。

D. 定期完全重新同步效率低下且不是事件驱动的。

AWS Docs

Question 21Domain 1 · Task 1.5

A RAG app returns generic "no relevant information found" after a code update. No errors, FM invokes successfully (X-Ray), OpenSearch is healthy, latency normal. What is the cause?

代码更新后,RAG 应用程序会返回通用的“未找到相关信息”。没有错误,FM 调用成功(X 射线),OpenSearch 运行正常,延迟正常。原因是什么?

解析 / Explanation

正确答案 / Answer: A

A. Embedding drift creates a vector-space mismatch between queries and stored vectors, silently breaking retrieval.

B. Deleted embeddings would surface as errors or failed queries; none are observed.

C. The model invokes successfully, so the permission exists.

D. Temperature affects generation, not retrieval.

A. 嵌入漂移会在查询和存储的向量之间造成向量空间不匹配,从而默默地破坏检索。

B. 删除的嵌入将显示为错误或失败的查询;没有观察到。

C. 模型调用成功,权限存在。

D. 温度影响生成,而不影响检索。

AWS Docs · AWS Docs

Question 22Domain 1 · Task 1.x

A Bedrock AI assistant uses multiple guardrails (prompt injection, sensitive info filtering, denied topics). When content is blocked, the developer needs the MOST detailed analysis of which specific guardrail rule was invoked. Which configuration provides it?

Bedrock AI 助手使用多个护栏(提示注入、敏感信息过滤、拒绝主题)。当内容被阻止时,开发人员需要对调用了哪个特定护栏规则进行最详细的分析。 Which configuration provides it?

解析 / Explanation

正确答案 / Answer: A

A. GuardrailPolicyType reveals which policy intervened, the most detailed breakdown.

B. GuardrailContentSource only distinguishes input vs output, not which policy fired.

C. Invocation logging lacks per-policy intervention detail.

D. Model evaluation runs offline tests, not per-inference guardrail tracing.

A. GuardrailPolicyType 揭示了哪个策略进行了干预,最详细的细分。

B. GuardrailContentSource 仅区分输入与输出,而不区分触发的策略。

C. 调用日志记录缺乏每个策略的干预细节。

D. 模型评估运行离线测试,而不是按推理护栏跟踪。

AWS Docs · AWS Docs

Question 23Domain 1 · Task 1.3

A financial services company wants a mobile app for account inquiries built from large volumes of customer-support email stored in S3 that contains PII which must not appear in search results. Which solution meets these requirements?

一家金融服务公司想要一款用于帐户查询的移动应用程序,该应用程序是根据 S3 中存储的大量客户支持电子邮件构建的,其中包含不得出现在搜索结果中的 PII。哪种解决方案满足这些要求?

解析 / Explanation

正确答案 / Answer: A

A. Comprehend redacts PII before indexing; Kendra provides managed enterprise search of the processed data.

B. System prompts cannot reliably remove PII and can be bypassed.

C. Macie discovers/classifies PII but does not redact it for GenAI; Textract targets scanned docs, not raw email.

D. DocumentDB needs custom search and lacks NLP for natural-language enterprise search.

A. 在索引之前理解编辑 PII; Kendra 提供已处理数据的托管企业搜索。

B. 系统提示无法可靠地删除 PII,并且可以被绕过。

C. Macie 发现/分类 PII,但不会针对 GenAI 对其进行编辑; Textract 的目标是扫描文档,而不是原始电子邮件。

D. DocumentDB 需要自定义搜索,并且缺乏用于自然语言企业搜索的 NLP。

AWS Docs

Question 24Domain 1 · Task 1.2

A company must analyze videos and photos from public fashion shows to extract style elements, store results, and present a trend dashboard, with the LEAST operational overhead. Which solution fits?

公司必须分析公共时装秀的视频和照片,以提取风格元素、存储结果并呈现趋势仪表板,并以最少的运营开销。哪种解决方案适合?

解析 / Explanation

正确答案 / Answer: A

A. Bedrock multimodal FMs analyze media directly with no custom model training; Step Functions + QuickSight are serverless.

B. QuickSight Q answers questions about existing dashboard data; it cannot analyze media.

C. Custom model training and Grafana plugins add overhead.

D. Managing OpenSearch, multiple FMs, and custom dashboards adds overhead, and it analyzes text rather than visuals.

A. Bedrock 多模态 FM 直接分析媒体,无需自定义模型训练; Step Functions + QuickSight are serverless.

B. QuickSight Q 回答有关现有仪表板数据的问题;它无法分析媒体。

C. 自定义模型训练和 Grafana 插件会增加开销。

D. 管理 OpenSearch、多个 FM 和自定义仪表板会增加开销,并且它分析文本而不是视觉效果。

AWS Docs · AWS Docs

Question 25Domain 1 · Task 1.6 · Select 2

A financial company needs Bedrock prompt templates governed via approval workflows and comprehensive logging of all model invocations with 7-year retention. Which TWO steps meet this with MINIMAL overhead? (Select TWO.)

一家金融公司需要 Bedrock 提示模板,该模板通过审批工作流程进行管理,并全面记录所有模型调用并保留 7 年。哪两个步骤可以以最小的开销满足这个要求? (选择两项。)

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Prompt Management natively handles versioned templates with multi-stage approvals.

B. Invocation logging plus immutable Object Lock storage meets comprehensive 7-year retention with low overhead.

C. Custom approval logic in DynamoDB adds development overhead.

D. Custom pipelines add failure points and do not provide a complete audit trail.

E. CloudTrail captures API metadata, not full prompt/response content.

A. 提示管理本身可以处理具有多阶段批准的版本化模板。

B. 调用日志记录加上不可变的对象锁存储可以以较低的开销满足 7 年的全面保留。

C. DynamoDB 中的自定义审批逻辑增加了开发开销。

D. 自定义管道会添加故障点,并且不提供完整的审核跟踪。

E. CloudTrail 捕获 API 元数据,而不是完整的提示/响应内容。

AWS Docs · AWS Docs

Question 26Domain 1 · Task 1.x

A company requires that all InvokeModel and Converse calls apply Bedrock guardrails, enforced in the MOST operationally efficient way. Which solution fits?

公司要求所有 InvokeModel 和 Converse 调用都应用 Bedrock 护栏,并以最高效的运营方式执行。 Which solution fits?

解析 / Explanation

正确答案 / Answer: A

A. The GuardrailIdentifier condition key centrally enforces guardrail usage with no custom code.

B. A proxy Lambda adds a bottleneck/failure point and custom maintenance.

C. Per-call lookups add latency and Lambda maintenance.

D. PromptRouterArn is unrelated to guardrail enforcement and adds needless complexity.

A. GuardrailIdentifier 条件键集中强制使用护栏,无需自定义代码。

B. 代理 Lambda 添加了瓶颈/故障点和自定义维护。

C. 每次调用查找会增加延迟和 Lambda 维护。

D. PromptRouterArn 与护栏实施无关,并且增加了不必要的复杂性。

AWS Docs · AWS Docs

Question 27Domain 1 · Task 1.6

A virtual assistant using Anthropic Claude on Bedrock must stop generating output after a specific phrase appears in the response. Which solution meets this?

在响应中出现特定短语后,在 Bedrock 上使用 Anthropic Claude 的虚拟助手必须停止生成输出。哪种解决方案可以满足这个要求?

解析 / Explanation

正确答案 / Answer: A

A. Stop sequences are a built-in, reliable API mechanism that halts generation at the specified string.

B. Relying on the model to follow the instruction is unreliable.

C. top-k controls sampling, not stopping.

D. Temperature controls randomness, not the stopping point.

A. 停止序列是一种内置的、可靠的 API 机制,可在指定字符串处停止生成。

B. 依靠模型来遵循指令是不可靠的。

C. top-k 控制采样,而不是停止。

D. 温度控制随机性,而不是停止点。

AWS Docs · AWS Docs

Question 28Domain 2 · Task 2.x · Select 2

A cross-functional team wants to use Amazon Q Developer to optimize productivity, enforce integration patterns, automate performance tuning, and accelerate testing. Which TWO steps meet these requirements? (Select TWO.)

跨职能团队希望使用 Amazon Q Developer 来优化生产力、实施集成模式、自动执行性能调整并加速测试。哪两个步骤满足这些要求? (选择两项。)

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Real-time generation, refactoring, and optimization boost productivity and reduce integration errors.

B. Embedding test generation in CI/CD continuously validates components and catches defects early.

C. Mandatory manual approval of everything creates a bottleneck.

D. Reactive analysis misses real-time assistance benefits.

E. Restricting to merge time slows resolution and underuses its capabilities.

A. 实时生成、重构和优化可提高生产力并减少集成错误。

B. 在 CI/CD 中嵌入测试生成可以持续验证组件并及早发现缺陷。

C. 对所有事情的强制手动批准会造成瓶颈。

D. 反应性分析错过了实时援助的好处。

E. 限制合并时间会减慢解析速度并未充分利用其功能。

AWS Docs · AWS Docs

Question 29Domain 2 · Task 2.x · Select 2

A DJL-served LLM on 8-GPU instances is underutilized: real max sequence length is 10x smaller than configured, concurrency is low, and the model fits within 4 GPUs. Which TWO steps improve resource utilization? (Select TWO.)

A DJL-served LLM on 8-GPU instances is underutilized: real max sequence length is 10x smaller than configured, concurrency is low, and the model fits within 4 GPUs.哪两个步骤可以提高资源利用率? (选择两项。)

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Freeing memory by lowering max sequence length increases batch size, throughput, and concurrency.

B. Since the model fits in 4 GPUs, degree 4 packs two replicas across 8 GPUs for full utilization.

C. This does not raise per-instance concurrency or reduce the memory footprint.

D. Speculative decoding improves latency, not utilization.

E. Degree 8 serves only one replica across 8 GPUs, leaving half idle since the model fits in 4.

A. 通过降低最大序列长度来释放内存会增加批处理大小、吞吐量和并发性。

B. 由于该模型适合 4 个 GPU,因此 4 级在 8 个 GPU 上打包两个副本以实现充分利用。

C. 这不会提高每个实例的并发性或减少内存占用。

D. 推测性解码会改善延迟,而不是利用率。

E. 8 度仅在 8 个 GPU 上提供一个副本,由于模型适合 4 个 GPU,因此留下了一半空闲。

AWS Docs · AWS Docs

Question 30Domain 2 · Task 2.x

A developer must deploy a Hugging Face text-to-image model (tested in SageMaker JumpStart) for on-demand generation. It must use GPUs, handle text datasets up to 50 MB, and respond within 15 minutes. Which deployment strategy fits?

开发人员必须部署 Hugging Face 文本到图像模型(在 SageMaker JumpStart 中测试)以进行按需生成。它必须使用 GPU,处理最大 50 MB 的文本数据集,并在 15 分钟内做出响应。哪种部署策略适合?

解析 / Explanation

正确答案 / Answer: A

A. Async endpoints support up to ~15-minute runtimes, large payloads (up to ~1 GB), and GPUs.

B. Serverless inference does not support GPUs.

C. Real-time endpoints cap payloads near 25 MB, failing the 50 MB requirement.

D. Batch transform is offline, not on-demand within 15 minutes.

A. 异步端点支持长达约 15 分钟的运行时间、大负载(高达约 1 GB)和 GPU。

B. Serverless 推理不支持 GPU。

C. 实时端点将有效负载上限限制为接近 25 MB,未能满足 50 MB 的要求。

D. 批量转换是离线的,不是15分钟内按需转换。

AWS Docs · AWS Docs

Question 31Domain 1 · Task 1.6

A news company wants a web editor where journalists click "analyze" and immediately receive streamed style-guide revisions; articles carry content-category metadata. Which architecture meets this with the LEAST operational overhead?

一家新闻公司想要一个网页编辑器,记者可以在其中单击“分析”并立即收到流式传输的风格指南修订版;文章携带内容类别元数据。哪种架构能够以最少的运营开销满足这一要求?

解析 / Explanation

正确答案 / Answer: A

A. WebSockets give serverless real-time streaming; Prompt Management governs rules; streaming returns suggestions immediately.

B. SQS polling adds latency, defeating immediate feedback on click.

C. REST is poorly suited to long-lived real-time streaming.

D. Custom ECS containers add infrastructure management overhead.

A. WebSockets 提供无服务器实时流;及时管理管理规则;流立即返回建议。

B. SQS 轮询会增加延迟,从而影响点击时的即时反馈。

C. REST 不太适合长期实时流。

D. 自定义 ECS 容器增加了基础设施管理开销。

AWS Docs · AWS Docs

Question 32Domain 1 · Task 1.4

A Bedrock Knowledge Base ingests documents from multiple S3 buckets, and the team needs to monitor ingestion to identify and troubleshoot document-processing issues. Which solution meets this?

Bedrock 知识库从多个 S3 存储桶获取文档,团队需要监控获取情况以识别文档处理问题并进行故障排除。哪种解决方案可以满足这个要求?

解析 / Explanation

正确答案 / Answer: A

A. KB logging records per-file status (e.g., RESOURCE_IGNORED, EMBEDDING_FAILED, INDEXING_FAILED) for troubleshooting.

B. Application Signals monitors app performance, not KB ingestion.

C. CloudTrail logs API calls, not document-level processing status.

D. Invocation logging captures inference calls, not ingestion.

A. KB 日志记录每个文件的状态(例如 RESOURCE_IGNORED、EMBEDDING_FAILED、INDEXING_FAILED)以进行故障排除。

B. 应用程序信号监视应用程序性能,而不是 KB 摄取。

C. CloudTrail 记录 API 调用,而不是文档级处理状态。

D. 调用日志记录捕获推理调用,而不是摄取。

AWS Docs

Question 33Domain 2 · Task 2.1

A customer-support solution needs to route each user query to one of several specialized agents (billing, technical, account) and keep a coherent conversation across them. Which AWS open-source framework is purpose-built for multi-agent orchestration and routing?

客户支持解决方案需要将每个用户查询路由到多个专业代理(计费、技术、帐户)之一,并在他们之间保持一致的对话。哪个 AWS 开源框架是专门为多代理编排和路由而构建的?

解析 / Explanation

正确答案 / Answer: A

A. Agent Squad orchestrates multiple specialized agents, routing each query to the best-suited agent while maintaining unified conversation context.

B. Guardrails enforce content safety; they do not orchestrate multiple agents.

C. Knowledge Bases provide RAG retrieval, not multi-agent routing.

D. Comprehend is NLP analysis, not an agent orchestration framework.

A. Agent Squad 协调多个专业代理,将每个查询路由到最适合的代理,同时维护统一的对话上下文。

B. 护栏加强内容安全;他们不协调多个代理。

C. 知识库提供 RAG 检索,而不是多代理路由。

D. Comprehend 是 NLP 分析,而不是代理编排框架。

AWS Docs · AWS Docs

Question 34Domain 2 · Task 2.1

In AWS Agent Squad, how is each incoming user request assigned to the right specialized agent?

在 AWS Agent Squad 中,如何将每个传入用户请求分配给正确的专业代理?

解析 / Explanation

正确答案 / Answer: A

A. Agent Squad uses a classifier (e.g., the default Bedrock Classifier) to route requests by intent.

B. Routing is intent-based via the classifier, not blind round-robin.

C. Routing is automatic; users do not hand-pick agents per turn.

D. Selection is based on classification of intent/context, not naming order.

A. Agent Squad 使用分类器(例如,默认的基岩分类器)按意图路由请求。

B. 路由是通过分类器基于意图的,而不是盲目循环。

C. 路由是自动的;用户不会每次都亲自挑选代理。

D. 选择基于意图/上下文的分类,而不是命名顺序。

AWS Docs · AWS Docs

Question 35Domain 2 · Task 2.1 · Select 2

Which TWO are accurate about AWS Agent Squad?

关于 AWS Agent Squad,哪两项是准确的?

多选 · 需选 2 项
解析 / Explanation

正确答案 / Answer: A,B

A. Agent Squad supports heterogeneous agents including Bedrock, Lex, and Lambda-backed agents.

B. The orchestrator keeps shared context so conversations stay coherent as routing changes.

C. Its entire purpose is routing across multiple agents.

D. Agent Squad is an orchestration framework, not a vector store.

E. Classification uses a model/classifier; it does not mandate provisioned capacity.

A. Agent Squad 支持异构代理,包括 Bedrock、Lex 和 Lambda 支持的代理。

B. 编排器保持共享上下文,以便在路由更改时对话保持一致。

C. 它的全部目的是跨多个代理进行路由。

D. Agent Squad 是一个编排框架,而不是矢量存储。

E. 分类使用模型/分类器;它不强制要求配置容量。

AWS Docs · AWS Docs

Question 36Domain 2 · Task 2.1

In Agent Squad, what is the difference between the classifier's view and an individual agent's view of conversation history?

在《特工小队》中,分类器的视图和单个特工的对话历史视图有什么区别?

解析 / Explanation

正确答案 / Answer: A

A. This lets the classifier route with full context while keeping each agent focused on its domain.

B. Agents see only their own history; the global view belongs to the classifier.

C. The classifier specifically uses global context to route.

D. Agent Squad maintains conversation context.

A. 这使得分类器能够根据完整的上下文进行路由,同时使每个代理专注于其域。

B. 特工只能看到自己的历史;全局视图属于分类器。

C. 分类器专门使用全局上下文来进行路由。

D. 特工小队维护对话上下文。

AWS Docs · AWS Docs

Question 37Domain 2 · Task 2.1

How do AWS Strands Agents and AWS Agent Squad differ in purpose?

AWS Strands Agent 和 AWS Agent Squad 的用途有何不同?

解析 / Explanation

正确答案 / Answer: A

A. Strands builds single agents (model + prompt + tools); Agent Squad coordinates many agents.

B. They serve different roles: single-agent SDK vs multi-agent orchestration.

C. This reverses their roles.

D. Neither is a vector store.

A. Strands构建单一代理(模型+提示+工具);特工小队协调众多特工。

B. 它们扮演不同的角色:单代理 SDK 与多代理编排。

C. 这颠倒了他们的角色。

D. 两者都不是矢量存储。

AWS Docs · AWS Docs

Question 38Domain 2 · Task 2.1

A team wants an agent to interleave reasoning with tool actions (think, act, observe, repeat) using structured steps orchestrated on AWS. Which pattern/approach matches?

团队希望代理使用 AWS 上编排的结构化步骤将推理与工具操作(思考、行动、观察、重复)交织在一起。哪种模式/方法匹配?

解析 / Explanation

正确答案 / Answer: A

A. ReAct (Reason + Act) interleaves reasoning and actions; Step Functions can structure these steps.

B. One-shot prompting does not interleave reasoning and tool actions.

C. That reserves capacity; it is not a reasoning pattern.

D. Sharding is storage tuning, unrelated to agent reasoning.

A. ReAct(理性+行动)将推理与行动交织在一起; Step Functions 可以构建这些步骤。

B. 一次性提示不会将推理和工具操作交织在一起。

C. 即储备能力;它不是一种推理模式。

D. 分片是存储调优,与代理推理无关。

AWS Docs · AWS Docs

Question 39Domain 2 · Task 2.1

A complex task benefits from breaking the problem into intermediate reasoning steps before producing a final answer. Which prompting technique is this?

在产生最终答案之前将问题分解为中间推理步骤可以使复杂的任务受益。这是哪一种提示技巧?

解析 / Explanation

正确答案 / Answer: A

A. Chain-of-thought prompts the model to reason through intermediate steps, improving complex task performance.

B. Stop sequences end generation; they do not elicit step-by-step reasoning.

C. top-k controls candidate tokens, not reasoning structure.

D. Hybrid search is a retrieval technique, not a reasoning method.

A. 思维链促使模型通过中间步骤进行推理,从而提高复杂任务的性能。

B. 停止序列结束生成;它们不会引发逐步的推理。

C. top-k 控制候选标记,而不是推理结构。

D. 混合搜索是一种检索技术,而不是推理方法。

AWS Docs · AWS Docs

Question 40Domain 2 · Task 2.1

An agentic workflow must pause for a human to review and approve high-impact actions before continuing. Which approach implements this human-in-the-loop control on AWS?

代理工作流程必须暂停,以便人员在继续之前审查和批准高影响力的操作。哪种方法在 AWS 上实现这种人机交互控制?

解析 / Explanation

正确答案 / Answer: A

A. Step Functions can pause for human approval (task tokens/callbacks) to gate sensitive actions.

B. Temperature affects randomness, not human approval.

C. Removing safeguards is the opposite of controlled human review.

D. Passive storage is not an orchestrated approval mechanism.

A. Step Functions 可以暂停以供人工批准(任务令牌/回调)以控制敏感操作。

B. 温度影响随机性,而不是人类认可度。

C. 取消保障措施与受控人工审查相反。

D. 被动存储不是精心策划的审批机制。

AWS Docs · AWS Docs

Question 41Domain 1 · Task 1.3

A developer calls Amazon Bedrock with the InvokeModel API across several providers and finds each model expects a different request body. What is the most accurate statement?

开发人员通过多个提供商的 InvokeModel API 调用 Amazon Bedrock,并发现每个模型需要不同的请求正文。最准确的说法是什么?

解析 / Explanation

正确答案 / Answer: A

A. With InvokeModel you format the body to the chosen model's native request schema.

B. Native InvokeModel bodies differ per provider/model.

C. Bedrock requests are JSON, and the schema is model-specific.

D. InvokeModel is a primary API for text models.

A. 使用 InvokeModel,您可以将正文格式化为所选模型的本机请求架构。

B. 本机 InvokeModel 主体因提供者/模型而异。

C. Bedrock 请求是 JSON,并且架构是特定于模型的。

D. InvokeModel 是文本模型的主要 API。

AWS Docs

Question 42Domain 1 · Task 1.3

A team wants a single, consistent request/response format for multi-turn chat that works across multiple Bedrock models without hand-coding each model's native schema. Which API should they use?

团队希望为多回合聊天提供单一、一致的请求/响应格式,该格式可以跨多个 Bedrock 模型运行,而无需手动编码每个模型的本机架构。他们应该使用哪个 API?

解析 / Explanation

正确答案 / Answer: A

A. Converse abstracts model-specific formats into a consistent messages structure with roles, simplifying portability.

B. InvokeModel requires per-model formatting, which is what they want to avoid.

C. That ingests data into a Knowledge Base; it is not a chat inference API.

D. Rerank reorders retrieved documents; it is not a chat interface.

A. Converse 将特定于模型的格式抽象为具有角色的一致消息结构,从而简化了可移植性。

B. InvokeModel 需要每个模型的格式化,这是他们想要避免的。

C. 将数据提取到知识库中;它不是聊天推理 API。

D. Rerank 对检索到的文档重新排序;它不是聊天界面。

AWS Docs

Question 43Domain 1 · Task 1.3

When formatting input for a dialog-based application using the Bedrock Converse API, how is the conversation typically structured?

使用 Bedrock Converse API 格式化基于对话框的应用程序的输入时,对话通常是如何构建的?

解析 / Explanation

正确答案 / Answer: A

A. Conversation formatting uses role-tagged messages (user/assistant) and an optional system prompt.

B. Dialog formatting uses structured role-tagged turns, not one undifferentiated string.

C. Conversations are structured messages, not token CSVs.

D. Embeddings are for retrieval, not the chat message structure.

A. 对话格式使用角色标记的消息(用户/助理)和可选的系统提示。

B. 对话框格式使用结构化的角色标记回合,而不是无差别的字符串。

C. 对话是结构化消息,而不是令牌 CSV。

D. 嵌入用于检索,而不是聊天消息结构。

AWS Docs

Question 44Domain 1 · Task 1.3

A pipeline sends requests to an Amazon SageMaker AI real-time endpoint. What determines the required input data format?

管道将请求发送到 Amazon SageMaker AI 实时终端节点。什么决定了所需的输入数据格式?

解析 / Explanation

正确答案 / Answer: A

A. SageMaker endpoints expect input matching the container's content type and the model's input contract.

B. SageMaker input depends on the container, not the Bedrock Converse format.

C. Input must match the endpoint's expected content type/serializer.

D. Format depends on the model; it is not audio-only.

A. SageMaker 端点期望输入与容器的内容类型和模型的输入协定相匹配。

B. SageMaker 输入取决于容器,而不是 Bedrock Converse 格式。

C. 输入必须与端点的预期内容类型/序列化器匹配。

D. Format depends on the model;它不仅仅是音频。

AWS Docs

Question 45Domain 1 · Task 1.3

Inconsistent, messy text is degrading FM response quality. A team wants to normalize and reformat inputs before inference with minimal custom infrastructure. Which approach fits?

不一致、混乱的文本会降低 FM 响应质量。团队希望在推理之前使用最少的自定义基础设施对输入进行标准化和重新格式化。哪种方法适合?

解析 / Explanation

正确答案 / Answer: A

A. Lambda is a low-overhead way to clean and reformat inputs; Comprehend can enrich them prior to inference.

B. Higher temperature adds randomness and does not fix input quality.

C. Hardware does not fix input formatting/quality issues.

D. Skipping preprocessing worsens response quality.

A. Lambda 是一种低开销的方式来清理和重新格式化输入;理解可以在推理之前丰富它们。

B. 较高的温度会增加随机性,并且不会固定输入质量。

C. 硬件无法修复输入格式/质量问题。

D. 跳过预处理会降低响应质量。

AWS Docs

Question 46Domain 1 · Task 1.3

Why is correct input formatting important when integrating foundation models?

为什么在集成基础模型时正确的输入格式很重要?

解析 / Explanation

正确答案 / Answer: A

A. Matching each model's expected request/message format is necessary for valid calls and good output quality.

B. Formatting affects whether the call succeeds and the quality of the response.

C. Input requirements vary by model/API; formatting matters.

D. It applies to text, chat, and other modalities, not just images.

A. 匹配每个模型的预期请求/消息格式对于有效的调用和良好的输出质量是必要的。

B. 格式化影响调用是否成功以及响应的质量。

C. 输入要求因型号/API 而异;格式问题。

D. 它适用于文本、聊天和其他模式,而不仅仅是图像。

AWS Docs

答题卡 已答 0 · 正确 0 · 错误 0