AWS AIP-C01 开源练习 · 困难 · 第 01 套
英文原题与中文机器翻译。本批暂不提供日文题文;日语界面显示英文原文。
开源练习,非 AWS 官方试题。按作者参考答案判分,解析附官方文档链接。
A company runs a high-volume Amazon Bedrock summarization workload with steady, predictable traffic 24 hours a day. The team wants the lowest cost per token while guaranteeing that capacity is always available during business-critical hours. Following the Cost Optimization pillar of the Generative AI Lens, which approach is MOST appropriate?
一家公司每天 24 小时运行大量 Amazon Bedrock 汇总工作负载,流量稳定、可预测。该团队希望每个代币的成本最低,同时保证容量在业务关键时段始终可用。遵循生成式 AI 镜头的成本优化支柱,哪种方法最合适?
- A
Purchase Provisioned Throughput with a committed term for the model.
购买具有模型承诺期限的预配置吞吐量。
- B
Use on-demand inference for every request.
对每个请求使用按需推理。
- C
Run the workload as a nightly Bedrock batch inference job.
将工作负载作为每晚的 Bedrock 批量推理作业运行。
- D
Increase max tokens per request so fewer calls are needed.
增加每个请求的最大令牌数,从而减少需要的调用。
解析 / Explanation
正确答案 / Answer: A
A. For steady, high, predictable volume, a committed Provisioned Throughput model unit lowers cost per token and guarantees dedicated capacity.
B. On-demand pricing suits spiky or unpredictable low volume; at steady high volume it is not the lowest cost and does not reserve capacity.
C. Batch inference is for offline, latency-tolerant jobs; it cannot serve steady real-time traffic.
D. Larger outputs raise cost per call and do not reduce the number of distinct summaries needed.
A. 为了获得稳定、高、可预测的交易量,承诺的预配置吞吐量模型单位可以降低每个代币的成本并保证专用容量。
B. 按需定价适合尖峰或不可预测的小批量;在稳定的高产量下,它不是最低的成本,并且不保留产能。
C. 批量推理适用于离线、耐延迟的作业;它无法提供稳定的实时流量。
D. 较大的输出会增加每次调用的成本,并且不会减少所需的不同摘要的数量。
A regulated company is applying the security and responsible-AI guidance of the Generative AI Lens to a Bedrock assistant. It needs a managed, configurable control plane to block denied topics, filter harmful content, and redact PII consistently across multiple foundation models. Which AWS capability best meets this need with the LEAST custom code?
一家受监管的公司正在将 Generative AI Lens 的安全性和负责任的 AI 指导应用于 Bedrock 助手。它需要一个托管的、可配置的控制平面来阻止拒绝的主题、过滤有害内容并跨多个基础模型一致地编辑 PII。哪种 AWS 功能能够以最少的自定义代码最好地满足这一需求?
- A
Amazon Bedrock Guardrails.
亚马逊基岩护栏。
- B
A set of IAM identity-based policies on the model.
模型上的一组基于 IAM 身份的策略。
- C
CloudWatch alarms on invocation metrics.
CloudWatch 针对调用指标发出警报。
- D
Lowering the model temperature parameter.
降低模型温度参数。
解析 / Explanation
正确答案 / Answer: A
A. Guardrails provide configurable, model-agnostic policies for denied topics, content filters, word filters, and PII redaction that apply consistently across FMs.
B. IAM controls who can call the model, not what content the model may produce or must redact.
C. Alarms detect operational anomalies after the fact; they do not filter or redact content.
D. Temperature affects randomness, not topic blocking, content filtering, or PII redaction.
A. Guardrails 为被拒绝的主题、内容过滤器、单词过滤器和 PII 编辑提供可配置的、与模型无关的策略,这些策略在 FM 中一致应用。
B. IAM 控制谁可以调用模型,而不控制模型可能生成或必须编辑的内容。
C. 警报在事后检测到操作异常;他们不会过滤或编辑内容。
D. 温度影响随机性,而不影响主题阻止、内容过滤或 PII 编辑。
An interactive customer assistant must minimize the latency end users perceive while keeping output quality acceptable for routine questions. Which combination best reflects the Performance Efficiency pillar for a Bedrock workload?
交互式客户助理必须最大限度地减少最终用户感知的延迟,同时保持常规问题的输出质量可接受。哪种组合最能反映 Bedrock 工作负载的性能效率支柱?
- A
Select a smaller, latency-optimized (or distilled) model and stream tokens to the client.
选择一个较小的、延迟优化(或蒸馏)的模型并将令牌流式传输到客户端。
- B
Always use the largest available model for every request.
对于每个请求,始终使用最大的可用模型。
- C
Route all interactive traffic through batch inference.
通过批量推理路由所有交互流量。
- D
Increase max tokens to ensure complete answers.
增加最大标记以确保完整答案。
解析 / Explanation
正确答案 / Answer: A
A. Right-sizing to a smaller/distilled model reduces inference time, and response streaming lowers perceived latency by showing tokens as they are generated.
B. The largest model maximizes capability but adds latency and cost that routine questions do not require.
C. Batch inference is asynchronous and offline; it is unsuitable for interactive latency.
D. Larger outputs increase generation time, worsening perceived latency.
A. 调整为较小/精炼模型可以减少推理时间,响应流通过显示生成的令牌来降低感知延迟。
B. 最大的模型可以最大化功能,但会增加常规问题不需要的延迟和成本。
C. 批量推理是异步且离线的;它不适合交互延迟。
D. 较大的输出会增加生成时间,从而加剧感知延迟。
A platform team wants to operationalize quality assurance for a deployed generative AI feature so regressions are caught automatically as models and prompts change. Which practice best reflects the Operational Excellence pillar?
平台团队希望为已部署的生成式 AI 功能实施质量保证,以便在模型和提示发生变化时自动捕获回归。哪种实践最能体现卓越运营支柱?
- A
Establish automated evaluation pipelines with continuous monitoring of output quality and drift, feeding results back into release decisions.
建立自动化评估管道,持续监控输出质量和漂移,将结果反馈到发布决策中。
- B
Run a single manual quality check before the initial launch.
在首次启动之前运行一次手动质量检查。
- C
Rely on end-user complaints to surface quality problems.
依靠最终用户的投诉来解决表面质量问题。
- D
Monitor only infrastructure metrics such as CPU and memory.
仅监控基础设施指标,例如 CPU 和内存。
解析 / Explanation
正确答案 / Answer: A
A. Operational Excellence emphasizes automating evaluation and observability so quality is measured continuously and improvements are driven by data.
B. A one-time check does not catch regressions introduced by later model or prompt changes.
C. Waiting for complaints is reactive and lets defects reach users undetected.
D. Infrastructure health says nothing about generation quality or drift.
A. 卓越运营强调自动化评估和可观察性,以便持续衡量质量并由数据驱动改进。
B. 一次性检查不会捕获后续模型或提示更改引入的回归。
C. 等待投诉是被动的,会让缺陷在未被发现的情况下到达用户手中。
D. 基础设施的健康状况与发电质量或漂移无关。
A security team is hardening a Bedrock workload according to the Security pillar of the Generative AI Lens. Which TWO practices should they adopt? (Select TWO.)
安全团队正在根据生成式 AI 镜头的安全支柱强化基岩工作负载。他们应该采用哪两种做法? (选择两项。)
- A
Apply least-privilege IAM with condition keys (for example, requiring a specific bedrock:GuardrailIdentifier) for model access.
应用带有条件键的最低权限 IAM(例如,需要特定的基岩:GuardrailIdentifier)进行模型访问。
- B
Encrypt data at rest with AWS KMS and reach Bedrock through VPC endpoints to keep traffic on the AWS network.
使用 AWS KMS 加密静态数据并通过 VPC 终端节点到达 Bedrock,以保持 AWS 网络上的流量。
- C
Embed long-lived IAM access keys in the application package.
将长期存在的 IAM 访问密钥嵌入到应用程序包中。
- D
Send prompts to a public endpoint without TLS to reduce overhead.
在不使用 TLS 的情况下将提示发送到公共端点以减少开销。
- E
Disable all logging to minimize the data footprint.
禁用所有日志记录以最大限度地减少数据占用。
解析 / Explanation
正确答案 / Answer: A,B
A. Least-privilege identity-based policies with condition keys restrict who can call models and can enforce that guardrails are applied.
B. Customer-managed encryption and private connectivity protect data confidentiality and reduce exposure of prompts and outputs.
C. Long-lived embedded keys are a major security risk and violate credential best practices.
D. Unencrypted transport exposes sensitive prompt and response data.
E. Disabling logging removes the audit trail needed for security monitoring and compliance.
A. 带有条件键的基于身份的最小权限策略限制了谁可以调用模型,并可以强制应用护栏。
B. 客户管理的加密和专用连接可保护数据机密性并减少提示和输出的暴露。
C. 长期嵌入的密钥是一个主要的安全风险,并且违反了凭证最佳实践。
D. 未加密的传输会暴露敏感的提示和响应数据。
E. 禁用日志记录会删除安全监控和合规性所需的审核跟踪。
A company must classify tens of millions of archived documents with a foundation model. Results are consumed by an analytics team the next day, so real-time latency is unnecessary. Which approach best satisfies the Cost Optimization and Sustainability pillars?
公司必须使用基础模型对数千万个存档文档进行分类。结果将在第二天由分析团队使用,因此不需要实时延迟。哪种方法最能满足成本优化和可持续性支柱?
- A
Use Amazon Bedrock batch inference with a right-sized model.
将 Amazon Bedrock 批量推理与大小合适的模型结合使用。
- B
Provision dedicated throughput and keep it running 24/7.
提供专用吞吐量并保持 24/7 运行。
- C
Invoke the model in real time, one document per request, as fast as possible.
尽可能快地实时调用模型,每个请求一个文档。
- D
Use the largest available model for every document in real time.
实时为每个文档使用最大的可用模型。
解析 / Explanation
正确答案 / Answer: A
A. Batch inference processes large datasets asynchronously at lower cost, and a right-sized model avoids over-provisioning compute for a latency-tolerant job.
B. A continuously provisioned endpoint wastes capacity for a once-daily, latency-tolerant job.
C. High-volume real-time invocation is more expensive and unnecessary when results are needed only the next day.
D. This maximizes cost and energy use with no benefit for a non-interactive workload.
A. 批量推理以较低的成本异步处理大型数据集,并且大小合适的模型可以避免为容忍延迟的作业过度配置计算。
B. 连续配置的端点会浪费每日一次的延迟容忍作业的容量。
C. 当仅在第二天需要结果时,大容量实时调用成本更高且不必要。
D. 这最大限度地提高了成本和能源使用,但对非交互式工作负载没有任何好处。
A RAG chatbot resends a large, static system prompt plus a lengthy policy document with every request. Token costs and latency are climbing because the same context is reprocessed each time. Which Bedrock capability reduces cost and latency for the repeated context with the LEAST change to the application?
RAG 聊天机器人会针对每个请求重新发送大型静态系统提示以及冗长的策略文档。由于每次都会重新处理相同的上下文,因此令牌成本和延迟不断攀升。哪种基岩功能可以降低重复上下文的成本和延迟,并且对应用程序的更改最少?
- A
Enable prompt caching so the static portion of the prompt is reused across requests.
启用提示缓存,以便跨请求重用提示的静态部分。
- B
Increase the temperature parameter.
增加温度参数。
- C
Switch the workload to Provisioned Throughput.
将工作负载切换到预配置吞吐量。
- D
Move to a model with a larger context window.
移至具有较大上下文窗口的模型。
解析 / Explanation
正确答案 / Answer: A
A. Prompt caching stores and reuses repeated prompt prefixes, cutting both the tokens billed and the latency for the unchanging context.
B. Temperature changes output randomness and has no effect on cost or latency of repeated context.
C. Provisioned Throughput reserves capacity but still reprocesses the repeated context on every call and changes the pricing model significantly.
D. A larger context window does not reduce the cost of reprocessing the same tokens each request.
A. 提示缓存存储并重用重复的提示前缀,从而减少计费令牌和不变上下文的延迟。
B. 温度会改变输出的随机性,并且对重复上下文的成本或延迟没有影响。
C. 预配置吞吐量保留了容量,但仍重新处理每次调用的重复上下文,并显着改变了定价模型。
D. 较大的上下文窗口不会降低每个请求重新处理相同令牌的成本。
A company needs a high-quality, human-labeled dataset to support supervised fine-tuning of a model. It wants managed labeling workflows, the option of a private or vendor workforce, and built-in quality controls, with minimal infrastructure to manage. Which service is MOST appropriate?
公司需要高质量的人工标记数据集来支持模型的监督微调。它需要托管标签工作流程、私人或供应商劳动力的选择以及内置的质量控制,并且需要管理的基础设施最少。哪种服务最合适?
- A
Amazon SageMaker Ground Truth.
Amazon SageMaker 地面真相。
- B
AWS Glue DataBrew.
AWS Glue DataBrew。
- C
Amazon Comprehend.
亚马逊理解。
- D
Amazon Macie.
亚马逊麦西.
解析 / Explanation
正确答案 / Answer: A
A. Ground Truth provides managed data-labeling workflows, workforce options (private, vendor, or Mechanical Turk), and quality features such as annotation consolidation.
B. DataBrew cleans and normalizes tabular data; it does not run human annotation workflows.
C. Comprehend performs automated NLP such as entity and PII detection, not managed human labeling.
D. Macie discovers and classifies sensitive data; it does not label datasets for training.
A. Ground Truth 提供托管数据标签工作流程、劳动力选项(私人、供应商或 Mechanical Turk)以及注释整合等质量功能。
B. DataBrew 清理并规范化表格数据;它不运行人工注释工作流程。
C. Comprehend 执行自动化 NLP,例如实体和 PII 检测,而不是托管人工标记。
D. Macie 发现敏感数据并对其进行分类;它不会标记用于训练的数据集。
A data scientist must clean, transform, and engineer features from large tabular datasets before training, and wants a mostly visual, low-code flow that exports prepared data to Amazon S3. Which service fits best?
数据科学家必须在训练之前清理、转换和设计大型表格数据集中的特征,并且需要一个主要可视化的低代码流程将准备好的数据导出到 Amazon S3。哪种服务最适合?
- A
Amazon SageMaker Data Wrangler.
Amazon SageMaker 数据牧马人。
- B
Amazon Athena.
亚马逊雅典娜。
- C
Amazon QuickSight.
亚马逊 QuickSight。
- D
Amazon Kendra.
亚马逊肯德拉。
解析 / Explanation
正确答案 / Answer: A
A. Data Wrangler offers a visual, low-code interface for importing, cleaning, transforming, and exporting tabular data for ML, reducing custom preprocessing code.
B. Athena queries data in S3 with SQL but is not a guided data-preparation and feature-engineering tool.
C. QuickSight is for business-intelligence dashboards, not ML data preparation.
D. Kendra is an enterprise search service, not a data-prep tool.
A. Data Wrangler 提供了一个可视化的低代码界面,用于导入、清理、转换和导出 ML 的表格数据,从而减少自定义预处理代码。
B. Athena 使用 SQL 查询 S3 中的数据,但不是引导式数据准备和特征工程工具。
C. QuickSight 适用于商业智能仪表板,而不是 ML 数据准备。
D. Kendra 是一种企业搜索服务,而不是数据准备工具。
Thousands of raw JSON and CSV documents land in Amazon S3 daily and must be cleaned, normalized, and partitioned at scale before being ingested into a knowledge base. The team wants a serverless solution with the LEAST operational overhead. Which service should they use?
每天都有数以千计的原始 JSON 和 CSV 文档进入 Amazon S3,在提取到知识库之前必须进行大规模清理、规范化和分区。该团队想要一个运营开销最少的无服务器解决方案。他们应该使用哪种服务?
- A
AWS Glue serverless ETL jobs.
AWS Glue 无服务器 ETL 作业。
- B
An Amazon EMR cluster running Spark.
运行 Spark 的 Amazon EMR 集群。
- C
A fleet of EC2 instances running batch scripts.
运行批处理脚本的 EC2 实例队列。
- D
One AWS Lambda invocation per file with custom parsing.
每个文件一次 AWS Lambda 调用并进行自定义解析。
解析 / Explanation
正确答案 / Answer: A
A. Glue runs serverless Apache Spark ETL that cleans, transforms, and partitions large datasets without provisioning or managing clusters.
B. EMR is powerful but requires provisioning and managing cluster capacity, adding operational overhead.
C. Self-managed EC2 batch processing maximizes operational overhead.
D. Per-file Lambda parsing is hard to coordinate at scale and hits timeout and orchestration limits for large ETL.
A. Glue 运行无服务器 Apache Spark ETL,可以清理、转换和分区大型数据集,而无需配置或管理集群。
B. EMR 功能强大,但需要配置和管理集群容量,从而增加了运营开销。
C. 自我管理的 EC2 批处理可最大限度地提高运营开销。
D. 每个文件的 Lambda 解析很难大规模协调,并且会遇到大型 ETL 的超时和编排限制。
Before building a training corpus, a company must discover and classify where sensitive data and PII reside across hundreds of Amazon S3 buckets. Which service is purpose-built for this discovery task?
在构建训练语料库之前,公司必须发现敏感数据和 PII 位于数百个 Amazon S3 存储桶中的位置并进行分类。哪种服务是专门为此发现任务构建的?
- A
Amazon Macie.
亚马逊麦西.
- B
Amazon Comprehend.
亚马逊理解。
- C
Amazon Inspector.
亚马逊检查员。
- D
Amazon GuardDuty.
亚马逊 GuardDuty。
解析 / Explanation
正确答案 / Answer: A
A. Macie uses managed data identifiers and machine learning to discover and classify sensitive data and PII across S3 at scale.
B. Comprehend detects and can redact PII within individual text inputs but is not designed to inventory sensitive data across many buckets.
C. Inspector assesses workloads for software vulnerabilities, not sensitive-data classification.
D. GuardDuty is a threat-detection service for accounts and workloads, not data classification.
A. Macie 使用托管数据标识符和机器学习来大规模发现和分类 S3 中的敏感数据和 PII。
B. Comprehend 可以检测并编辑各个文本输入中的 PII,但其设计目的不是跨多个存储桶清点敏感数据。
C. Inspector 评估软件漏洞的工作负载,而不是敏感数据分类。
D. GuardDuty 是针对帐户和工作负载的威胁检测服务,而不是数据分类服务。
A company plans to fine-tune a model on customer chat transcripts but must programmatically remove personally identifiable information from the free text before training. Which service should it use to detect and redact the PII?
一家公司计划微调客户聊天记录的模型,但必须在训练之前以编程方式从自由文本中删除个人身份信息。应使用哪种服务来检测和编辑 PII?
- A
Amazon Comprehend PII detection and redaction.
Amazon Comprehend PII 检测和编辑。
- B
Amazon Macie.
亚马逊麦西.
- C
Amazon Textract.
亚马逊文本。
- D
Amazon Rekognition.
亚马逊重新识别。
解析 / Explanation
正确答案 / Answer: A
A. Comprehend can detect PII entities in text and redact or mask them, producing sanitized transcripts suitable for training.
B. Macie classifies and reports on sensitive data in S3 but does not redact PII inside text for downstream training.
C. Textract extracts text from scanned documents; it does not specialize in PII redaction of conversational text.
D. Rekognition analyzes images and video, not text PII.
A. Comprehend 可以检测文本中的 PII 实体并对其进行编辑或屏蔽,从而生成适合训练的经过净化的转录本。
B. Macie 对 S3 中的敏感数据进行分类和报告,但不会编辑文本内的 PII 以进行下游训练。
C. Textract 从扫描文档中提取文本;它并不专注于会话文本的 PII 编辑。
D. Rekognition 分析图像和视频,而不是文本 PII。
Before fine-tuning, a team wants to measure class imbalance and representation bias in the training dataset so they can correct it. Which capability is designed for pre-training bias analysis?
在微调之前,团队希望测量训练数据集中的类别不平衡和表示偏差,以便他们可以纠正它。哪种功能是为训练前偏差分析而设计的?
- A
Amazon SageMaker Clarify.
亚马逊 SageMaker 澄清。
- B
Amazon SageMaker Model Monitor.
Amazon SageMaker 模型监视器。
- C
Amazon CloudWatch.
亚马逊云观察。
- D
Amazon Comprehend.
亚马逊理解。
解析 / Explanation
正确答案 / Answer: A
A. Clarify computes pre-training bias metrics on datasets (and post-training bias and feature-attribution explanations on models).
B. Model Monitor detects drift on a deployed endpoint, not bias in a training dataset before training.
C. CloudWatch monitors operational metrics, not dataset bias.
D. Comprehend performs NLP tasks, not dataset bias measurement.
A. Clarify 计算数据集的训练前偏差指标(以及模型的训练后偏差和特征归因解释)。
B. 模型监视器检测已部署端点上的漂移,而不是训练前训练数据集中的偏差。
C. CloudWatch 监控运营指标,而不是数据集偏差。
D. Comprehend 执行 NLP 任务,而不是数据集偏差测量。
A developer is assembling a dataset to fine-tune an Amazon Bedrock model for a supervised task. What is the correct way to provide the training data?
开发人员正在组装数据集,以针对监督任务微调 Amazon Bedrock 模型。提供训练数据的正确方法是什么?
- A
Upload a JSONL file of prompt/completion (or messages) examples to Amazon S3 in the format the model expects.
以模型期望的格式将提示/完成(或消息)示例的 JSONL 文件上传到 Amazon S3。
- B
Upload a single large PDF of reference material.
上传一份大型 PDF 参考资料。
- C
Provide only unlabeled raw text with no prompt/response pairs.
仅提供未标记的原始文本,没有提示/响应对。
- D
Point the job at a DynamoDB table of records.
将作业指向 DynamoDB 记录表。
解析 / Explanation
正确答案 / Answer: A
A. Bedrock customization expects labeled examples as JSONL records in S3 that match the target model's schema.
B. An unstructured PDF is not a labeled training dataset; that pattern suits RAG ingestion, not supervised fine-tuning.
C. Unlabeled text is for continued pre-training, not supervised fine-tuning, which needs labeled pairs.
D. Fine-tuning reads training data from S3 in the required file format, not from DynamoDB.
A. Bedrock 自定义期望标记示例为 S3 中与目标模型架构匹配的 JSONL 记录。
B. 非结构化 PDF 不是带标签的训练数据集;该模式适合 RAG 摄取,而不是监督微调。
C. 未标记的文本用于持续的预训练,而不是有监督的微调,这需要标记对。
D. 微调以所需的文件格式从 S3 读取训练数据,而不是从 DynamoDB 读取。
A governance team must document each model's intended use, training data, evaluation results, and risk ratings in a standardized, auditable form, with the least custom build. Which AWS feature should they use?
治理团队必须以标准化、可审计的形式记录每个模型的预期用途、训练数据、评估结果和风险评级,并尽量减少自定义构建。他们应该使用哪些 AWS 功能?
- A
Amazon SageMaker Model Cards.
Amazon SageMaker 模型卡。
- B
AWS CloudTrail.
AWS CloudTrail。
- C
AWS Config.
AWS 配置。
- D
A free-form README stored in S3.
存储在 S3 中的自由格式自述文件。
解析 / Explanation
正确答案 / Answer: A
A. Model Cards capture intended use, training details, evaluation, and risk information in a standardized, versioned, auditable document.
B. CloudTrail records API activity, not model documentation and governance metadata.
C. Config tracks resource configuration compliance, not model documentation.
D. A custom README lacks the standardized structure, versioning, and governance integration of Model Cards.
A. 模型卡在标准化、版本化、可审核的文档中捕获预期用途、培训详细信息、评估和风险信息。
B. CloudTrail 记录 API 活动,而不是模型文档和治理元数据。
C. Config 跟踪资源配置合规性,而不是模型文档。
D. 自定义自述文件缺乏模型卡的标准化结构、版本控制和治理集成。
A team is preparing a dataset to fine-tune a foundation model and wants to maximize resulting quality while avoiding overfitting and data leakage. Which TWO data-preparation steps best support these goals? (Select TWO.)
一个团队正在准备数据集来微调基础模型,并希望最大限度地提高结果质量,同时避免过度拟合和数据泄漏。哪两个数据准备步骤最能支持这些目标? (选择两项。)
- A
Deduplicate and clean/normalize the examples.
对示例进行重复数据删除和清理/标准化。
- B
Hold out a separate validation/test split that does not overlap the training data.
进行单独的验证/测试分割,不与训练数据重叠。
- C
Include duplicate records to increase the dataset size.
包含重复记录以增加数据集大小。
- D
Include PII in the examples to add more signal.
在示例中包含 PII 以添加更多信号。
- E
Increase the number of training epochs regardless of validation loss.
无论验证损失如何,都增加训练纪元的数量。
解析 / Explanation
正确答案 / Answer: A,B
A. Removing duplicates and normalizing inconsistent text reduces bias toward repeated samples and improves the signal the model learns from.
B. A non-overlapping evaluation split prevents train/test leakage and gives an honest measure of generalization.
C. Duplication inflates size artificially and encourages overfitting to repeated examples.
D. Including PII creates privacy and compliance risk and does not improve task quality.
E. Blindly adding epochs is a training hyperparameter choice, not data preparation, and risks overfitting.
A. 删除重复项和标准化不一致的文本可以减少对重复样本的偏差,并改善模型学习的信号。
B. 不重叠的评估分割可以防止训练/测试泄漏,并提供诚实的泛化度量。
C. 重复会人为地夸大大小,并导致对重复示例的过度拟合。
D. 包含 PII 会带来隐私和合规风险,并且不会提高任务质量。
E. 盲目添加纪元是训练超参数的选择,而不是数据准备,并且存在过度拟合的风险。
A real-time chat router must classify incoming messages into a small set of intents. The task is simple, but volume is very high and the team wants the lowest latency and cost. Which Amazon Nova model is MOST appropriate?
实时聊天路由器必须将传入消息分类为一小组意图。任务很简单,但数量非常大,团队希望延迟和成本最低。哪种 Amazon Nova 型号最合适?
- A
Amazon Nova Micro.
亚马逊新星微。
- B
Amazon Nova Pro.
亚马逊 Nova Pro。
- C
Amazon Nova Canvas.
亚马逊新星画布。
- D
Amazon Nova Reel.
亚马逊 Nova 卷轴。
解析 / Explanation
正确答案 / Answer: A
A. Nova Micro is the text-only, lowest-latency, lowest-cost Nova model, well suited to high-volume, simple text tasks such as intent classification.
B. Nova Pro is the most capable multimodal Nova model, with higher cost and latency than a simple classification task requires.
C. Nova Canvas generates images and is not used for text classification.
D. Nova Reel generates video and is irrelevant to text intent classification.
A. Nova Micro 是纯文本、延迟最低、成本最低的 Nova 模型,非常适合大容量、简单的文本任务,例如意图分类。
B. Nova Pro 是功能最强大的多模式 Nova 模型,与简单的分类任务相比,其成本和延迟更高。
C. Nova Canvas 生成图像,不用于文本分类。
D. Nova Reel 生成视频,与文本意图分类无关。
A company is satisfied with the accuracy of a large foundation model but needs lower inference cost and latency in production for a well-defined task. Which Amazon Bedrock capability is designed to transfer the larger model's quality to a smaller, cheaper model?
一家公司对大型基础模型的准确性感到满意,但对于明确定义的任务,需要更低的推理成本和生产延迟。哪种 Amazon Bedrock 功能旨在将较大模型的质量转移到更小、更便宜的模型?
- A
Model distillation, training a smaller student model from the larger teacher model.
模型蒸馏,从较大的教师模型训练较小的学生模型。
- B
Cross-Region inference.
跨区域推理。
- C
Provisioned Throughput.
预置吞吐量。
- D
Prompt caching.
提示缓存。
解析 / Explanation
正确答案 / Answer: A
A. Bedrock model distillation generates data from a teacher model to fine-tune a smaller student that approximates its quality at lower cost and latency.
B. Cross-Region inference distributes load across Regions for throughput; it does not reduce per-call model size or cost.
C. Provisioned Throughput reserves capacity for a chosen model but does not create a smaller, cheaper model.
D. Prompt caching reuses repeated prompt prefixes but does not change the model used for inference.
A. 基岩模型蒸馏从教师模型中生成数据,以对较小的学生进行微调,以较低的成本和延迟来近似其质量。
B. 跨区域推理将负载分布到各个区域以提高吞吐量;它不会减少每次调用模型的大小或成本。
C. 预配置吞吐量为所选模型保留容量,但不会创建更小、更便宜的模型。
D. 提示缓存重用重复的提示前缀,但不会更改用于推理的模型。
An assistant must answer using internal documents that change frequently, and answers must always reflect the latest content. Which approach meets this with the LOWEST ongoing maintenance?
助理必须使用经常更改的内部文档进行回答,并且答案必须始终反映最新内容。哪种方法可以以最低的持续维护来满足这一要求?
- A
Retrieval-Augmented Generation with a knowledge base over the documents.
具有文档知识库的检索增强生成。
- B
Fine-tune the model nightly on the latest documents.
每晚根据最新文档微调模型。
- C
Use continued pre-training whenever documents change.
每当文档发生变化时,就使用持续的预训练。
- D
Paste all documents into every prompt.
将所有文档粘贴到每个提示中。
解析 / Explanation
正确答案 / Answer: A
A. RAG retrieves the current documents at query time, so updated content is reflected immediately without retraining the model.
B. Repeated fine-tuning is costly and operationally heavy and still lags behind document changes between runs.
C. Continued pre-training is even heavier than fine-tuning and is not how you keep answers current.
D. Stuffing all documents into the prompt is costly, hits context limits, and does not scale as the corpus grows.
A. RAG 在查询时检索当前文档,因此更新的内容会立即反映,而无需重新训练模型。
B. 重复的微调成本高昂,操作繁重,并且仍然落后于运行之间的文档更改。
C. 持续的预训练比微调更重要,并且不是保持答案最新的方式。
D. 将所有文档填充到提示中成本高昂,会达到上下文限制,并且不会随着语料库的增长而扩展。
Prompt engineering has not reliably produced a company's required brand voice and a strict, consistent output format. The underlying domain knowledge is stable and does not change often. Which customization approach is MOST appropriate?
及时的工程并没有可靠地产生公司所需的品牌声音和严格、一致的输出格式。底层领域知识是稳定的,不会经常改变。哪种定制方法最合适?
- A
Fine-tune the model on labeled examples that demonstrate the desired tone and format.
在展示所需语气和格式的标记示例上微调模型。
- B
Add a knowledge base and use RAG.
添加知识库并使用 RAG。
- C
Increase the temperature parameter.
增加温度参数。
- D
Purchase Provisioned Throughput.
购买预配置吞吐量。
解析 / Explanation
正确答案 / Answer: A
A. Fine-tuning teaches consistent style and formatting from examples and is appropriate when the behavior, not freshness of facts, is the gap.
B. RAG supplies fresh facts but does not reliably enforce tone and output formatting.
C. Higher temperature increases variability, working against a consistent voice and format.
D. Provisioned Throughput affects capacity and cost, not the model's style or formatting behavior.
A. 微调可以从示例中教授一致的风格和格式,并且当行为(而不是事实的新鲜度)存在差距时是适当的。
B. RAG 提供了新的事实,但不能可靠地强制执行语气和输出格式。
C. 较高的温度会增加可变性,不利于一致的语音和格式。
D. 预置吞吐量影响容量和成本,而不是模型的样式或格式化行为。
A firm wants a model to deeply absorb specialized domain vocabulary and patterns from a very large corpus of unlabeled internal text. Which Amazon Bedrock customization method fits this goal?
一家公司希望有一个模型能够从非常大的未标记内部文本语料库中深入吸收专业领域词汇和模式。哪种 Amazon Bedrock 定制方法适合此目标?
- A
Continued pre-training on the unlabeled corpus.
继续在未标记的语料库上进行预训练。
- B
Supervised fine-tuning on labeled prompt/completion pairs.
对标记的提示/完成对进行监督微调。
- C
Retrieval-Augmented Generation.
检索增强生成。
- D
Model distillation.
模型蒸馏。
解析 / Explanation
正确答案 / Answer: A
A. Continued pre-training adapts a model to domain language using large volumes of unlabeled text.
B. Fine-tuning needs labeled examples and targets specific task behavior rather than broad domain-language adaptation.
C. RAG injects retrieved context at inference time but does not change what the model has learned.
D. Distillation compresses a larger model into a smaller one; it is not a method for absorbing a domain corpus.
A. 持续的预训练使用大量未标记的文本使模型适应领域语言。
B. 微调需要标记的示例并针对特定的任务行为,而不是广泛的领域语言适应。
C. RAG 在推理时注入检索到的上下文,但不会更改模型学到的内容。
D. 蒸馏将较大的模型压缩为较小的模型;它不是吸收领域语料库的方法。
A compliance summarizer must produce highly consistent, low-variability output and avoid creative phrasing. Which TWO inference-parameter adjustments best support more deterministic, focused responses? (Select TWO.)
合规性总结者必须产生高度一致、低可变性的输出,并避免创造性的措辞。哪两个推理参数调整最能支持更具确定性、更有针对性的响应? (选择两项。)
- A
Lower the temperature.
降温。
- B
Lower top-p (nucleus sampling).
降低 top-p(核采样)。
- C
Raise the temperature substantially.
大幅提高温度。
- D
Greatly increase top-k to consider many tokens.
大幅增加top-k来考虑很多代币。
- E
Increase max tokens.
增加最大令牌数。
解析 / Explanation
正确答案 / Answer: A,B
A. A low temperature reduces randomness, making outputs more deterministic and repeatable.
B. A lower top-p narrows the token pool to the most probable tokens, reducing variability.
C. Higher temperature increases randomness, the opposite of the requirement.
D. A large top-k widens the candidate pool and increases variability.
E. Max tokens controls output length, not determinism.
A. 低温会降低随机性,使输出更具确定性和可重复性。
B. 较低的 top-p 将代币池缩小到最可能的代币,从而减少可变性。
C. 较高的温度会增加随机性,这与要求相反。
D. 较大的 top-k 扩大了候选池并增加了可变性。
E. 最大令牌控制输出长度,而不是确定性。
A team must run sentiment analysis over 10 million archived product reviews. The results are needed for a weekly report, so latency does not matter, and cost should be minimized. Which Amazon Bedrock option fits best?
团队必须对 1000 万条存档产品评论进行情绪分析。每周报告需要结果,因此延迟并不重要,并且成本应该最小化。哪种 Amazon Bedrock 选项最适合?
- A
Amazon Bedrock batch inference.
Amazon Bedrock 批量推理。
- B
A loop of real-time InvokeModel calls.
实时 InvokeModel 调用的循环。
- C
Provisioned Throughput running continuously.
预配置吞吐量连续运行。
- D
Increase max tokens to process more reviews per call.
增加最大令牌以在每次调用时处理更多评论。
解析 / Explanation
正确答案 / Answer: A
A. Batch inference processes large datasets asynchronously at a lower price point, ideal for latency-tolerant, high-volume jobs.
B. Per-record real-time calls are more expensive and unnecessary for a weekly, offline report.
C. Reserved capacity running 24/7 wastes money for a once-weekly job.
D. Max tokens does not batch records and would not reduce overall cost for this workload.
A. 批量推理以较低的价格异步处理大型数据集,非常适合延迟容忍的大批量作业。
B. 对于每周的离线报告来说,每条记录的实时调用成本更高,而且没有必要。
C. 保留容量运行 24/7 每周一次的工作会浪费金钱。
D. 最大令牌不会批量记录,也不会降低此工作负载的总体成本。
A startup's Bedrock usage is spiky and unpredictable, with long idle periods between bursts. They want to pay only for what they use and avoid paying for idle capacity. Which pricing/inference choice is MOST cost-effective?
初创公司的基岩使用量是尖峰且不可预测的,两次爆发之间的空闲期很长。他们只想为自己使用的资源付费,避免为闲置容量付费。哪种定价/推理选择最具成本效益?
- A
On-demand inference.
按需推理。
- B
Provisioned Throughput with a 6-month commitment.
承诺 6 个月提供吞吐量。
- C
Batch inference for all traffic.
所有流量的批量推理。
- D
A dedicated SageMaker endpoint kept always on.
专用 SageMaker 端点始终保持开启状态。
解析 / Explanation
正确答案 / Answer: A
A. On-demand pricing charges per request with no commitment, which is most cost-effective for spiky, unpredictable, low-utilization traffic.
B. A commitment pays for reserved capacity that sits idle during the long quiet periods.
C. Batch is offline and cannot serve interactive, bursty requests.
D. An always-on endpoint incurs cost during idle periods, defeating the goal.
A. 按请求按需定价,无需承诺,这对于尖峰、不可预测、低利用率的流量来说最具成本效益。
B. 承诺为在长时间安静期间闲置的保留容量付费。
C. 批处理处于脱机状态,无法处理交互式突发请求。
D. 始终在线的端点会在空闲期间产生成本,从而达不到目标。
A team must compare two candidate foundation models for a summarization use case across relevance and coherence at scale, without standing up a human rating panel. Which approach has the LEAST operational overhead?
团队必须在规模上比较两个候选基础模型的相关性和连贯性的摘要用例,而无需设立人工评级小组。哪种方法的运营开销最少?
- A
Use an Amazon Bedrock model evaluation job with an LLM-as-a-judge (automatic) evaluator.
将 Amazon Bedrock 模型评估作业与 LLM-as-a-judge(自动)评估器结合使用。
- B
Recruit and manage a human evaluation panel for all outputs.
招募并管理所有产出的人工评估小组。
- C
Spot-check a handful of outputs manually in a notebook.
在笔记本中手动抽查少量输出。
- D
Compare CloudWatch latency metrics for the two models.
比较两个模型的 CloudWatch 延迟指标。
解析 / Explanation
正确答案 / Answer: A
A. Bedrock model evaluation supports automatic LLM-as-a-judge scoring across quality dimensions at scale with minimal setup.
B. Human-only evaluation is accurate but operationally heavy and slow at scale.
C. Ad hoc manual review is not systematic or scalable for a reliable comparison.
D. Latency metrics do not measure summarization relevance or coherence.
A. 基岩模型评估支持以最少的设置在质量维度上以法学硕士为评委进行自动评分。
B. 仅人工评估是准确的,但操作繁重且规模缓慢。
C. 临时手动审核不具有系统性或可扩展性,无法进行可靠的比较。
D. 延迟指标不衡量摘要的相关性或一致性。
A developer wants one consistent API to hold multi-turn conversations and use tool calling across several different Bedrock models, without writing model-specific request and response handling. Which API should they use?
开发人员希望有一个一致的 API 来进行多轮对话,并在多个不同的 Bedrock 模型之间使用工具调用,而无需编写特定于模型的请求和响应处理。他们应该使用哪个 API?
- A
The Amazon Bedrock Converse API.
亚马逊 Bedrock Converse API。
- B
A separate InvokeModel integration per model with custom payloads.
每个模型都有一个单独的 InvokeModel 集成,具有自定义负载。
- C
Custom adapter code in front of each model.
每个模型前面的自定义适配器代码。
- D
Amazon API Gateway request mapping templates.
Amazon API Gateway 请求映射模板。
解析 / Explanation
正确答案 / Answer: A
A. Converse provides a unified, model-agnostic interface for multi-turn messages and tool use across supported Bedrock models.
B. Per-model InvokeModel payloads require model-specific request/response handling, which Converse abstracts away.
C. Building adapters reinvents what the Converse API already standardizes.
D. API Gateway mapping does not normalize differing model message and tool-use formats.
A. Converse 为跨受支持的 Bedrock 模型的多轮消息和工具使用提供了一个与模型无关的统一界面。
B. 每个模型的 InvokeModel 有效负载需要模型特定的请求/响应处理,Converse 对此进行了抽象。
C. 构建适配器重塑了 Converse API 已经标准化的内容。
D. API 网关映射不会规范不同的模型消息和工具使用格式。
An application already calls a supported Bedrock model and the team wants to reduce token-generation latency with the smallest possible application change. Which option should they evaluate first?
应用程序已经调用了受支持的 Bedrock 模型,并且团队希望通过尽可能最小的应用程序更改来减少令牌生成延迟。他们应该首先评估哪个选项?
- A
Enable latency-optimized inference for the supported model.
为支持的模型启用延迟优化推理。
- B
Switch to a larger, more capable model.
切换到更大、功能更强大的型号。
- C
Move the workload to batch inference.
将工作负载转移到批量推理。
- D
Add more retries to the client.
向客户端添加更多重试。
解析 / Explanation
正确答案 / Answer: A
A. Latency-optimized inference reduces response latency for supported models without an application rewrite.
B. A larger model typically increases latency rather than reducing it.
C. Batch inference is asynchronous and increases, not decreases, time-to-response.
D. Retries handle failures; they do not lower per-request latency.
A. 延迟优化推理可减少支持模型的响应延迟,而无需重写应用程序。
B. 较大的模型通常会增加而不是减少延迟。
C. 批量推理是异步的,会增加而不是减少响应时间。
D. 重试处理失败;它们不会降低每个请求的延迟。
A company has a fine-tuned open-weights model (a supported architecture) trained outside AWS and wants to serve it through the standard Amazon Bedrock APIs on demand, without operating its own inference servers. Which capability should it use?
一家公司拥有在 AWS 外部训练的经过微调的开放权重模型(受支持的架构),并希望通过标准 Amazon Bedrock API 按需提供服务,而不需要运行自己的推理服务器。它应该使用哪种功能?
- A
Amazon Bedrock Custom Model Import.
Amazon Bedrock 自定义模型导入。
- B
A self-managed Amazon SageMaker real-time endpoint.
自我管理的 Amazon SageMaker 实时终端节点。
- C
A container on Amazon ECS.
Amazon ECS 上的容器。
- D
Provisioned Throughput on a Bedrock base model.
Bedrock 基本模型上的预配置吞吐量。
解析 / Explanation
正确答案 / Answer: A
A. Custom Model Import lets you bring supported custom model weights into Bedrock and invoke them through the standard on-demand Bedrock APIs without managing servers.
B. A SageMaker endpoint can serve the model but requires managing the endpoint and does not expose it through the Bedrock APIs.
C. Running the model on ECS means operating your own inference infrastructure.
D. Provisioned Throughput reserves capacity for Bedrock models, not for importing your own weights.
A. 自定义模型导入可让您将受支持的自定义模型权重引入 Bedrock 中,并通过标准的按需 Bedrock API 调用它们,而无需管理服务器。
B. SageMaker 端点可以为模型提供服务,但需要管理端点并且不通过 Bedrock API 公开它。
C. 在 ECS 上运行模型意味着操作您自己的推理基础设施。
D. 预置吞吐量为基岩模型保留容量,而不是用于导入您自己的权重。
An application must accept product photos from users and answer natural-language questions about what is in each image. Which choice is MOST appropriate?
应用程序必须接受用户的产品照片,并回答有关每张图像中内容的自然语言问题。哪个选择最合适?
- A
Invoke a Bedrock multimodal foundation model (such as Claude or Amazon Nova Pro) through the Converse API.
通过 Converse API 调用 Bedrock 多模式基础模型(例如 Claude 或 Amazon Nova Pro)。
- B
Use Amazon Rekognition to return object labels.
使用 Amazon Rekognition 返回对象标签。
- C
Use Amazon Textract to read the image.
使用 Amazon Textract 读取图像。
- D
Use Amazon Titan Text Embeddings.
使用 Amazon Titan 文本嵌入。
解析 / Explanation
正确答案 / Answer: A
A. A multimodal FM can reason over image inputs and produce natural-language answers about their content.
B. Rekognition returns labels and detections but does not hold a natural-language Q&A about an image.
C. Textract extracts text from documents and forms; it does not answer visual questions about general photos.
D. Text embeddings represent text for search; they do not analyze image content or answer questions.
A. 多模态 FM 可以对图像输入进行推理并生成有关其内容的自然语言答案。
B. Rekognition 返回标签和检测结果,但不提供有关图像的自然语言问答。
C. Textract 从文档和表单中提取文本;它不回答有关一般照片的视觉问题。
D. 文本嵌入表示用于搜索的文本;他们不分析图像内容或回答问题。
A team is building semantic search and wants a text embedding model that lets them choose smaller output dimensions to cut vector-storage cost while retaining strong retrieval quality. Which model fits?
一个团队正在构建语义搜索,并需要一个文本嵌入模型,让他们可以选择较小的输出维度来降低矢量存储成本,同时保持强大的检索质量。哪个型号适合?
- A
Amazon Titan Text Embeddings V2, which supports configurable output dimensions.
Amazon Titan Text Embeddings V2,支持可配置的输出尺寸。
- B
Amazon Titan Image Generator.
亚马逊泰坦图像生成器。
- C
Anthropic Claude.
人性化的克劳德.
- D
Amazon Comprehend.
亚马逊理解。
解析 / Explanation
正确答案 / Answer: A
A. Titan Text Embeddings V2 lets you select among multiple output dimension sizes to trade storage/cost against accuracy.
B. An image generation model does not produce text embeddings for search.
C. Claude is a text-generation model, not a dedicated embeddings model.
D. Comprehend provides NLP analyses, not configurable embedding vectors for a vector store.
A. Titan Text Embeddings V2 允许您在多个输出维度大小中进行选择,以在存储/成本和准确性之间进行权衡。
B. 图像生成模型不会生成用于搜索的文本嵌入。
C. Claude 是一个文本生成模型,而不是专用的嵌入模型。
D. Comprehend 提供 NLP 分析,而不是向量存储的可配置嵌入向量。
A team is creating an Amazon Bedrock knowledge base and wants a fully managed vector store that integrates natively with Bedrock, supports frequent low-latency similarity queries, and requires no cluster sizing or management. Which option fits best?
一个团队正在创建一个 Amazon Bedrock 知识库,并希望有一个完全托管的向量存储,该存储可以与 Bedrock 本地集成、支持频繁的低延迟相似性查询,并且不需要集群大小调整或管理。哪个选项最适合?
- A
Amazon OpenSearch Serverless as the vector store.
Amazon OpenSearch Serverless 作为矢量存储。
- B
A self-managed Amazon OpenSearch Service cluster you size and patch.
您可以调整大小和修补的自我管理的 Amazon OpenSearch Service 集群。
- C
Amazon DynamoDB with a custom similarity function.
具有自定义相似度函数的 Amazon DynamoDB。
- D
Amazon S3 with objects named by embedding.
Amazon S3 具有通过嵌入命名的对象。
解析 / Explanation
正确答案 / Answer: A
A. OpenSearch Serverless is a natively integrated, fully managed vector store for Bedrock knowledge bases that scales automatically for frequent low-latency queries.
B. A provisioned cluster requires capacity planning, scaling, and maintenance, adding operational overhead.
C. DynamoDB has no native vector similarity search and would require custom, slower logic.
D. Plain S3 has no vector index or similarity search capability.
A. OpenSearch Serverless 是一个原生集成的、完全托管的 Bedrock 知识库矢量存储,可自动扩展以适应频繁的低延迟查询。
B. 预配置的集群需要容量规划、扩展和维护,从而增加了运营开销。
C. DynamoDB 没有本机向量相似性搜索,需要自定义、速度较慢的逻辑。
D. Plain S3 没有向量索引或相似性搜索功能。
A knowledge base serves several departments, and each user must only retrieve documents tagged for their department. The team wants to enforce this at retrieval time without maintaining separate copies of the corpus. Which capability should they use?
知识库服务于多个部门,每个用户只能检索为其部门标记的文档。该团队希望在检索时强制执行此操作,而不维护语料库的单独副本。他们应该使用哪种功能?
- A
Apply metadata filtering on the Retrieve call using the document's department attribute.
使用文档的部门属性对 Retrieve 调用应用元数据过滤。
- B
Add an instruction in the prompt asking the model to ignore other departments.
在提示中添加一条指令,要求模型忽略其他部门。
- C
Raise the temperature so the model is less literal.
提高温度,使模型不那么字面化。
- D
Retrieve everything and truncate the results in the client.
检索所有内容并截断客户端中的结果。
解析 / Explanation
正确答案 / Answer: A
A. Bedrock knowledge bases support metadata attributes and filter expressions so retrieval returns only chunks matching the user's department.
B. Prompt instructions cannot reliably prevent irrelevant or unauthorized chunks from being retrieved and used.
C. Temperature has nothing to do with which documents are retrieved.
D. Truncation does not enforce department-level access and may still expose other departments' content.
A. Bedrock 知识库支持元数据属性和过滤器表达式,因此检索仅返回与用户部门匹配的块。
B. 提示指令不能可靠地防止不相关或未经授权的块被检索和使用。
C. 温度与检索哪些文档无关。
D. 截断不会强制执行部门级访问,但仍可能暴露其他部门的内容。
An application must show end users the exact source passages that support each generated answer, with the least custom development. Which Amazon Bedrock approach provides this?
应用程序必须向最终用户显示支持每个生成答案的确切源段落,并且需要最少的自定义开发。哪种 Amazon Bedrock 方法可以提供此功能?
- A
Use the RetrieveAndGenerate API, which returns generated answers with citations to the source chunks.
使用 RetrieveAndGenerate API,它返回生成的答案以及对源块的引用。
- B
Use InvokeModel with the whole corpus pasted into the prompt.
使用 InvokeModel 将整个语料库粘贴到提示中。
- C
Enable model invocation logging and show users the logs.
启用模型调用日志记录并向用户显示日志。
- D
Increase max tokens so the model lists its sources.
增加最大标记,以便模型列出其来源。
解析 / Explanation
正确答案 / Answer: A
A. RetrieveAndGenerate produces a grounded answer and returns citations identifying the retrieved passages used, with no custom attribution code.
B. Stuffing the corpus into the prompt does not produce reliable citations and does not scale.
C. Invocation logs are for operators and do not provide user-facing source citations.
D. Asking the model to self-report sources is unreliable; max tokens does not create verifiable citations.
A. RetrieveAndGenerate 生成一个有根据的答案并返回标识所使用的检索到的段落的引文,没有自定义归因代码。
B. 将语料库塞进提示中不会产生可靠的引用,也不会扩展。
C. 调用日志适用于操作员,不提供面向用户的源引用。
D. 要求模型自我报告来源是不可靠的; max tokens 不会创建可验证的引用。
A developer wants to fetch the most relevant chunks from a Bedrock knowledge base and then run them through their own custom prompt and a model of their choosing. Which API is appropriate?
开发人员希望从基岩知识库中获取最相关的块,然后通过自己的自定义提示和选择的模型运行它们。哪个 API 合适?
- A
The Retrieve API, which returns ranked chunks for the developer to use in a custom generation step.
检索 API,返回排名块供开发人员在自定义生成步骤中使用。
- B
The RetrieveAndGenerate API exclusively.
专有的 RetrieveAndGenerate API。
- C
The StartIngestionJob API.
开始摄取作业 API。
- D
The CreateModelCustomizationJob API.
CreateModelCustomizationJob API。
解析 / Explanation
正确答案 / Answer: A
A. Retrieve returns the relevant passages only, letting the developer control the prompt and generation model themselves.
B. RetrieveAndGenerate performs the generation for you, which removes the custom prompt/model control the developer wants.
C. StartIngestionJob ingests data into the knowledge base; it does not retrieve chunks for a query.
D. That API runs fine-tuning, unrelated to retrieving chunks.
A. Retrieve仅返回相关段落,让开发者自己控制提示和生成模型。
B. RetrieveAndGenerate 为您执行生成,这会删除开发人员想要的自定义提示/模型控件。
C. StartIngestionJob将数据摄取到知识库中;它不会检索查询的块。
D. 该 API 运行微调,与检索块无关。
A RAG assistant occasionally produces answers that are not supported by the retrieved passages. The team wants a managed way to detect and block responses that are not grounded in the source context. Which capability helps MOST?
RAG 助理有时会给出检索到的段落不支持的答案。该团队需要一种托管方式来检测和阻止不基于源上下文的响应。哪种能力最有帮助?
- A
Enable the Amazon Bedrock Guardrails contextual grounding check.
启用 Amazon Bedrock Guardrails 上下文接地检查。
- B
Increase the model temperature.
提高模型温度。
- C
Switch to on-demand pricing.
切换到按需定价。
- D
Remove the retrieved context from the prompt.
从提示中删除检索到的上下文。
解析 / Explanation
正确答案 / Answer: A
A. The contextual grounding (and relevance) check scores whether a response is grounded in the provided source and can block ungrounded answers.
B. Higher temperature increases variability and tends to worsen, not reduce, ungrounded output.
C. Pricing mode has no effect on grounding.
D. Removing context guarantees the answer cannot be grounded, the opposite of the goal.
A. 上下文基础(和相关性)检查对响应是否基于所提供的来源进行评分,并可以阻止不可靠的答案。
B. 较高的温度会增加变异性,并且往往会恶化而不是减少未接地的输出。
C. 定价模式对接地没有影响。
D. 删除上下文会保证答案无法扎根,这与目标相反。
A multi-tenant SaaS uses one shared knowledge base and must guarantee that one tenant can never retrieve another tenant's documents. Which design is the MOST secure and reliable?
多租户 SaaS 使用一个共享知识库,并且必须保证一个租户永远无法检索另一租户的文档。哪种设计最安全可靠?
- A
Tag each document with its tenant ID and apply a metadata filter derived from the authenticated tenant on every Retrieve request (or use a separate knowledge base per tenant).
使用租户 ID 标记每个文档,并在每个检索请求上应用从经过身份验证的租户派生的元数据过滤器(或为每个租户使用单独的知识库)。
- B
Instruct the model in the system prompt to only answer about the current tenant.
指示系统提示中的模型仅回答有关当前租户的信息。
- C
Let the client pass the tenant filter and trust it as-is.
让客户端通过租户过滤器并按原样信任它。
- D
Store all tenants together with no filter and rely on ranking.
将所有租户存储在一起,不进行过滤并依赖排名。
解析 / Explanation
正确答案 / Answer: A
A. Enforcing a server-side metadata filter bound to the verified tenant identity (or full isolation via per-tenant knowledge bases) reliably prevents cross-tenant retrieval.
B. Prompt instructions do not control retrieval and can be bypassed, so other tenants' chunks can still be retrieved.
C. A client-supplied, untrusted filter can be tampered with to access other tenants' data.
D. Relevance ranking can still surface another tenant's documents; it is not an isolation mechanism.
A. 强制将服务器端元数据过滤器绑定到已验证的租户身份(或通过每个租户知识库进行完全隔离)可以可靠地防止跨租户检索。
B. 提示指令不控制检索,可以绕过,因此仍然可以检索其他租户的块。
C. 客户端提供的不受信任的过滤器可以被篡改以访问其他租户的数据。
D. 相关性排名仍然可以显示其他租户的文件;它不是一种隔离机制。
An analyst tool must answer questions that require reasoning over relationships among connected entities (people, companies, and the links between them), not just similarity to text passages. Which Amazon Bedrock knowledge base option is designed for this?
分析工具必须回答需要推理关联实体(人、公司以及它们之间的链接)之间关系的问题,而不仅仅是文本段落的相似性。哪个 Amazon Bedrock 知识库选项是为此设计的?
- A
A knowledge base using GraphRAG with Amazon Neptune Analytics.
使用 GraphRAG 和 Amazon Neptune Analytics 的知识库。
- B
A standard vector-only knowledge base.
标准的纯向量知识库。
- C
An Amazon DynamoDB table of entities.
Amazon DynamoDB 实体表。
- D
Amazon Athena queries over CSV files.
Amazon Athena 通过 CSV 文件进行查询。
解析 / Explanation
正确答案 / Answer: A
A. GraphRAG with Neptune Analytics builds a graph of entities and relationships, enabling retrieval that reasons over connections rather than only vector similarity.
B. Pure vector similarity does not capture explicit relationships among connected entities.
C. DynamoDB stores items but provides no graph reasoning or managed RAG integration.
D. Athena runs SQL over files and is not a graph-aware retrieval system for RAG.
A. GraphRAG 与 Neptune Analytics 构建实体和关系图,支持通过连接推理而不仅仅是矢量相似性的检索。
B. 纯向量相似性不能捕获连接实体之间的显式关系。
C. DynamoDB 存储项目,但不提供图形推理或托管 RAG 集成。
D. Athena 在文件上运行 SQL,并不是 RAG 的图形感知检索系统。
Business users want to ask natural-language analytical questions (sums, trends, comparisons) over data in an Amazon Redshift warehouse, and have the system generate and run the appropriate queries. Which Amazon Bedrock capability fits?
业务用户希望针对 Amazon Redshift 仓库中的数据提出自然语言分析问题(求和、趋势、比较),并让系统生成并运行适当的查询。哪种 Amazon Bedrock 功能适合?
- A
Amazon Bedrock Knowledge Bases with structured data retrieval, which generates SQL from natural language.
Amazon Bedrock 知识库具有结构化数据检索功能,可从自然语言生成 SQL。
- B
Embed every table row as a vector and do similarity search.
将每个表行嵌入为向量并进行相似性搜索。
- C
Use Amazon Comprehend to read the question.
使用 Amazon Comprehend 阅读问题。
- D
Fine-tune a model on the warehouse schema.
在仓库模式上微调模型。
解析 / Explanation
正确答案 / Answer: A
A. Structured-data knowledge bases translate natural-language questions into SQL against the connected warehouse, returning accurate analytical results.
B. Vector similarity over rows cannot perform aggregations or precise analytical queries.
C. Comprehend analyzes text but does not generate SQL or query a warehouse.
D. Fine-tuning does not give live, accurate query results over changing data the way text-to-SQL retrieval does.
A. 结构化数据知识库将自然语言问题转换为针对互联仓库的 SQL,返回准确的分析结果。
B. 行上的向量相似度无法执行聚合或精确的分析查询。
C. Comprehend 分析文本,但不生成 SQL 或查询仓库。
D. 微调无法像文本到 SQL 检索那样针对变化的数据提供实时、准确的查询结果。
A company keeps 200 million archived document embeddings that are queried only a few times per month for occasional investigations. They want the lowest-cost durable vector storage with no capacity to manage. Which option is MOST cost-effective?
一家公司保存了 2 亿个存档文档嵌入,每月仅查询几次以进行偶尔的调查。他们想要成本最低且无需管理容量的持久矢量存储。哪种选择最具成本效益?
- A
Amazon S3 Vectors.
亚马逊 S3 向量。
- B
A provisioned OpenSearch Service cluster sized for the full corpus.
已配置的 OpenSearch 服务集群的大小适合完整语料库。
- C
OpenSearch Serverless kept warm at all times.
OpenSearch Serverless 始终保持温暖。
- D
Amazon RDS for PostgreSQL with pgvector.
Amazon RDS for PostgreSQL 与 pgvector。
解析 / Explanation
正确答案 / Answer: A
A. S3 Vectors offers serverless, low-cost vector storage and search at massive scale, ideal for large corpora queried infrequently with pay-for-use pricing.
B. A continuously provisioned cluster is expensive for data queried only a few times a month.
C. Keeping high-performance serverless capacity ready is more expensive than needed for rare queries.
D. RDS requires running instances and is not the lowest-cost option for rarely queried, very large vector sets.
A. S3 Vectors 提供无服务器、低成本矢量存储和大规模搜索,非常适合不经常查询且按使用付费的大型语料库。
B. 对于每月仅查询几次的数据,持续配置的集群非常昂贵。
C. 保持高性能无服务器容量的就绪性比罕见查询所需的成本更高。
D. RDS 需要运行实例,对于很少查询的非常大的向量集来说并不是成本最低的选择。
A team has standardized on Amazon Aurora PostgreSQL for its application data and wants to store and query embeddings alongside related relational records using familiar tooling, while keeping the vector store as a managed Bedrock knowledge base option. Which choice fits best?
一个团队已在 Amazon Aurora PostgreSQL 上对其应用程序数据进行标准化,并希望使用熟悉的工具来存储和查询嵌入以及相关关系记录,同时将矢量存储保留为托管 Bedrock 知识库选项。哪个选择最适合?
- A
Use Amazon Aurora PostgreSQL with the pgvector extension as the knowledge base vector store.
使用带有 pgvector 扩展的 Amazon Aurora PostgreSQL 作为知识库向量存储。
- B
Adopt a brand-new self-managed search cluster instead.
采用全新的自我管理搜索集群。
- C
Store vectors in Amazon DynamoDB.
将向量存储在 Amazon DynamoDB 中。
- D
Keep embeddings only in application memory.
仅将嵌入保留在应用程序内存中。
解析 / Explanation
正确答案 / Answer: A
A. Aurora PostgreSQL with pgvector is a supported Bedrock vector store and lets the team keep vectors next to relational data using PostgreSQL tooling.
B. Introducing a separate self-managed system adds operational overhead the team is trying to avoid.
C. DynamoDB is not a supported vector store and lacks native similarity search.
D. In-memory storage is not durable and cannot serve as a knowledge base vector store.
A. 带有 pgvector 的 Aurora PostgreSQL 是受支持的 Bedrock 矢量存储,让团队可以使用 PostgreSQL 工具将矢量保存在关系数据旁边。
B. 引入单独的自我管理系统会增加团队试图避免的运营开销。
C. DynamoDB 不是受支持的矢量存储,并且缺乏本机相似性搜索。
D. 内存存储不持久,不能用作知识库向量存储。
Source content lives in Amazon S3, Confluence, and a SharePoint site. The team wants to ingest all of it into one Bedrock knowledge base with the LEAST custom code. What should they do?
源内容位于 Amazon S3、Confluence 和 SharePoint 站点中。该团队希望使用最少的自定义代码将所有这些内容纳入一个 Bedrock 知识库中。他们应该做什么?
- A
Use the built-in Bedrock knowledge base data source connectors for S3, Confluence, and SharePoint.
使用适用于 S3、Confluence 和 SharePoint 的内置 Bedrock 知识库数据源连接器。
- B
Write custom crawlers for each system and push to S3 only.
为每个系统编写自定义爬虫并仅推送到S3。
- C
Manually export everything to S3 on a schedule.
按计划手动将所有内容导出到 S3。
- D
Fine-tune the model on each source instead of ingesting.
在每个源上微调模型而不是摄取。
解析 / Explanation
正确答案 / Answer: A
A. Bedrock knowledge bases provide managed connectors for sources such as S3, Confluence, SharePoint, Salesforce, and web crawlers, avoiding custom ingestion code.
B. Custom crawlers add development and maintenance overhead that the built-in connectors remove.
C. Manual exports are brittle and lag behind source changes compared with managed connectors.
D. Fine-tuning is not how you ingest changing documents for retrieval.
A. Bedrock 知识库为 S3、Confluence、SharePoint、Salesforce 和网络爬虫等源提供托管连接器,避免自定义摄取代码。
B. 自定义爬虫增加了内置连接器消除的开发和维护开销。
C. 与托管连接器相比,手动导出很脆弱并且滞后于源更改。
D. 微调并不是获取不断变化的文档以进行检索的方式。
A chat experience built on RetrieveAndGenerate must keep context across follow-up questions in a conversation with the least custom state management. Which approach should the developer use?
基于 RetrieveAndGenerate 构建的聊天体验必须使用最少的自定义状态管理来保留对话中后续问题的上下文。开发人员应该使用哪种方法?
- A
Pass a session identifier to RetrieveAndGenerate so Bedrock maintains the conversation context.
将会话标识符传递给 RetrieveAndGenerate,以便 Bedrock 维护对话上下文。
- B
Re-embed the entire chat history into the vector store each turn.
每回合将整个聊天历史记录重新嵌入到矢量存储中。
- C
Store every message in DynamoDB and rebuild the prompt manually each turn.
将每条消息存储在 DynamoDB 中,并每轮手动重建提示。
- D
Increase the model context window only.
仅增加模型上下文窗口。
解析 / Explanation
正确答案 / Answer: A
A. RetrieveAndGenerate supports a session ID that preserves multi-turn context without the developer building custom conversation state.
B. Re-embedding the conversation each turn is unnecessary and costly and is not how session context is maintained.
C. Manual state assembly adds development overhead compared with built-in session support.
D. A larger window does not automatically carry prior turns into each RetrieveAndGenerate call.
A. RetrieveAndGenerate 支持会话 ID,该会话 ID 可以保留多轮上下文,而无需开发人员构建自定义对话状态。
B. 每轮重新嵌入对话是不必要的且成本高昂,并且不是维护会话上下文的方式。
C. 与内置会话支持相比,手动状态组装增加了开发开销。
D. 较大的窗口不会自动将先前的轮次转移到每个 RetrieveAndGenerate 调用中。
Users ask complex, multi-part questions, and the knowledge base often retrieves passages for only one part of the question, producing incomplete answers. Which built-in capability best addresses this?
用户提出复杂的多部分问题,而知识库通常只检索问题的一部分的段落,从而产生不完整的答案。哪种内置功能最能解决这个问题?
- A
Enable query decomposition (query reformulation) so the knowledge base breaks complex questions into sub-queries.
启用查询分解(查询重构),以便知识库将复杂的问题分解为子查询。
- B
Increase the model temperature.
提高模型温度。
- C
Switch to a larger generation model only.
仅切换至更大一代型号。
- D
Reduce the number of retrieved results.
减少检索结果的数量。
解析 / Explanation
正确答案 / Answer: A
A. Query decomposition splits a multi-part question into focused sub-queries, retrieving relevant passages for each part and improving completeness.
B. Temperature affects generation randomness, not how queries are retrieved.
C. A larger model cannot answer using passages that retrieval never returned.
D. Returning fewer results would make incomplete coverage worse, not better.
A. 查询分解将多部分问题拆分为有重点的子查询,检索每个部分的相关段落并提高完整性。
B. 温度影响生成随机性,而不是检索查询的方式。
C. 更大的模型无法使用检索从未返回的段落来回答。
D. 返回较少的结果会使不完全覆盖变得更糟,而不是更好。
A team wants to add retrieval-augmented answers over their documents but does not want to build and operate an embedding pipeline, a vector database, and custom retrieval code. Which option provides managed RAG with the LEAST operational overhead?
团队希望在其文档中添加检索增强答案,但不想构建和操作嵌入管道、矢量数据库和自定义检索代码。哪个选项为托管 RAG 提供最少的运营开销?
- A
Use Amazon Bedrock Knowledge Bases, which manages embedding, storage, and retrieval as a service.
使用 Amazon Bedrock 知识库,它将嵌入、存储和检索作为服务进行管理。
- B
Build a custom pipeline with Lambda, a self-managed vector database, and bespoke retrieval code.
使用 Lambda、自管理矢量数据库和定制检索代码构建自定义管道。
- C
Fine-tune a model on the documents instead of retrieving.
在文档上微调模型而不是检索。
- D
Paste documents into prompts at request time.
在请求时将文档粘贴到提示中。
解析 / Explanation
正确答案 / Answer: A
A. Knowledge Bases provide fully managed RAG, handling chunking, embeddings, the vector store, and retrieval so the team avoids building the pipeline.
B. A hand-built pipeline maximizes operational overhead, which the team is trying to avoid.
C. Fine-tuning does not keep answers current as documents change and is not managed RAG.
D. Prompt stuffing does not scale and is not a managed retrieval solution.
A. 知识库提供完全托管的 RAG,处理分块、嵌入、向量存储和检索,因此团队可以避免构建管道。
B. 手工构建的管道可以最大限度地提高运营开销,而团队正在努力避免这种情况。
C. 随着文档的更改,微调不会使答案保持最新,并且不受 RAG 管理。
D. 提示填充无法扩展,也不是托管检索解决方案。
Long policy documents have distinct topical sections. With the default fixed-size chunking, related ideas are split across chunks and retrieval quality suffers. Which chunking strategy is MOST likely to improve relevance?
长篇政策文件有不同的主题部分。使用默认的固定大小分块,相关的想法会被分割成多个块,并且检索质量会受到影响。哪种分块策略最有可能提高相关性?
- A
Semantic chunking, which splits on semantic boundaries so each chunk holds a coherent idea.
语义分块,在语义边界上进行分割,因此每个块都包含一个连贯的想法。
- B
Disable chunking and embed each whole document as one vector.
禁用分块并将每个整个文档嵌入为一个向量。
- C
Use larger fixed-size chunks only.
仅使用较大的固定大小的块。
- D
Increase the model temperature.
提高模型温度。
解析 / Explanation
正确答案 / Answer: A
A. Semantic chunking groups text by meaning rather than a fixed token count, keeping related content together and improving retrieval relevance.
B. Embedding an entire long document dilutes the vector and harms precise retrieval.
C. Bigger fixed chunks still ignore topic boundaries and can mix unrelated content.
D. Temperature affects generation, not how documents are chunked or retrieved.
A. 语义分块按含义而不是固定的标记计数对文本进行分组,从而将相关内容放在一起并提高检索相关性。
B. 嵌入整个长文档会稀释向量并损害精确检索。
C. 更大的固定块仍然会忽略主题边界,并且可以混合不相关的内容。
D. 温度影响生成,而不影响文档的分块或检索方式。
A team needs precise matching on small text units but also wants the language model to receive surrounding context when a small unit matches. Which chunking approach provides both?
团队需要对小文本单元进行精确匹配,但也希望语言模型在小单元匹配时接收周围的上下文。哪种分块方法同时提供这两种功能?
- A
Hierarchical (parent-child) chunking.
分层(父子)分块。
- B
A single fixed chunk size for everything.
所有内容都有一个固定的块大小。
- C
No chunking at all.
根本没有分块。
- D
Switching to a larger embedding dimension.
切换到更大的嵌入尺寸。
解析 / Explanation
正确答案 / Answer: A
A. Hierarchical chunking matches on small child chunks for precision and supplies the larger parent chunk as context for generation.
B. One fixed size cannot simultaneously optimize for precise matching and broad context.
C. Treating each document as one chunk loses the precision of small-unit matching.
D. Dimension size does not provide the parent-context behavior hierarchical chunking gives.
A. 分层分块匹配较小的子块以提高精度,并提供较大的父块作为生成的上下文。
B. 一种固定尺寸无法同时针对精确匹配和广泛上下文进行优化。
C. 将每个文档视为一个块会失去小单元匹配的精度。
D. 维度大小不提供分层分块所提供的父上下文行为。
Answers are frequently cut off because relevant sentences fall right at the boundary between two chunks. Which adjustment most directly addresses this?
答案经常被切断,因为相关句子恰好位于两个块之间的边界。哪项调整最直接解决这个问题?
- A
Add chunk overlap so adjacent chunks share boundary text.
添加块重叠,以便相邻块共享边界文本。
- B
Remove all overlap to keep chunks distinct.
删除所有重叠以保持块不同。
- C
Increase the temperature.
提高温度。
- D
Use a larger generation model.
使用更大的生成模型。
解析 / Explanation
正确答案 / Answer: A
A. Overlap repeats text across chunk boundaries so information spanning a boundary is captured in at least one chunk.
B. Removing overlap makes boundary loss worse, not better.
C. Temperature does not affect chunk boundaries.
D. A larger model cannot recover content that retrieval split across boundaries.
A. Overlap 跨块边界重复文本,因此至少在一个块中捕获跨越边界的信息。
B. 消除重叠会使边界损失变得更糟,而不是更好。
C. 温度不影响块边界。
D. 较大的模型无法恢复检索跨越边界的内容。
A team decides to upgrade to a newer embedding model for better retrieval. What must they do to keep retrieval working correctly?
团队决定升级到更新的嵌入模型以实现更好的检索。他们必须做什么才能保持检索正常进行?
- A
Re-embed (re-index) the entire document corpus with the new model so document and query vectors share the same space.
使用新模型重新嵌入(重新索引)整个文档语料库,以便文档和查询向量共享相同的空间。
- B
Do nothing; existing vectors remain compatible.
什么也不做;现有载体保持兼容。
- C
Re-embed only the queries, not the documents.
仅重新嵌入查询,而不重新嵌入文档。
- D
Lower the temperature on the generation model.
降低生成模型的温度。
解析 / Explanation
正确答案 / Answer: A
A. Query and document embeddings must come from the same model; changing the model requires re-embedding the whole corpus to avoid vector-space mismatch.
B. Vectors from a different model live in a different space and will not match new query embeddings.
C. Mismatched query and document embeddings produce poor or empty retrieval.
D. Temperature is unrelated to embedding compatibility.
A. 查询和文档嵌入必须来自同一模型;更改模型需要重新嵌入整个语料库以避免向量空间不匹配。
B. 来自不同模型的向量位于不同的空间中,并且不会匹配新的查询嵌入。
C. 不匹配的查询和文档嵌入会导致检索效果不佳或为空。
D. 温度与嵌入兼容性无关。
A vector store is becoming expensive as the corpus grows. The team wants to cut storage and query cost while keeping acceptable retrieval accuracy. Which embedding choice helps MOST?
随着语料库的增长,矢量存储变得越来越昂贵。该团队希望降低存储和查询成本,同时保持可接受的检索准确性。哪种嵌入选择最有帮助?
- A
Use an embedding model that supports smaller output dimensions (for example, Titan Text Embeddings V2) and select a smaller dimension.
使用支持较小输出维度的嵌入模型(例如 Titan Text Embeddings V2)并选择较小的维度。
- B
Always use the maximum available embedding dimension.
始终使用最大可用嵌入尺寸。
- C
Store each chunk twice for redundancy.
将每个块存储两次以实现冗余。
- D
Raise the generation temperature.
提高生成温度。
解析 / Explanation
正确答案 / Answer: A
A. Smaller-dimension embeddings reduce index size and query cost, and V2 lets you trade some accuracy for substantial storage savings.
B. Maximum dimensions increase storage and cost, the opposite of the goal.
C. Duplicating vectors increases cost without improving accuracy.
D. Temperature does not affect embedding storage or cost.
A. 较小维度的嵌入可以减少索引大小和查询成本,而 V2 可以让您以一定的准确性换取大量的存储空间节省。
B. 最大尺寸会增加存储和成本,这与目标相反。
C. 复制向量会增加成本,但不会提高准确性。
D. 温度不会影响包埋存储或成本。
Evaluation shows the correct passage exists in the store but is sometimes not returned for a query, so the model lacks the information to answer. Which retrieval-setting change should the team try FIRST?
Evaluation shows the correct passage exists in the store but is sometimes not returned for a query, so the model lacks the information to answer.团队应该首先尝试哪个检索设置更改?
- A
Increase the number of results (top-k) returned for each query.
增加每个查询返回的结果数 (top-k)。
- B
Decrease the number of results returned.
减少返回结果的数量。
- C
Increase the temperature.
提高温度。
- D
Shorten the user's question automatically.
自动缩短用户的问题。
解析 / Explanation
正确答案 / Answer: A
A. Returning more candidate chunks raises recall so the correct passage is more likely to be included for generation.
B. Returning fewer results lowers recall and makes misses more likely.
C. Temperature affects generation, not which chunks are retrieved.
D. Arbitrarily shortening the query can remove signal needed for retrieval.
A. 返回更多候选块可以提高召回率,因此正确的段落更有可能被包含在生成中。
B. 返回较少的结果会降低召回率并增加错过的可能性。
C. 温度影响生成,而不影响检索哪些块。
D. 任意缩短查询可以删除检索所需的信号。