Courseiva

CCNA Foundation Model Integration Data And Compliance Questions

49 questions · Foundation Model Integration Data And Compliance · All types, answers revealed

1
Multi-Selectmedium

Which TWO factors are critical when choosing a model for a RAG architecture that requires high grounding accuracy?

Select 2 answers
A.The model's training date.
B.The model's ability to generate images.
C.The model's support for citation and source attribution.
D.The number of parameters in the model.
E.The context window size of the foundation model.
AnswersC, E

Citation and source attribution let the model tie each generated claim to retrieved passages, which is essential for verifying grounding accuracy. Without attribution, hallucinations cannot be distinguished from grounded statements, so this capability directly satisfies the high-grounding-accuracy requirement in the RAG scenario.

Why this answer

Option C is correct because high grounding accuracy in RAG depends on the model's ability to cite and attribute retrieved sources, letting users verify that answers are anchored in the provided documents rather than hallucinated. Option E is correct because a larger context window allows more retrieved chunks to be included in the prompt, giving the model sufficient evidence to ground its response accurately. Option A is not critical, since the training date affects knowledge freshness but RAG grounding comes from retrieved context, not parametric memory.

Option B is irrelevant, as image generation has no bearing on textual grounding accuracy. Option D is not decisive, because parameter count alone does not determine how faithfully a model uses retrieved context.

2
MCQeasy

A team is evaluating different models on Amazon Bedrock. They want to compare the performance of Claude 3 Sonnet versus Llama 3 on a specific prompt set without writing custom scripts. Which tool should they use?

A.Amazon SageMaker Model Monitor
B.Amazon QuickSight
C.Amazon Bedrock Prompt Management and Playgrounds
D.AWS Lambda functions
AnswerC

Bedrock Playgrounds provide side-by-side model comparison against the same prompts, and Prompt Management stores and versions those prompts, removing custom scripting. This directly satisfies the stem's requirement to compare Claude 3 Sonnet with Llama 3 on a defined prompt set.

Why this answer

Bedrock Prompt Management and Playgrounds provide a GUI to test and compare models directly.

3
MCQmedium

A company is building a RAG application using Amazon Bedrock and needs to ensure that the data ingested into the knowledge base is filtered based on user identity. Which approach should the developer use?

A.Use Amazon Bedrock Knowledge Base metadata filtering during the retrieval phase to apply access controls.
B.Use Lambda authorizers to filter the retrieved results after they are returned by the model.
C.Create separate vector indexes for every user role within the Knowledge Base configuration.
D.Implement fine-grained access control using IAM policies on the S3 bucket containing the source data.
AnswerA

Metadata filtering applies attribute-based predicates during retrieval, so each user's query only returns chunks whose metadata matches their identity claims. This enforces per-user access control at query time without duplicating knowledge bases or pre-filtering the entire corpus.

Why this answer

Amazon Bedrock Knowledge Bases support metadata filtering during retrieval, allowing the application to pass user identity attributes as filters so only documents the user is authorized to see are retrieved. This enforces access control at the retrieval phase, before the model generates a response. It is the intended mechanism for identity-based filtering in RAG.

Exam trap

AIP-C01 often tests the timing of access control in RAG, and candidates may choose post-retrieval filtering or IAM on S3, missing that metadata filtering at retrieval is the correct preventive control.

How to eliminate wrong answers

Option B is wrong because filtering after the model returns results is too late; the model may have already incorporated sensitive data into its response, and Lambda authorizers are for API authorization, not retrieval filtering. Option C is wrong because creating separate vector indexes per user role is operationally heavy and does not scale; metadata filtering is the designed approach. Option D is wrong because IAM policies on the S3 bucket control access to the source data, but the knowledge base retrieves and indexes that data, so IAM alone does not filter retrieval results per user.

4
MCQeasy

What is the purpose of 'Foundation Models' (FMs) in the context of Amazon Bedrock?

A.To perform generative tasks like text completion or analysis.
B.To provide a graphical user interface.
C.To manage VPC networking.
D.To store document metadata.
AnswerA

Foundation models are large pre-trained neural networks that underpin generative tasks in Amazon Bedrock, producing text completions, summaries and analysis from prompts. This satisfies the stem's requirement to identify their purpose: enabling generative output rather than classification or embedding-only workloads.

Why this answer

Foundation Models (FMs) in Amazon Bedrock are large pre-trained models (e.g., Anthropic Claude, Amazon Titan, Meta Llama) that perform generative tasks such as text completion, summarization, question answering, and analysis. They are the core AI engines that Bedrock exposes via a unified API, allowing you to build generative applications without training models from scratch. The purpose of FMs is to provide these generative capabilities as a managed service.

Exam trap

AIP-C01 often tests the misconception that Foundation Models are infrastructure or storage components, when they are specifically pre-trained generative AI models accessed via API for tasks like text completion and analysis.

How to eliminate wrong answers

Option B is wrong because providing a graphical user interface is not the purpose of Foundation Models — the Bedrock console provides a GUI, but FMs themselves are AI models accessed via API, not UI components. Option C is wrong because managing VPC networking is an infrastructure task handled by Amazon VPC, not by Foundation Models, which are AI/ML models with no networking management role. Option D is wrong because storing document metadata is a data management function (e.g., handled by S3, DynamoDB, or a Knowledge Base metadata store), not a capability of Foundation Models.

5
MCQmedium

When should a developer choose to fine-tune a model versus using RAG?

A.When you have very little data.
B.When you need to ensure the model does not hallucinate.
C.When the data changes daily.
D.When you need the model to learn a specific, consistent corporate tone.
AnswerD

Fine-tuning adjusts model weights on curated examples, which reliably instils a consistent house style, vocabulary and formatting that prompting or RAG cannot guarantee. RAG supplies external knowledge at inference time but leaves tone unchanged, so it cannot satisfy this stylistic requirement.

Why this answer

RAG is best for grounding in changing data, while fine-tuning is better for changing the model's style, tone, or highly specialized domain language.

6
MCQmedium

A developer needs to handle documents that are too large to fit in a single prompt. What is the most recommended approach?

A.Compress the text using a ZIP algorithm before sending.
B.Concatenate all text and send it in one prompt.
C.Ask the user to split the document.
D.Use a Knowledge Base to perform retrieval and generation.
AnswerD

A Knowledge Base performs retrieval-augmented generation: documents are chunked and embedded, relevant chunks are retrieved per query, and only those passages are passed to the model. This satisfies the constraint that source documents exceed the prompt size limit.

Why this answer

Knowledge Bases for Amazon Bedrock implement a RAG (Retrieval-Augmented Generation) pattern: documents are chunked, embedded, and stored in a vector store, then only the most relevant chunks are retrieved and injected into the prompt at query time. This lets the model answer questions over documents of effectively unlimited size without exceeding the model's context window. It is the AWS-recommended, scalable approach for large-document Q&A.

Exam trap

AIP-C01 often tests whether candidates confuse 'fitting more text into a prompt' (compression, concatenation) with the actual RAG pattern — the exam expects you to recognize that retrieval, not prompt stuffing, is the scalable answer for oversized documents.

How to eliminate wrong answers

Option A is wrong because ZIP compression reduces storage size, not token count — the LLM still receives the same (or garbled) text, and models cannot meaningfully decompress binary archives. Option B is wrong because concatenating all text still exceeds the model's maximum context window (e.g., 200K tokens for Claude 3), causing truncation or request failure. Option C is wrong because pushing document splitting onto the user is a poor UX workaround, not a technical solution, and does not address retrieval relevance.

7
MCQmedium

Which metric should a developer monitor to ensure the RAG system remains performant as usage increases?

A.Vector Database Storage Capacity.
B.IAM User Count.
C.Inference Latency.
D.Model Training Loss.
AnswerC

Inference latency measures the time the RAG system takes to return a response, capturing retrieval plus generation overhead. As concurrent usage grows, this metric reveals degradation from model contention or vector store load, satisfying the need to track performance under increasing demand.

Why this answer

Latency and Token Consumption (or request count) are key indicators of RAG performance and cost efficiency.

8
MCQmedium

An organization wants to use a model that supports both text and image input. Which family of foundation models should they select in Amazon Bedrock?

A.Amazon Titan Text Express
B.Claude 3 Sonnet
C.Jurassic-2 Mid
D.Cohere Command R
AnswerB

Claude 3 Sonnet accepts both text and image inputs, satisfying the multimodal requirement. Within Amazon Bedrock, it handles vision tasks such as chart and document analysis alongside text prompts, unlike text-only models such as Titan Text. This makes it the appropriate choice when a single model must process mixed image and text content.

Why this answer

Amazon Bedrock supports multi-modal models like Claude 3 Sonnet and Claude 3 Opus which handle both text and images.

9
MCQeasy

What is the primary role of an Embedding Model in a RAG pipeline?

A.To convert text into numerical vectors for semantic similarity search.
B.To act as a firewall for the RAG system.
C.To compress large files for storage.
D.To generate human-readable summaries.
AnswerA

The embedding model encodes text chunks and queries into dense numerical vectors, placing semantically similar content close together in vector space. This enables the vector store's similarity search to retrieve relevant context for the generator.

Why this answer

Embedding models convert text into numerical vectors that represent the semantic meaning of the content for vector search.

10
Multi-Selectmedium

Which TWO types of models are generally available in Amazon Bedrock?

Select 2 answers
A.Embedding models.
B.Network load balancer configurations.
C.Hardware drivers.
D.OS kernel images.
E.Text generation models.
AnswersA, E

Embedding models convert text into vector representations and are offered as fully managed, generally available foundation models within Amazon Bedrock. They support RAG and semantic search workloads, satisfying the question's requirement for a model type generally available in the service.

Why this answer

Amazon Bedrock provides foundation models (FMs) accessed via a unified API, and these FMs fall into categories such as embedding models (Option A) and text generation models (Option E). Embedding models in Bedrock, such as Amazon Titan Embeddings or Cohere Embed, convert text into vector representations used for semantic search, RAG, and clustering, which is why Option A is correct. Text generation models, such as Anthropic Claude, Amazon Titan Text, Meta Llama, and Mistral, produce natural-language output for chat, summarization, and content creation, which is why Option E is correct.

Options B, C, and D are incorrect because network load balancer configurations, hardware drivers, and OS kernel images are infrastructure and systems-level artifacts, not model types offered by Amazon Bedrock.

11
MCQmedium

When designing a RAG system, why would a developer choose Amazon Titan Text Embeddings over a third-party embedding model?

A.It is optimized for Amazon Bedrock Knowledge Bases, ensuring seamless integration and scalability.
B.It supports multi-modal input processing natively.
C.It is the only model that supports English.
D.It prevents the model from hallucinating.
AnswerA

Amazon Titan Text Embeddings is natively integrated with Amazon Bedrock Knowledge Bases, so vectors are generated and indexed without custom embedding pipelines or dimension mismatches. That native fit delivers the seamless integration and scalability the scenario requires.

Why this answer

Amazon Titan Embeddings are optimized to work natively with Amazon Bedrock Knowledge Bases and provide high performance and integration benefits.

12
MCQeasy

A company is building a RAG application on Amazon Bedrock. They need to store embeddings for a large-scale knowledge base with low-latency similarity search and full integration with LangChain. Which vector database should the developer recommend?

A.Amazon DynamoDB with global secondary indexes
B.Amazon Aurora PostgreSQL without pgvector
C.Amazon S3 with Athena query engine
D.Amazon OpenSearch Serverless vector engine
AnswerD

Amazon OpenSearch Serverless vector engine provides the low-latency similarity search the knowledge base demands, and its native LangChain integration satisfies the stated requirement. It scales automatically for large embedding volumes without capacity planning, unlike alternatives lacking managed serverless scaling or first-class LangChain support.

Why this answer

Amazon OpenSearch Serverless vector engine is purpose-built for storing and querying high-dimensional embeddings with k-NN similarity search, offering low-latency retrieval at scale and native LangChain integration via the OpenSearch vector store class. It removes cluster management overhead while supporting the vector workloads RAG applications require.

Exam trap

AIP-C01 often tests whether candidates confuse general-purpose AWS data stores (DynamoDB, Aurora, S3) with purpose-built vector databases, so the trap is picking a familiar service that lacks native ANN indexing.

How to eliminate wrong answers

Option A is wrong because DynamoDB is a key-value/document store without native vector similarity search; GSI queries cannot perform approximate nearest-neighbor (ANN) lookups on embeddings. Option B is wrong because Aurora PostgreSQL without pgvector has no vector data type or ANN index (HNSW/IVFFlat), so it cannot perform similarity search on embeddings. Option C is wrong because S3 with Athena is an object store plus SQL query engine designed for batch analytics, not low-latency vector similarity search.

13
MCQhard

A developer is building a RAG application using Amazon Bedrock Knowledge Bases. The knowledge base is configured with an Amazon OpenSearch Serverless vector store. They notice that queries are returning irrelevant results. They suspect that the chunking strategy is not optimal for their documents, which are technical manuals with long paragraphs and code snippets. Which action should they take to improve retrieval accuracy?

A.Reduce the number of retrieved chunks by lowering the top-k parameter.
B.Increase the chunk size to the maximum allowed by Bedrock Knowledge Bases.
C.Enable hybrid search by combining keyword and vector search.
D.Switch to a hierarchical chunking strategy that preserves document structure.
AnswerD

Hierarchical chunking, such as using a parent-child relationship, preserves the document structure and allows retrieval of smaller, more precise child chunks while providing the parent chunk for context. For technical manuals with code snippets and paragraphs, this approach improves retrieval accuracy by matching queries to relevant sections without losing context.

Why this answer

Hierarchical chunking preserves the structure of technical documents by creating parent and child chunks, allowing the retriever to match queries to precise child chunks while still providing the broader parent context. This is particularly effective for manuals with code snippets and long paragraphs, as it maintains semantic coherence and improves retrieval accuracy.

Exam trap

The trap here is assuming that simply increasing chunk size or adjusting top-k will solve relevance issues, when the root cause is the chunking strategy's inability to handle structured technical content.

14
MCQeasy

Which data format is best suited for ingestion into an Amazon Bedrock Knowledge Base?

A.Raw binary executable files.
B.PDF, Markdown, or HTML files stored in Amazon S3.
C.Encrypted raw stream data.
D.Proprietary database dump files.
AnswerB

Amazon Bedrock Knowledge Bases natively ingest unstructured documents from Amazon S3, supporting PDF, Markdown, HTML, and plain text through the built-in parsing pipeline. This satisfies the stem's ingestion requirement directly, since no custom chunking or transformation layer is needed before vectorisation into the underlying vector store.

Why this answer

Amazon Bedrock Knowledge Bases are designed to ingest unstructured text data from documents such as PDF, Markdown, and HTML files stored in Amazon S3. These formats are supported for parsing and chunking into vector embeddings. Storing them in S3 provides a scalable, durable source for ingestion.

Exam trap

AIP-C01 often tests whether candidates assume any file type can be ingested, but Bedrock Knowledge Bases require supported text-based formats, typically stored in S3.

How to eliminate wrong answers

Option A is wrong because raw binary executable files are not text-based and cannot be parsed into meaningful text chunks for embedding; they are not supported. Option C is wrong because encrypted raw stream data cannot be directly ingested without decryption and parsing, and it is not a supported format. Option D is wrong because proprietary database dump files are not in a format that Bedrock Knowledge Bases can natively parse; they would require conversion to a supported text format first.

15
MCQmedium

A developer wants to ensure that a generative AI application does not provide medical advice. How should they configure this?

A.Disable the model's knowledge of medical terms.
B.Instruct the model via the system prompt only.
C.Create a Guardrail with a 'Denied Topics' policy for medical advice.
D.Use a prompt chain to filter out medical terms.
AnswerC

A Guardrail with a Denied Topics policy blocks the medical-advice subject outright, matching the requirement that the application must not provide medical advice. The policy intercepts prompts and responses on that topic before they reach the user, enforcing the constraint at the model boundary.

Why this answer

Amazon Bedrock Guardrails allow you to define a 'Denied Topics' policy that explicitly blocks the model from responding to user queries about specific topics, such as medical advice. This is a managed, configurable safeguard that works across models and is enforced at the API level, ensuring consistent behavior. Unlike prompt-based instructions, Guardrails provide a deterministic, policy-driven control that cannot be overridden by user input or model drift.

Exam trap

AIP-C01 often tests the misconception that prompt-based instructions (like system prompts) are sufficient for enforcing safety policies, when in fact managed services like Bedrock Guardrails provide the necessary deterministic control.

How to eliminate wrong answers

Option A is wrong because disabling a model's knowledge of medical terms is not a supported configuration in Amazon Bedrock; models are pre-trained and their internal knowledge cannot be selectively disabled. Option B is wrong because instructing the model via the system prompt only is a soft control that can be bypassed by adversarial prompts or ignored by the model, and it lacks the enforcement guarantees of a managed guardrail. Option D is wrong because using a prompt chain to filter out medical terms is a custom, brittle solution that requires additional development and maintenance, and it does not provide the centralized, policy-based enforcement that Guardrails offer.

16
MCQmedium

When using a Knowledge Base, what is the 'Base Prompt' used for?

A.To instruct the model on how to format the answer using retrieved context.
B.To define the database schema.
C.To authenticate the user.
D.To store the conversation history.
AnswerA

The Base Prompt templates how retrieved chunks are injected and instructs the model to answer strictly from that context, satisfying the Knowledge Base's grounding requirement. It governs response formatting and citation behaviour, not retrieval itself — chunking and vector search are configured separately. This keeps generated answers anchored to your indexed data rather than the model's pretrained knowledge.

Why this answer

The base prompt serves as the template for the LLM to understand how to use retrieved context to answer the user's question.

17
MCQeasy

A company is using Amazon Bedrock to generate product descriptions. They want to ensure that the model's responses do not include harmful or inappropriate content. They also need to monitor and log any blocked content for auditing. Which Bedrock feature should they use?

A.Model Invocation Logging
B.Provisioned Throughput
C.Bedrock Agents
D.Guardrails for Amazon Bedrock
AnswerD

Guardrails for Amazon Bedrock allows you to define policies that filter and block harmful or inappropriate content based on categories such as hate, violence, and sexual content. It can also be configured to log blocked content for auditing. This directly addresses the requirement to prevent harmful content and maintain an audit trail.

Why this answer

Guardrails for Amazon Bedrock provides configurable filters to detect and block harmful content across categories like hate, violence, and sexual content. It also supports logging of blocked content for auditing purposes. This makes it the appropriate feature to ensure responses are safe and to maintain an audit trail.

Exam trap

The trap here is confusing logging with active filtering; Model Invocation Logging records what happened but does not prevent harmful content from being generated.

18
MCQmedium

An organization is concerned about data residency requirements for their AI models. Where should they look to identify which AWS regions support specific models?

A.The IAM console.
B.The AWS CLI.
C.The Amazon S3 bucket settings.
D.The Amazon Bedrock documentation region table.
AnswerD

The Amazon Bedrock documentation region table lists exactly which foundation models are available in each AWS region, directly satisfying the data residency constraint. Model availability varies by region, so this table is the authoritative source for confirming that a chosen model can be hosted within the required jurisdiction.

Why this answer

The Amazon Bedrock documentation includes a region table that lists which foundation models are available in which AWS regions. This is the authoritative source for identifying model availability by region, which is essential for meeting data residency requirements. Organizations should consult this table before architecting their GenAI application to ensure the chosen model runs in an approved region.

Exam trap

AIP-C01 often tests whether candidates know that model availability is region-specific and documented in the Bedrock region table — the trap is assuming IAM or CLI is the source of truth for model-region mapping.

How to eliminate wrong answers

Option A is wrong because the IAM console manages identities, roles, and permissions — it does not list model availability by region. Option B is wrong because the AWS CLI can query some service APIs for available models, but it is not the documented reference for region-by-region model support and requires knowing which API to call. Option C is wrong because S3 bucket settings control storage configuration, lifecycle, and access — they have nothing to do with which regions support which AI models.

19
MCQmedium

A company is building a RAG application using Amazon Bedrock and needs to ensure that sensitive PII is filtered out before it reaches the foundation model. Which feature should be used to achieve this?

A.AWS WAF on the Bedrock API endpoint
B.Amazon Macie on the S3 bucket housing the source data
C.Amazon Bedrock Guardrails
D.AWS Glue DataBrew
AnswerC

Bedrock Guardrails applies configurable PII detection and masking policies directly to prompts and completions before the foundation model processes them, satisfying the requirement that sensitive data be filtered prior to inference rather than relying on post-processing or application-side scrubbing.

Why this answer

Amazon Bedrock Guardrails allows users to configure content filters, including PII redaction, to prevent sensitive information from being processed by or returned from foundation models.

20
MCQhard

A business requirement is to ensure that the RAG model output is grounded solely in the provided documents. How can this be enforced?

A.Increase the temperature of the model to 1.0.
B.Use a secondary model to re-check the output.
C.Set the model temperature to a very low value (e.g., 0.0) and use clear system instructions.
D.Disable the model's training data.
AnswerC

A temperature of 0.0 makes decoding deterministic and strongly favours the highest-probability tokens, while system instructions constrain the model to answer only from retrieved context. Together these reduce unsupported generation, keeping output grounded in the provided documents.

Why this answer

Setting temperature to a very low value (e.g., 0.0) makes the model's output more deterministic and reduces creative deviation, while clear system instructions explicitly tell the model to answer only from the provided documents. Together, these enforce grounding in the RAG context and minimize hallucination.

Exam trap

AIP-C01 often tests grounding techniques, and candidates mistakenly believe increasing temperature or adding a secondary model enforces grounding, missing that low temperature plus explicit system instructions is the direct control.

How to eliminate wrong answers

Option A is wrong because increasing temperature to 1.0 increases randomness and creativity, which worsens grounding and increases hallucination risk. Option B is wrong because a secondary model to re-check output adds cost and latency but does not inherently enforce grounding; it is a mitigation, not an enforcement mechanism. Option D is wrong because you cannot disable a model's training data; the model's parametric knowledge is inherent, and the goal is to constrain its use via prompting and decoding parameters.

21
MCQmedium

A developer wants to ensure that the RAG pipeline is resilient to outages. What architectural pattern should be used?

A.Single-node deployment.
B.Hardcoding API endpoints.
C.Using only one S3 bucket.
D.Multi-region deployment with cross-region replication for the vector database.
AnswerD

Multi-region deployment with cross-region replication directly satisfies the resilience requirement by removing single-region failure as a blast radius. If one region's vector database or inference endpoints become unavailable, traffic fails over to a replica holding synchronised embeddings, keeping retrieval and generation operational. Microsoft Entra ID governs access across both regions without reconfiguration.

Why this answer

A multi-region deployment with cross-region replication of the vector database ensures that if one AWS region becomes unavailable, the RAG pipeline can fail over to a replica region that already holds the embedded document vectors, preserving retrieval and generation. This directly addresses resilience to outages by removing the single-region failure domain for both compute and the vector store. Cross-region replication keeps the vector index synchronized so failover does not require re-ingesting and re-embedding the corpus.

Exam trap

The trap is treating 'resilient' as a storage-durability question and picking a single S3 bucket, when the exam is really testing whether you recognize that the vector database and compute layer, not just object storage, must be replicated across regions.

How to eliminate wrong answers

Option A is wrong because a single-node deployment is a single point of failure with no redundancy; any node or AZ outage takes the entire RAG pipeline down. Option B is wrong because hardcoding API endpoints prevents dynamic failover and breaks when endpoints change or a region fails, and it also embeds credentials/URLs that should be resolved at runtime. Option C is wrong because using only one S3 bucket concentrates all document storage in a single region and offers no cross-region durability or availability for retrieval during a regional outage.

22
MCQmedium

A company is concerned about model provider policy compliance. Where can they find the specific data processing terms for their chosen model?

A.In the Amazon Bedrock console 'Model Evaluation' tab.
B.By asking the model during an inference session.
C.In the Amazon CloudWatch monitoring dashboard.
D.In the AWS Service Terms and individual model provider documentation.
AnswerD

AWS Service Terms govern the platform-level agreement, while each model provider publishes its own data processing terms covering how inputs and outputs are handled. Reviewing both sources is necessary because provider-specific policies supplement, and may differ from, the baseline AWS terms.

Why this answer

The AWS Service Terms and the Bedrock documentation page specify the data handling and privacy commitments for each model provider.

23
Multi-Selecthard

A security auditor requests a report on Bedrock usage. Which TWO of the following AWS services can be used to generate this report?

Select 2 answers
A.AWS CodePipeline.
B.AWS AppConfig.
C.Amazon CloudWatch.
D.AWS CloudTrail.
E.AWS Trusted Advisor.
AnswersC, D

Amazon CloudWatch captures Bedrock invocation metrics and logs, including model usage, token counts and latency, which can be aggregated into a usage report. It satisfies the auditor's requirement by providing operational telemetry across the account.

Why this answer

Amazon CloudWatch (C) is correct because Bedrock publishes runtime metrics and invocation logs to CloudWatch, allowing an auditor to build usage reports from model invocation counts, latency, and token metrics. AWS CloudTrail (D) is correct because it records Bedrock API activity such as InvokeModel and Converse calls as management/data events, which can be queried and exported for an audit report on who used Bedrock and when. AWS CodePipeline (A) is a CI/CD orchestration service and does not capture Bedrock usage data.

AWS AppConfig (B) is for deploying and managing application configuration and feature flags, not for reporting service usage. AWS Trusted Advisor (E) provides best-practice checks and recommendations, not detailed Bedrock invocation reporting.

24
Multi-Selectmedium

Which THREE actions can a developer take to mitigate hallucinations in a RAG application?

Select 3 answers
A.Use a clear system prompt that restricts the model to only use provided information.
B.Use the retrieve-only approach and perform generation with a custom internal engine.
C.Set model temperature to 0.
D.Ensure high-quality source documents are used in the knowledge base.
E.Allow the model to use its internal training data for any gap in knowledge.
AnswersA, C, D

A restrictive system prompt constrains generation to retrieved context, instructing the model to refuse or state uncertainty when evidence is absent. This directly addresses hallucination by preventing the model from drawing on unsupported parametric knowledge outside the supplied documents.

Why this answer

Lowering temperature, providing context, and defining strict system prompts all help limit the model's creative deviation.

25
Multi-Selectmedium

Which THREE items must be configured when setting up a new Knowledge Base in Amazon Bedrock?

Select 3 answers
A.Embedding model selection.
B.Model evaluation dataset.
C.Vector database configuration.
D.Data source (e.g., S3).
E.External firewall rules.
AnswersA, C, D

Selecting an embedding model is mandatory because Amazon Bedrock Knowledge Bases vectorise your source chunks with it before indexing into the vector store. The embedding model defines the vector space and dimensionality, so it must be chosen at creation and cannot be swapped later without re-ingesting the entire data source.

Why this answer

Embedding model, data source, and vector database are the three mandatory components for a Knowledge Base.

26
MCQeasy

What is the primary function of the Bedrock 'Model Invocation Logs'?

A.To throttle incoming requests.
B.To capture and store prompt/response payloads for auditing.
C.To perform real-time model retraining.
D.To reduce inference costs.
AnswerB

Model Invocation Logs capture the full request and response payloads—prompts, completions, and metadata—that Bedrock passes to and from a model, then deliver them to CloudWatch Logs or Amazon S3. This satisfies the auditing requirement by preserving an inspectable record of every invocation for compliance and troubleshooting.

Why this answer

These logs are used for auditing and debugging by capturing the request and response payloads.

27
MCQeasy

A developer wants to choose a foundation model in Amazon Bedrock that offers the best balance of reasoning capability and latency for a customer support chatbot. Which tool should the developer use to evaluate models?

A.Amazon CloudWatch Metrics for Bedrock.
B.AWS Glue DataBrew.
C.Bedrock Model Evaluation jobs.
D.Amazon SageMaker Model Monitor.
AnswerC

Bedrock Model Evaluation jobs run automatic and human evaluations against candidate foundation models using your own dataset, producing metrics on accuracy, robustness and latency. This lets the developer compare reasoning capability against latency for the chatbot.

Why this answer

The Bedrock Model Evaluation service allows developers to compare model performance using automated and human-in-the-loop metrics.

28
Multi-Selecthard

When designing for compliance, which THREE actions are part of the 'Shared Responsibility Model' for an AWS customer?

Select 3 answers
A.Maintaining the physical security of the data center.
B.Configuring encryption for the data at rest.
C.Managing access control through IAM policies.
D.Patching the underlying foundation model code.
E.Classifying data to determine if it is sensitive.
AnswersB, C, E

Encryption of data at rest is the customer's duty under the Shared Responsibility Model, because AWS secures the underlying infrastructure, not the customer's objects. Configuring it satisfies the stem's compliance scenario by protecting stored data and meeting regulatory encryption mandates.

Why this answer

Data classification, encryption configuration, and IAM management are the customer's responsibility.

29
MCQeasy

Which API call in Amazon Bedrock is used to trigger a text generation request without a Knowledge Base?

A.InvokeModel
B.RetrieveAndGenerate
C.GetModelInvocation
D.CreateKnowledgeBase
AnswerA

InvokeModel sends a direct inference request to a foundation model, accepting a prompt and returning generated text. It requires no knowledge base retrieval step, satisfying the stem's constraint of text generation without a Knowledge Base. This contrasts with RetrieveAndGenerate, which queries a configured knowledge base before invoking the model.

Why this answer

InvokeModel is the Bedrock runtime API used to send a direct inference request to a foundation model, passing a prompt in the model-specific request body and receiving generated text. It does not require a Knowledge Base because it operates directly against the model. RetrieveAndGenerate, by contrast, is specifically designed for RAG workflows that query a Knowledge Base.

Exam trap

AIP-C01 often tests the confusion between direct model invocation (InvokeModel) and RAG-based invocation (RetrieveAndGenerate), tricking candidates who assume all Bedrock text generation requires a Knowledge Base.

How to eliminate wrong answers

Option B is wrong because RetrieveAndGenerate is the Bedrock Agents for Amazon Bedrock Runtime API that retrieves relevant passages from a Knowledge Base and then generates a response, so it inherently requires a Knowledge Base to be configured. Option C is wrong because GetModelInvocation is not a real Bedrock API; invocation logging is handled via CloudWatch/CloudTrail and the ListModelInvocationJobs/GetModelInvocationJob APIs for batch jobs, not for triggering text generation. Option D is wrong because CreateKnowledgeBase is a control-plane API for provisioning a new Knowledge Base, not for generating text.

30
MCQeasy

Which of the following is a recommended practice when working with Bedrock APIs?

A.Use the root user for API calls.
B.Disable logging to save costs.
C.Hardcode IAM keys in the code.
D.Apply the principle of least privilege to IAM policies.
AnswerD

Granting only the specific Bedrock actions and resources each workload needs limits blast radius if credentials leak. Least-privilege IAM policies constrain model invocation, agent, and knowledge base access, satisfying the recommended security practise for Bedrock API usage.

Why this answer

Following the principle of least privilege in IAM is the most recommended security practice.

31
MCQhard

A healthcare company requires that all generative AI outputs be filtered for PII (Personally Identifiable Information) before being sent to the end user. Which Amazon Bedrock feature effectively manages this compliance requirement?

A.Amazon Bedrock Guardrails
B.AWS CloudTrail logs
C.AWS WAF on the API Gateway
D.IAM Policy evaluation for Bedrock
AnswerA

Amazon Bedrock Guardrails applies configurable policies, including sensitive-information filters that detect and block PII, to model inputs and outputs. This enforces the healthcare compliance requirement by filtering generative AI responses before they reach the end user.

Why this answer

Guardrails for Amazon Bedrock allows developers to configure PII filtering, profanity filters, and denial topics to ensure compliance.

32
Multi-Selectmedium

Which TWO of the following are valid ways to improve the relevance of retrieved documents in a RAG system?

Select 2 answers
A.Implement metadata filtering to narrow the search space.
B.Apply a custom chunking strategy suited to the document format.
C.Use a larger, more generic embedding model.
D.Increase the number of retrieved chunks to 1000.
E.Delete all indices and recreate them every hour.
AnswersA, B

Metadata filtering restricts vector search to documents matching attributes such as date, source or tenant, removing semantically similar but irrelevant chunks before ranking. This directly satisfies the stem's goal of improving retrieved document relevance in a RAG pipeline.

Why this answer

Metadata filtering and choosing an optimal chunking strategy are key levers to improve retrieval accuracy.

33
Multi-Selecthard

Which THREE factors influence the cost of running an Amazon Bedrock Knowledge Base?

Select 3 answers
A.The amount of data stored in the vector database.
B.The number of tokens generated by the model during the 'RetrieveAndGenerate' process.
C.The number of concurrent IAM users.
D.The number of tokens processed by the embedding model.
E.The frequency of S3 bucket scans.
AnswersA, B, D

Storage volume in the vector database directly drives cost, since Amazon Bedrock Knowledge Bases bill for the underlying vector store's capacity and consumed storage. Larger embedded datasets, particularly with high-dimensional vectors, increase the provisioned or on-demand storage charges, making stored data volume a genuine cost factor.

Why this answer

Option A is correct because an Amazon Bedrock Knowledge Base stores its embeddings in a vector store (for example, Amazon OpenSearch Serverless, Aurora pgvector, or Neptune Analytics), and the cost of that vector database scales with the volume of data/vectors stored. Option B is correct because the RetrieveAndGenerate API invokes a foundation model to generate the final answer, and you are billed for the input and output tokens the model consumes during that generation step. Option D is correct because ingesting documents into the knowledge base requires calling a Bedrock embedding model (such as Amazon Titan Text Embeddings), and you pay per token processed by that embedding model.

Option C is not a Bedrock Knowledge Base cost factor because IAM users are free and concurrency of users does not drive Bedrock or vector-store charges. Option E is not correct because there is no per-scan charge for S3 buckets; S3 charges are based on storage, requests, and data transfer, not on how often the knowledge base syncs or scans the bucket.

34
MCQeasy

A developer is building a generative AI application using Amazon Bedrock and needs to ensure that all API calls to the Bedrock runtime are logged for auditing purposes. The logs must include the request and response payloads, and must be retained for 90 days. The developer wants to minimize operational overhead. Which solution meets these requirements?

A.Create an AWS Lambda function that intercepts all Bedrock API calls, logs the payloads to Amazon S3, and applies a 90-day lifecycle policy.
B.Use AWS CloudTrail to log all Bedrock API calls, and configure an S3 bucket with a lifecycle policy to delete objects after 90 days.
C.Enable VPC Flow Logs for the VPC endpoint used by Bedrock, and store logs in CloudWatch with a 90-day retention period.
D.Enable model invocation logging in Amazon Bedrock, configure it to log to Amazon CloudWatch Logs, and set the retention period to 90 days.
AnswerD

Amazon Bedrock model invocation logging can capture full request and response data and deliver it to CloudWatch Logs. Setting a retention period of 90 days on the log group meets the retention requirement. This is a managed feature that requires minimal operational overhead, as it is configured directly in Bedrock.

Why this answer

Model invocation logging is a native Bedrock feature that can capture full request and response data and deliver it to CloudWatch Logs or S3. Configuring it to CloudWatch Logs with a 90-day retention period is the simplest way to meet the auditing requirement with minimal overhead. Other options either do not capture payloads or require custom code.

Exam trap

The trap here is confusing CloudTrail, which logs API activity but not payloads, with model invocation logging, which captures the actual request and response content.

35
MCQeasy

Which AWS service is used to monitor and log the prompts sent to an Amazon Bedrock model for auditing purposes?

A.AWS Config
B.AWS CloudTrail
C.Amazon Macie
D.Amazon CloudWatch Logs
AnswerB

CloudTrail records Bedrock API activity, including InvokeModel calls, capturing who sent each prompt, when, and from where. This satisfies the auditing requirement by providing an immutable, queryable event history of prompt submissions, unlike CloudWatch metrics, which only expose aggregate performance data.

Why this answer

AWS CloudTrail logs all API calls made to Amazon Bedrock, providing the necessary audit trail for prompt usage.

36
MCQhard

A financial services firm is building a RAG application using Amazon Bedrock Knowledge Bases. They need to ensure that the vector embeddings for their proprietary documents are stored in a way that meets strict data residency requirements. The documents are stored in an Amazon S3 bucket in the eu-west-1 region. They want to use Amazon OpenSearch Serverless as the vector store. Which configuration should they choose?

A.Create the OpenSearch Serverless collection in eu-west-1 and configure the Bedrock Knowledge Base to use it.
B.Create an OpenSearch Serverless collection in us-east-1 and use VPC peering to connect to the S3 bucket in eu-west-1.
C.Use the default OpenSearch Serverless collection provided by Bedrock Knowledge Bases, which automatically replicates data across regions.
D.Use Amazon Aurora PostgreSQL with pgvector as the vector store, deployed in eu-west-1, and configure the Knowledge Base to use it.
AnswerA

To meet data residency, the vector store must be in the same region as the documents. Creating the OpenSearch Serverless collection in eu-west-1 ensures that embeddings and queries remain within that region. Bedrock Knowledge Bases support OpenSearch Serverless as a vector store, and configuring it in the same region satisfies the requirement.

Why this answer

Data residency requires that all data, including vector embeddings, remain within the specified region. By creating an OpenSearch Serverless collection in eu-west-1 and configuring the Bedrock Knowledge Base to use it, the embeddings are stored and processed within the EU. Other options either place data in a different region or use an alternative vector store that does not match the stated preference.

Exam trap

The trap here is assuming that Bedrock Knowledge Bases automatically handle data residency or that using a different region with VPC peering is acceptable, when in fact the vector store must be in the same region as the source data.

37
MCQhard

A company wants to provide users with citations for the AI-generated answers in their RAG system. How is this achieved in Amazon Bedrock?

A.Manually write code to compare generation results with source documents.
B.Use the RetrieveAndGenerate API which includes source attribution.
C.Configure the Prompt Template to force the model to output document IDs.
D.Enable the 'Citations' feature in the Model Evaluation console.
AnswerB

RetrieveAndGenerate returns generated answers alongside citations referencing the source chunks retrieved from the knowledge base, so users can verify claims. The API handles retrieval, generation and attribution in one call, unlike Retrieve, which returns documents without a generated, cited response.

Why this answer

The RetrieveAndGenerate API in Amazon Bedrock Knowledge Bases natively returns citations alongside generated responses. When you call RetrieveAndGenerate, the response includes a citations array that maps generated text segments back to the specific source chunks retrieved from the knowledge base, including document URIs and excerpts. This is a built-in capability, so no custom comparison logic or prompt engineering is needed.

Exam trap

AIP-C01 often tests whether candidates know that Bedrock Knowledge Bases provide citations as a native API feature rather than something you build manually or force via prompt engineering.

How to eliminate wrong answers

Option A is wrong because manually comparing generation results with source documents is error-prone, non-deterministic, and reinvents functionality that Bedrock already provides natively through the RetrieveAndGenerate API. Option C is wrong because forcing the model to output document IDs via prompt templates is unreliable — LLMs can hallucinate IDs, and the model has no guaranteed access to the actual retrieval metadata unless the API surfaces it. Option D is wrong because the Model Evaluation console is used for assessing model quality metrics (accuracy, robustness, toxicity), not for enabling citation features in RAG responses.

38
MCQeasy

Which service should be used to manage user access to Amazon Bedrock models?

A.Amazon Route 53.
B.Amazon SageMaker.
C.AWS Glue.
D.AWS IAM.
AnswerD

AWS IAM governs authentication and authorisation for Amazon Bedrock, controlling which principals may invoke specific models and actions through identity-based and resource-based policies. It is the native access management service for Bedrock, satisfying the requirement to manage user access to models.

Why this answer

AWS IAM (Identity and Access Management) is the service used to control access to AWS resources, including Bedrock APIs.

39
MCQhard

How can a developer ensure that the retrieval step in a RAG application focuses only on the most relevant documents when the knowledge base contains millions of files?

A.Implement metadata filtering in the query.
B.Increase the vector dimension size.
C.Use a larger model for embedding.
D.Reduce the chunk size.
AnswerA

Metadata filtering narrows the vector search to documents matching structured attributes before similarity ranking, so irrelevant files never enter the candidate set. This satisfies the constraint of millions of documents by cutting the searchable corpus to a relevant subset, improving both precision and latency.

Why this answer

Metadata filtering (A) allows the retrieval step to narrow down the search space by applying filters on document attributes (e.g., date, category, author) before performing vector similarity search. This ensures that only documents matching the filter criteria are considered, improving relevance and reducing noise when the knowledge base is large.

Exam trap

AIP-C01 often tests the confusion between improving embedding quality (e.g., larger models, dimensions) and applying retrieval-time filters like metadata, which directly address relevance in large corpora.

How to eliminate wrong answers

Option B is wrong because increasing vector dimension size does not improve retrieval focus; it may increase computational cost and storage without addressing relevance. Option C is wrong because using a larger embedding model does not inherently focus retrieval on relevant documents; it may improve representation quality but does not filter based on query-specific criteria. Option D is wrong because reducing chunk size can affect granularity but does not ensure that only relevant documents are retrieved; it may even fragment context.

40
Multi-Selectmedium

Which TWO of the following are supported as source data for Amazon Bedrock Knowledge Bases?

Select 2 answers
A.Atlassian Confluence.
B.Email server logs.
C.Social media live streams.
D.Local hard drive files.
E.Amazon S3.
AnswersA, E

Atlassian Confluence is a supported native connector for Amazon Bedrock Knowledge Bases, letting the service crawl and synchronise spaces, pages and attachments directly into the vector store. This satisfies the stem's requirement for supported source data without custom ingestion pipelines, unlike unsupported sources such as generic SQL databases.

Why this answer

S3 is the primary supported source, and Confluence is also natively supported as a data source.

41
MCQmedium

A developer needs to measure the quality of a RAG application's responses. Which tool within Amazon Bedrock facilitates this?

A.Amazon CloudWatch Metrics.
B.Amazon Bedrock Model Evaluation.
C.AWS Glue Quality Rules.
D.Amazon SageMaker Model Monitor.
AnswerB

Amazon Bedrock Model Evaluation provides built-in and custom evaluation jobs that score model or RAG outputs against metrics such as correctness, faithfulness and relevance. It directly measures response quality for retrieval-augmented generation applications without requiring separate tooling.

Why this answer

Amazon Bedrock Model Evaluation allows users to evaluate their models or RAG pipelines against custom or built-in datasets.

42
Multi-Selecthard

A developer is designing a RAG system and wants to ensure high-quality retrieval. Which THREE techniques should be implemented to improve semantic search relevance?

Select 3 answers
A.Using a reranking model to score retrieved documents
B.Applying semantic chunking based on document structure
C.Increasing the vector dimension size to maximum
D.Implementing hybrid search combining keyword and vector search
E.Using only fixed-size overlap chunking
AnswersA, B, D

A reranking model rescores the initial candidate set from vector search, applying a cross-encoder that evaluates query-document pairs jointly rather than comparing independent embeddings. This directly improves semantic relevance by promoting contextually accurate passages, satisfying the stem's requirement for higher-quality retrieval in the RAG pipeline.

Why this answer

Option A is correct because a reranking model (e.g., a cross-encoder) re-scores the initially retrieved candidates against the query, capturing fine-grained query-document interactions that bi-encoder vector similarity misses, which directly boosts top-k relevance. Option B is correct because semantic chunking based on document structure (headings, sections, paragraphs) preserves coherent meaning units, so each embedding represents a complete idea rather than an arbitrary text slice, improving retrieval precision. Option D is correct because hybrid search combines lexical keyword matching (e.g., BM25) with dense vector search, capturing exact terms, rare entities, and acronyms that pure embeddings often miss while retaining semantic matching.

Option C is not correct because simply maximizing vector dimensions increases storage and compute cost without guaranteeing better relevance, and can even hurt performance through overfitting or noise. Option E is not correct because fixed-size overlap chunking ignores semantic boundaries, frequently splitting related content and diluting embedding quality compared to structure-aware chunking.

Exam trap

AIP-C01 often tests the misconception that bigger vector dimensions or simple fixed chunking improve retrieval, when in fact semantic chunking, hybrid search, and reranking are the proven techniques for relevance.

43
MCQeasy

Which Amazon Bedrock feature allows developers to restrict user queries based on specific topics or harmful content categories?

A.Knowledge Base Vector Index policies
B.Cross-region inference
C.Model Invocation Logs
D.Amazon Bedrock Guardrails
AnswerD

Amazon Bedrock Guardrails applies configurable policies that evaluate prompts and responses against denied topics and harmful content categories, blocking or filtering them. This directly satisfies the requirement to restrict user queries by topic or content category, which base model invocation alone cannot enforce.

Why this answer

Amazon Bedrock Guardrails provide a structured way to define policies that filter input and output based on topics, PII, and harmful content.

44
MCQeasy

What is the primary benefit of using a 'System Prompt' in Bedrock?

A.To bypass authentication.
B.To provide instructions that guide the model's behavior.
C.To increase the model's speed.
D.To compress the input tokens.
AnswerB

A system prompt supplies persistent instructions that shape a model's tone, role, and boundaries across every turn, unlike per-request user messages. This directly satisfies the stem's constraint of guiding behaviour, establishing consistent operating rules before conversation begins. It does not configure infrastructure, guardrails, or knowledge retrieval.

Why this answer

The system prompt sets the behavior and constraints for the model, ensuring consistent and safe interactions.

45
MCQmedium

An organization is deploying a RAG architecture using Amazon Bedrock and Amazon OpenSearch Serverless. The security team requires that all data remain within the VPC. How should the developer configure the integration?

A.Configure the Knowledge Base to use an S3 Gateway Endpoint only.
B.Deploy the Bedrock Knowledge Base using a PrivateLink interface endpoint for Bedrock and a VPC endpoint for OpenSearch Serverless.
C.Use a NAT Gateway to route all traffic to the Bedrock service.
D.Use an API Gateway with a WAF to restrict access to the vector store.
AnswerB

PrivateLink interface endpoints for Bedrock and a VPC endpoint for OpenSearch Serverless keep traffic on the AWS private network, so requests never traverse the public internet. This satisfies the constraint that all data remains within the VPC.

Why this answer

To keep all data within the VPC, you must use AWS PrivateLink interface endpoints for Bedrock and a VPC endpoint for OpenSearch Serverless. This ensures that traffic between the Knowledge Base, Bedrock, and the vector store never traverses the public internet. The S3 Gateway Endpoint alone is insufficient because Bedrock and OpenSearch Serverless require interface endpoints.

Exam trap

AIP-C01 often tests the assumption that an S3 Gateway Endpoint alone secures a RAG pipeline; the trap is forgetting that Bedrock and OpenSearch Serverless require their own PrivateLink interface endpoints to keep traffic private.

How to eliminate wrong answers

Option A is wrong because an S3 Gateway Endpoint only covers S3 traffic; it does not provide private connectivity to Bedrock or OpenSearch Serverless. Option C is wrong because a NAT Gateway routes traffic through the public internet, violating the requirement that data remain within the VPC. Option D is wrong because API Gateway with WAF controls access but does not keep traffic private within the VPC; it still uses public endpoints.

46
MCQmedium

A compliance team requires that all prompts containing sensitive data be encrypted. How does Amazon Bedrock handle this during the request?

A.Bedrock only supports encrypted prompts if a VPC endpoint is used.
B.Amazon Bedrock uses TLS 1.2+ for encryption in transit.
C.The prompt must be base64 encoded.
D.The developer must manually encrypt the prompt string before calling the API.
AnswerB

Amazon Bedrock encrypts all data in transit between the client and the service using TLS 1.2 or higher, protecting prompts containing sensitive data during transmission. This satisfies the compliance requirement for encryption of prompts while in flight.

Why this answer

Amazon Bedrock encrypts all data in transit using TLS 1.2 or higher, including prompts sent to the API. This is automatic and does not require manual encryption or special encoding by the developer. Therefore, prompts containing sensitive data are encrypted in transit by default.

Exam trap

AIP-C01 often tests whether candidates know that encryption in transit is automatic with TLS 1.2+, and may incorrectly assume manual encryption or VPC endpoints are required for sensitive prompts.

How to eliminate wrong answers

Option A is wrong because TLS encryption is used regardless of whether a VPC endpoint is configured; a VPC endpoint provides private connectivity but is not a prerequisite for encryption. Option C is wrong because base64 encoding is not encryption and is not required by Bedrock. Option D is wrong because manual encryption of the prompt string is unnecessary; Bedrock handles transport encryption.

47
MCQhard

When migrating an on-premises RAG system to Amazon Bedrock, how should the team handle existing vector embeddings?

A.Map the old embeddings to new dimensions using a linear function.
B.Re-embed the documents using a model supported by Amazon Bedrock.
C.Use the Bedrock Import Vector API.
D.Import existing vectors directly into the OpenSearch index.
AnswerB

Amazon Bedrock's knowledge bases require embeddings produced by a supported embedding model, and vector spaces are model-specific. Embeddings from the on-premises model are therefore incompatible and cannot be reused. Re-embedding the source documents with a Bedrock-supported model ensures retrieval works correctly.

Why this answer

When migrating a RAG system to Amazon Bedrock, existing vector embeddings from an on-premises system cannot be directly used because they were generated by a different embedding model. Embeddings are model-specific; dimensions and semantic spaces differ. Therefore, the documents must be re-embedded using an embedding model supported by Amazon Bedrock (e.g., Amazon Titan Embeddings or Cohere Embed).

This ensures compatibility with Bedrock's vector store and retrieval.

Exam trap

AIP-C01 often tests the misconception that vector embeddings are interchangeable across models, but the exam expects candidates to recognize that embeddings are model-specific and must be regenerated when changing models.

How to eliminate wrong answers

Option A is wrong because mapping embeddings to new dimensions via a linear function is not feasible; embeddings from different models are not linearly related, and such transformation would destroy semantic meaning. Option C is wrong because there is no 'Bedrock Import Vector API'; Bedrock does not provide a direct API to import pre-existing vectors. Option D is wrong because importing existing vectors directly into OpenSearch is possible only if the vectors are compatible with the embedding model used for queries; since the old embeddings are from a different model, they would not match the query embeddings generated by Bedrock's model, leading to poor retrieval.

48
MCQmedium

A developer is configuring a RAG system and wants to ensure the model has access to the most recent data. How should they handle updates?

A.Wait for the Bedrock service to automatically detect changes.
B.Perform a 'Sync' operation on the Knowledge Base.
C.Use a cron job to restart the inference engine.
D.Delete and recreate the knowledge base daily.
AnswerB

A Sync operation on the Knowledge Base re-ingests and re-indexes the underlying data sources, so newly added or changed documents become retrievable. This satisfies the freshness constraint: without syncing, the RAG system keeps serving stale embeddings from the previous ingestion.

Why this answer

The 'Sync' operation in Knowledge Bases should be triggered whenever the source data changes in S3 to update the index.

49
MCQmedium

When preparing data for a Knowledge Base, why is it recommended to remove PII?

A.To improve model inference speed.
B.Because the models cannot process numbers.
C.To comply with data privacy policies and reduce risk.
D.To reduce the file size.
AnswerC

Removing personally identifiable information satisfies data privacy obligations and limits exposure if the knowledge base is breached or over-shared. Retrieval-augmented generation can surface indexed content to any permitted user, so minimising stored PII directly reduces regulatory and reputational risk under frameworks such as UK GDPR.

Why this answer

Removing PII ensures that the vector index does not store sensitive information, minimizing the risk of data leakage.

Ready to test yourself?

Try a timed practice session using only Foundation Model Integration Data And Compliance questions.