Curated

Data Ingestion and Transformation (1.1–1.4)

0 votes

Questions102

  1. Question 101

    Data Ingestion and Transformation

    A pipeline uses an Amazon Bedrock model to summarize reports that exceed the model's context window. Each summary must incorporate information from every section; which approach BEST meets this requirement?

    Show the answer

    Correct answerD. Split reports into sections, summarize each, and recursively combine the summaries.

    AWhy not this: Parquet improves analytical storage efficiency but does not reduce the model's tokenized input to fit its context window.

    BWhy not this: Retrieval selects passages by relevance rather than ensuring that every section contributes to the summary.

    CWhy not this: The output-token setting controls response length; it does not expand the model's context window.

    DWhy this is right: Section-level summaries and recursive consolidation keep requests within the context window while processing every section.

    Hierarchical summarization processes every section within the input limit, then combines intermediate summaries within that limit. Retrieval selects relevant passages and can omit sections, so it does not meet the coverage requirement.

    Open this question
  2. Question 102

    Data Ingestion and Transformation

    An ingestion service holds incomplete transaction details in worker memory until matching completion events arrive. Workers must be replaceable without losing those details; which change BEST meets this requirement?

    Show the answer

    Correct answerC. Store pending transaction details in a shared database.

    AWhy not this: Retention preserves source events for replay, not the pending transaction details held in worker memory.

    BWhy not this: Additional consumers change distribution but do not preserve transaction details when a worker is replaced.

    CWhy this is right: External storage preserves the cross-event state so replacement workers can retrieve pending transaction details.

    DWhy not this: Throttling reduces processing pressure but does not protect in-memory transaction state from worker replacement.

    The service needs state across related events, so a shared database preserves pending details independently of worker lifetimes. Longer stream retention preserves source events but does not directly preserve the workers' pending transaction state.

    Open this question