Courseiva

AWS Certified Generative AI Developer - Professional (AIP-C01) (AIP-C01) (AIP-C01) — Questions 76–150

169 questions total · 3 pages · All types, answers revealed

Page 1

Page 2 of 3

Page 3
76
MCQmedium

A financial services company is deploying a generative AI application that uses Amazon Bedrock to answer employee questions about internal policies. The security team requires that the application automatically redact personally identifiable information (PII) such as account numbers and social security numbers from both user prompts and model responses, without modifying the underlying foundation model. Which AWS service should be integrated into the application's request and response pipeline to meet this requirement?

A.Amazon Macie
B.Amazon Comprehend
C.AWS CloudTrail
D.Amazon GuardDuty
AnswerB

Amazon Comprehend provides real-time PII detection and redaction through its ContainsPiiEntities and DetectPiiEntities APIs. By calling these APIs in the application pipeline before sending prompts to Bedrock and after receiving completions, the team can redact sensitive entities such as SSNs and account numbers without altering the foundation model itself. This satisfies the inline redaction requirement.

Why this answer

Amazon Comprehend offers purpose-built PII detection and redaction APIs that can be invoked synchronously within an application's request and response flow. Integrating it before Bedrock invocation and after completion generation ensures sensitive data is masked without retraining or modifying the foundation model. The other services address storage classification, audit logging, or threat detection, none of which provide inline content redaction for generative AI payloads.

Exam trap

The trap here is assuming that a data classification or audit service can perform inline redaction, when only Amazon Comprehend provides real-time PII detection and masking APIs for application payloads.

77
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.

78
MCQhard

A company is deploying a generative AI application on AWS that uses Amazon Bedrock to generate product descriptions. The application must ensure that the generated text does not contain any personally identifiable information (PII) or offensive content. The security team requires that all generated content be automatically scanned and filtered before being stored in Amazon S3. Which AWS service or feature should be integrated into the application pipeline to meet these requirements?

A.Amazon Macie
B.Amazon Comprehend
C.Amazon Bedrock Guardrails
D.AWS Lambda with custom regex patterns
AnswerC

Amazon Bedrock Guardrails is a feature that allows you to define policies to filter and moderate content generated by Bedrock models. It can detect and block PII, hate speech, violence, and other unwanted content. It integrates directly with Bedrock APIs, making it the appropriate choice to automatically scan and filter generated text before storage.

Why this answer

Amazon Bedrock Guardrails is purpose-built to apply safeguards to generative AI outputs, including PII redaction and content filtering. It integrates seamlessly with Bedrock, allowing automatic scanning and blocking of undesired content before it is stored or returned. Other services like Comprehend, Lambda, or Macie are not designed for this real-time, integrated filtering within the Bedrock workflow.

Exam trap

The trap here is confusing data-at-rest scanning services like Macie or general NLP services like Comprehend with the specialized, integrated content filtering provided by Bedrock Guardrails.

79
MCQeasy

A media company is using Amazon Bedrock to generate marketing copy. The legal team wants to ensure that the foundation model cannot be used to generate defamatory or explicit content, and they want to enforce these restrictions centrally across all applications that invoke the model. Which AWS feature should the company use to apply these content restrictions?

A.AWS Identity and Access Management (IAM) policies
B.Amazon Bedrock Guardrails
C.Amazon Bedrock model customization
D.AWS Key Management Service (AWS KMS) encryption
AnswerB

Amazon Bedrock Guardrails lets you define content filters, denied topics, and word filters that are applied to every invocation of a model. By attaching a guardrail to the model or to the application's inference calls, the company can centrally enforce restrictions against defamatory or explicit content across all applications. This meets the requirement for a centralized, reusable policy.

Why this answer

Amazon Bedrock Guardrails is the AWS-native feature designed to enforce content policies such as blocking defamatory, explicit, or otherwise harmful material. It can be applied centrally to model invocations, ensuring consistent enforcement across applications. IAM, model customization, and AWS KMS address access control, model behavior tuning, and encryption respectively, but none provide semantic content filtering.

Exam trap

The trap here is assuming that access control or encryption can enforce content restrictions, when only a dedicated content moderation feature like Amazon Bedrock Guardrails can inspect and filter the meaning of prompts and responses.

80
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.

81
Multi-Selecthard

Which THREE items should be included in an AI application's security documentation for an audit?

Select 3 answers
A.Logging and monitoring policies
B.Encryption methods for training/RAG data
C.Public links to all internal datasets
D.User passwords for all employees
E.Description of safety filters (Guardrails)
AnswersA, B, E

Auditors need evidence that AI activity is continuously recorded and reviewed. Documenting logging and monitoring policies shows how prompt, response and access events are captured, retained and alerted on, satisfying the audit requirement for demonstrable operational oversight.

Why this answer

Option A (Logging and monitoring policies) is correct because auditors need documented evidence of how the AI application records access, inference requests, and anomalous activity, typically via services like CloudWatch, CloudTrail, or Azure Monitor, to demonstrate continuous detection and incident response. Option B (Encryption methods for training/RAG data) is correct because it specifies the cryptographic controls protecting data at rest and in transit — for example AES-256 at rest and TLS 1.2+ in transit — which is essential for verifying confidentiality of sensitive training and retrieval-augmented generation data. Option E (Description of safety filters (Guardrails)) is correct because documenting content moderation, prompt-injection defenses, and output filtering demonstrates that the application enforces responsible-AI and abuse-prevention controls required by audit frameworks.

Option C is incorrect because exposing public links to internal datasets would itself be a security and privacy violation, not an audit artifact. Option D is incorrect because storing or sharing user passwords in documentation violates credential-handling best practices; auditors review password policies and hashing (e.g., bcrypt/Argon2), never actual passwords.

Exam trap

AIP-C01 often tests whether candidates confuse 'documentation for an audit' with 'operational access,' so they pick options that expose credentials or data, which are exactly what auditors prohibit.

82
Multi-Selectmedium

When implementing a RAG-based application, which TWO of the following ensure document security?

Select 2 answers
A.Apply metadata filters to control document access
B.Use IAM-based connectors to data sources
C.Use a single shared user for all data source connections
D.Make all documents globally readable
E.Disable indexing of sensitive documents
AnswersA, B

Metadata filters restrict retrieval to documents whose tags match the caller's authorisation attributes, so restricted chunks never enter the context window. This satisfies document security by enforcing access control at query time within the vector search itself.

Why this answer

Option A is correct because applying metadata filters at query time restricts retrieval to only the documents a given user is authorized to see, enforcing document-level access control within the RAG pipeline. Option B is correct because IAM-based connectors authenticate to data sources using identity and access management policies, ensuring that only permitted documents are ingested and that access respects existing enterprise permissions. Option C is wrong because a single shared user removes per-user accountability and grants everyone the same access, defeating least privilege.

Option D is wrong because making all documents globally readable exposes sensitive content to every user and query. Option E is wrong because disabling indexing of sensitive documents doesn't secure them within RAG; it merely removes them from retrieval, which is a data-availability decision rather than an access-control mechanism.

Exam trap

AIP-C01 often tests the misconception that RAG security is only about the vector store, when in fact both ingestion-time IAM scoping and retrieval-time metadata filtering are required.

83
Multi-Selecthard

Which THREE factors influence the choice of embedding model for a RAG solution?

Select 3 answers
A.Model's popularity
B.Supported languages
C.Maximum input token length
D.Model training cost
E.Embedding dimensionality
AnswersB, C, E

Supported languages matter because the corpus and queries may not be English; a model trained only on English produces poor vectors for other languages, degrading retrieval accuracy. Multilingual coverage must match the content being indexed.

Why this answer

Language support, embedding dimensions, and maximum input token length are key factors.

84
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.

85
Multi-Selecthard

Which THREE of these are valid methods for monitoring a Bedrock-based application?

Select 3 answers
A.Direct access to model training logs
B.AWS CloudTrail for API calls
C.Application-level logging of requests
D.Manual binary inspection
E.Amazon CloudWatch Metrics
AnswersB, C, E

CloudTrail records Bedrock API invocations such as InvokeModel, capturing caller identity, timestamp and request parameters. This satisfies the monitoring requirement by providing an audit trail of who called which model and when, supporting security investigation and compliance.

Why this answer

Option B is correct because AWS CloudTrail captures Bedrock API activity (e.g., InvokeModel, Converse calls) as management and data events, enabling auditing of who called which model and when. Option C is correct because application-level logging lets you record request/response metadata, latency, token usage, and errors from your own code, which is essential for monitoring Bedrock-based applications. Option E is correct because Amazon CloudWatch Metrics provides runtime metrics such as invocation counts, latency, and error rates for Bedrock, and can drive alarms and dashboards.

Option A is not valid because Bedrock does not expose model training logs to customers; it is a managed service and training data/logs are not directly accessible. Option D is not valid because manual binary inspection is not a monitoring method for a Bedrock application and provides no operational telemetry.

Exam trap

AIP-C01 often tests whether candidates confuse managed-service observability with self-hosted ML tooling — assuming you can reach training logs or model internals on Bedrock, which you cannot.

86
MCQeasy

A developer is using Amazon Bedrock to build a chatbot that can answer questions about a company's internal documents. The developer needs to implement a retrieval-augmented generation (RAG) workflow. Which AWS service should be used to store document embeddings and perform similarity search?

A.Amazon DynamoDB
B.Amazon OpenSearch Serverless with vector engine
C.Amazon RDS for PostgreSQL
D.Amazon S3 with Glacier Deep Archive
AnswerB

Amazon OpenSearch Serverless supports vector search through its vector engine, which is designed to store and query embeddings for similarity search. It integrates with Bedrock Knowledge Bases, making it a suitable choice for RAG workflows. It provides scalable, low-latency vector search without managing infrastructure.

Why this answer

Amazon OpenSearch Serverless includes a vector engine specifically designed for storing and querying embeddings, making it ideal for RAG applications. It integrates with Amazon Bedrock Knowledge Bases to provide managed retrieval. Other options like RDS, DynamoDB, or S3 lack native vector search capabilities or are not optimized for this purpose.

Exam trap

The trap here is assuming that any database can store vectors or that S3 can be used directly for similarity search, overlooking the need for a specialized vector store.

87
MCQmedium

When using Bedrock Knowledge Bases, which vector database is integrated natively to support managed RAG workflows?

A.Amazon OpenSearch Serverless
B.Amazon DynamoDB
C.Amazon ElastiCache
D.Amazon RDS for PostgreSQL
AnswerA

Amazon OpenSearch Serverless is the vector store natively integrated with Bedrock Knowledge Bases, providing managed vector indexing and similarity search without separate provisioning. This satisfies the managed RAG requirement by removing manual database administration from the retrieval pipeline.

Why this answer

Amazon Bedrock Knowledge Bases natively integrates with Amazon OpenSearch Serverless as its managed vector store, allowing RAG workflows to be set up without provisioning or managing vector database infrastructure. OpenSearch Serverless provides the vector search collection type that Bedrock uses to store and retrieve embeddings during retrieval-augmented generation. This native integration means customers can point Bedrock at an OpenSearch Serverless vector index and have chunking, embedding, and retrieval handled automatically.

Exam trap

AIP-C01 often tests whether candidates confuse general-purpose AWS data stores (DynamoDB, RDS, ElastiCache) with the specific managed vector store that Bedrock Knowledge Bases integrates natively, which is Amazon OpenSearch Serverless.

How to eliminate wrong answers

Option B is wrong because DynamoDB is a key-value/document NoSQL database and, while it supports vector search in preview via some integrations, it is not the natively integrated managed vector store for Bedrock Knowledge Bases. Option C is wrong because ElastiCache is an in-memory caching service (Redis/Memcached) used for low-latency caching, not a persistent vector database for RAG embeddings. Option D is wrong because RDS for PostgreSQL can host pgvector, but it is not the natively integrated managed vector database that Bedrock Knowledge Bases provisions and manages out of the box.

88
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.

89
Multi-Selecthard

Which THREE tasks are performed by a Bedrock Agent when an Action Group is invoked?

Select 3 answers
A.Mapping intent to an API definition
B.Interpreting user natural language intent
C.Automatically scaling the API endpoint
D.Invoking the defined Lambda function
E.Retraining the model on new data
AnswersA, B, D

The agent uses the Action Group's OpenAPI schema to map the user's interpreted intent onto a specific API operation, selecting the correct path and parameters before orchestration. This schema-driven mapping is the step that converts understood intent into a concrete, invocable API definition.

Why this answer

When a Bedrock Agent invokes an Action Group, it first interprets the user's natural language intent (B) to understand what the user is asking for, using the foundation model's reasoning over the conversation and the action group's description. It then maps that intent to an API definition (A), matching the identified intent to the specific operation, path, and parameters declared in the OpenAPI schema of the action group. Finally, the agent invokes the defined Lambda function (D) that backs the action group, passing the extracted parameters so the business logic can execute and return a result to the agent.

Options C and E are incorrect because automatic scaling of the API endpoint is handled by the underlying compute service (e.g., Lambda or API Gateway), not by the Bedrock Agent, and the agent does not retrain the foundation model on new data as part of action group invocation.

Exam trap

AIP-C01 often tests whether candidates conflate the agent's reasoning/action-invocation responsibilities with unrelated operational tasks like endpoint scaling or model retraining, which are not part of Action Group invocation.

90
Multi-Selecthard

Which THREE configurations must be set correctly within a Knowledge Base 'Data Source' for Bedrock to ingest documents from Amazon S3?

Select 3 answers
A.IAM Role with S3 read permissions
B.Model ID of the generative model
C.Database write timeout
D.Chunking Strategy
E.S3 Bucket Path
AnswersA, D, E

Bedrock assumes an IAM role to read objects from the S3 bucket. The role's trust policy must allow Bedrock, and its permissions policy must grant s3:GetObject and s3:ListBucket. Without these S3 read permissions, ingestion fails authorisation and no documents are indexed.

Why this answer

Option A is correct because the Knowledge Base data source requires an IAM service role that grants Amazon Bedrock permission to read the source objects from Amazon S3 (e.g., s3:GetObject and s3:ListBucket), without which ingestion fails. Option D is correct because the chunking strategy (default, fixed-size, hierarchical, semantic, or no chunking) is a required data source configuration that determines how documents are split before embedding. Option E is correct because the S3 bucket path (the s3:// URI prefix) tells the data source exactly which bucket and prefix to crawl for documents.

Option B is not part of the data source configuration—the model ID is selected when creating or querying the Knowledge Base, not when defining the S3 data source. Option C is irrelevant; there is no 'database write timeout' setting in a Bedrock S3 data source configuration.

Exam trap

The trap is that candidates see 'Model ID' and assume the embedding or generation model must be specified on the data source, when in fact the model is chosen at the Knowledge Base level and the data source only needs path, role, and chunking.

91
Multi-Selecthard

A developer is troubleshooting an Amazon Bedrock Agent that is frequently hitting errors. Which TWO of the following steps should be taken to isolate the issue?

Select 2 answers
A.Restart the Bedrock service.
B.Increase the model's temperature to 1.0.
C.Check CloudWatch Logs for the associated Action Group Lambda functions.
D.Review the Agent's 'Trace' output to identify the failure point.
E.Re-train the underlying base model.
AnswersC, D

Action Group invocations run in Lambda, so CloudWatch Logs capture the request payloads, errors and timeouts that surface as agent failures. Reviewing these logs isolates whether the fault lies in the Lambda function rather than the agent's orchestration or prompt configuration.

Why this answer

Option C is correct because Bedrock Agents invoke Action Group Lambda functions to fulfill API operations, and their execution logs, errors, and timeouts are captured in CloudWatch Logs, making them the primary place to isolate backend failures. Option D is correct because the Agent's Trace output shows the step-by-step orchestration (pre-processing, orchestration, knowledge base/action group invocation, and post-processing), revealing exactly which stage or invocation failed. Option A is wrong because Bedrock is a fully managed service with no customer-accessible restart operation, and restarting would not diagnose the root cause.

Option B is wrong because raising temperature to 1.0 only increases response randomness and would not isolate an error. Option E is wrong because base foundation models cannot be retrained by customers; customization is done via fine-tuning or continued pre-training, which is unrelated to troubleshooting.

Exam trap

AIP-C01 often tests whether candidates understand that Bedrock is a managed service where you cannot 'restart' or 'retrain' base models, steering them toward the two observability tools — Lambda CloudWatch Logs and Agent Trace — that actually reveal the failure point.

92
MCQmedium

In the context of Bedrock Agents, what is the purpose of the 'Instruction' field in the agent configuration?

A.It defines the Knowledge Base search parameters
B.It serves as the system prompt to define the agent's behavior
C.It stores user credentials for the API
D.It contains the list of API definitions
AnswerB

The Instruction field supplies the agent's system prompt, directly shaping how the foundation model interprets requests and selects actions across orchestration steps. This satisfies the stem's requirement to define agent behaviour, since it establishes the persistent role, tone and task boundaries that govern every subsequent reasoning cycle.

Why this answer

The instruction field serves as the system prompt that defines the agent's persona and objective.

93
Multi-Selecthard

A healthcare company is building a generative AI assistant on Amazon Bedrock that summarizes patient records. The compliance team requires that the assistant's outputs are traceable and that any harmful or biased content is detected before being shown to clinicians. The company wants to use AWS-native services and features. (Choose two.)

Select 2 answers
A.Use AWS Trusted Advisor to review the Bedrock model for ethical AI compliance.
B.Enable Amazon Macie to automatically redact biased statements from Bedrock responses.
C.Configure AWS WAF to inspect the generative AI responses for biased language.
D.Enable model invocation logging in Amazon Bedrock to capture request and response metadata to Amazon CloudWatch Logs and Amazon S3.
E.Use Amazon Bedrock Guardrails to apply content filters and denied topics to both prompts and responses.
AnswersD, E

Model invocation logging in Amazon Bedrock records the input prompts, output text, and associated metadata for each invocation. This creates an audit trail that supports traceability and post-hoc analysis of model behavior. Storing logs in CloudWatch Logs and S3 enables compliance teams to review what the model generated and when, which directly addresses the traceability requirement for patient record summaries.

Why this answer

Amazon Bedrock Guardrails evaluates prompts and completions against configurable policies to block harmful or biased content before it is presented, while model invocation logging captures detailed request and response data for traceability. Together they provide both preventive content moderation and a durable audit trail. AWS WAF, Amazon Macie, and AWS Trusted Advisor operate at different layers and cannot inspect or record natural language content for bias or harmful material.

Exam trap

The trap here is confusing infrastructure security services like AWS WAF or data classification tools like Amazon Macie with content moderation and traceability features that are specific to Amazon Bedrock Guardrails and model invocation logging.

94
Multi-Selectmedium

A developer is creating a test suite for an LLM application. Which THREE of the following metrics are commonly used to evaluate RAG system performance?

Select 3 answers
A.Answer Relevance
B.Context Precision
C.Model Training Loss
D.Faithfulness
E.Inference Latency
AnswersA, B, D

Answer Relevance scores how directly the generated response addresses the user's original question, independent of factual grounding. In a RAG test suite it catches responses that are faithful to retrieved context yet drift off-topic, satisfying the need to evaluate end-to-end answer quality.

Why this answer

Faithfulness, answer relevance, and context precision are the key components of RAGAS evaluation.

95
MCQhard

You are monitoring your Bedrock usage costs. You notice a spike in costs despite the number of requests remaining steady. What is the most likely cause?

A.The number of users has increased
B.The model has been upgraded to a newer version
C.The token count per request has increased
D.The regional data transfer cost has increased
AnswerC

Bedrock charges per input and output token, so a steady request count with rising cost indicates larger prompts or responses. The increased token count per request is the mechanism driving the spike, satisfying the observation that request volume stayed constant.

Why this answer

The most likely cause of increased Bedrock costs with steady request volume is an increase in the token count per request. Bedrock pricing is based on the number of input and output tokens processed, so if each request now uses more tokens (e.g., longer prompts or responses), costs will rise even if the number of requests remains constant.

Exam trap

AIP-C01 often tests cost factors for AI services, and candidates may overlook token count as a primary cost driver, instead attributing cost spikes to user count or model changes.

How to eliminate wrong answers

Option A is wrong because an increase in users would typically increase the number of requests, but the scenario states requests are steady. Option B is wrong because upgrading to a newer model might change pricing, but it is not the most likely cause given steady requests; token count is a more direct factor. Option D is wrong because regional data transfer costs are typically separate and not the primary driver of Bedrock usage costs; Bedrock charges are based on tokens, not data transfer.

96
MCQmedium

To ensure compliance with data residency requirements, you must restrict which AWS regions your Generative AI application can process data. What is the most effective way to enforce this?

A.Service Control Policies (SCPs)
B.VPC Endpoint policies
C.IAM policies for all users
D.CloudFront geographic restrictions
AnswerA

SCPs are AWS Organizations guardrails that deny actions or regions across member accounts, evaluated before IAM policies. Attaching a region-restriction SCP to the relevant OUs enforces data residency at the account boundary, blocking Generative AI workloads from invoking services outside approved regions.

Why this answer

Service Control Policies (SCPs) in AWS Organizations are the most effective way to enforce region restrictions across an entire account or organizational unit. An SCP with a Deny condition on aws:RequestedRegion (excluding approved regions) blocks API calls to non-compliant regions regardless of what IAM permissions individual users hold. This provides a centralized, hard guardrail for data residency.

Exam trap

AIP-C01 often tests the misconception that IAM policies alone can enforce region restrictions — candidates miss that SCPs are the centralized guardrail that even admins cannot bypass.

How to eliminate wrong answers

Option B is wrong because VPC Endpoint policies only control access to specific AWS services through that endpoint — they do not restrict which regions an application can call, and they only apply to traffic using that endpoint. Option C is wrong because IAM policies for all users are per-identity and can be modified or bypassed by users with permission to create new roles; they also do not provide a centralized guardrail and are error-prone at scale. Option D is wrong because CloudFront geographic restrictions block viewer access based on country, not which AWS regions your backend services process data in — it is a content-delivery control, not a data-residency enforcement mechanism.

97
MCQeasy

Which parameter in Bedrock inference controls the deterministic nature of the output?

A.Temperature
B.Top_p
C.Max_tokens
D.Stop_sequences
AnswerA

Temperature scales the probability distribution over tokens before sampling; lower values sharpen it toward the highest-probability token, producing near-deterministic output. It is the parameter that directly governs randomness, unlike top-p or token limits, which affect breadth or length rather than determinism.

Why this answer

Temperature is the Bedrock inference parameter that directly controls the randomness or determinism of the model's output. Setting temperature to 0 makes the model select the highest-probability token at each step, producing near-deterministic and repeatable responses. Higher values (up to 1) flatten the probability distribution, increasing creativity and variability.

Exam trap

AIP-C01 often tests the confusion between temperature and top_p as if they were interchangeable randomness controls, when only temperature directly governs determinism.

How to eliminate wrong answers

Option B is wrong because Top_p (nucleus sampling) limits the token pool to a cumulative probability threshold, but it still samples randomly within that pool, so it does not by itself guarantee determinism. Option C is wrong because Max_tokens only caps the number of tokens generated, not the randomness of token selection. Option D is wrong because Stop_sequences merely define strings that terminate generation; they have no effect on the probability distribution used to pick tokens.

98
MCQmedium

You are designing a RAG pipeline. Which step in the ingestion process is responsible for converting unstructured text into a numerical representation?

A.Chunking
B.Embedding
C.Indexing
D.Parsing
AnswerB

Embedding converts unstructured text into dense numerical vectors, which is exactly the transformation the ingestion pipeline needs before storing them in a vector database for retrieval. Chunking, parsing and enrichment preserve or structure text but do not produce the numerical representation required.

Why this answer

Embedding is the step that converts text chunks into dense numerical vectors (embeddings) that capture semantic meaning. These vectors are then stored in a vector database so that similarity search can retrieve relevant chunks at query time. Without embedding, the RAG pipeline cannot perform semantic retrieval.

Exam trap

AIP-C01 often tests whether candidates confuse the ingestion pipeline stages — specifically conflating embedding (vector creation) with indexing (vector storage) or chunking (text splitting).

How to eliminate wrong answers

Option A is wrong because chunking splits large documents into smaller text segments — it operates on text, not numerical representations, and produces text chunks that are then passed to the embedding model. Option C is wrong because indexing stores the already-generated embeddings (and optionally metadata) into a vector store for efficient nearest-neighbor search; it does not create the numerical representation itself. Option D is wrong because parsing extracts raw text from source formats (PDF, HTML, DOCX) and converts them into plain text — it is a preprocessing step that occurs before chunking and embedding.

99
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.

100
MCQmedium

An application uses Amazon Bedrock InvokeModel to generate text. You notice that the output length is consistently truncated. Which parameter should you adjust to ensure the full response is captured?

A.Increase the max_tokens parameter
B.Increase the temperature parameter
C.Increase the top_p parameter
D.Decrease the stop_sequences parameter
AnswerA

max_tokens caps the number of tokens generated in the response; raising it allows longer output before the model stops. Truncation occurs because generation halts at that limit, so increasing the value directly satisfies the requirement to capture the full response.

Why this answer

In Amazon Bedrock InvokeModel, the max_tokens parameter (or its model-specific equivalent like max_gen_len) controls the maximum number of tokens the model can generate in the response. If output is consistently truncated, increasing max_tokens allows the model to produce a longer completion. The other parameters affect randomness or stopping criteria, not the length cap.

Exam trap

AIP-C01 often tests the confusion between parameters that control length (max_tokens) and those that control randomness (temperature, top_p) — candidates may pick temperature thinking it affects output size.

How to eliminate wrong answers

Option B is wrong because temperature controls randomness/creativity, not output length; increasing it makes output more varied but does not prevent truncation. Option C is wrong because top_p (nucleus sampling) also controls randomness by limiting the token pool, not the maximum length. Option D is wrong because decreasing stop_sequences would actually make truncation worse or have no effect — stop_sequences define strings that halt generation, and reducing them would not increase length.

101
MCQeasy

A developer needs to share a Bedrock prompt template with another team securely. What is the recommended method?

A.Save the prompt as a text file in S3 with public access
B.Use Amazon Bedrock Prompt Management
C.Send the prompt in an email
D.Store the prompt in a Git repository without encryption
AnswerB

Amazon Bedrock Prompt Management stores prompt templates as versioned, shareable resources, allowing controlled cross-account or cross-team access through IAM rather than manual copying. This satisfies the secure-sharing constraint while preserving version history and centralised updates.

Why this answer

Amazon Bedrock Prompt Management provides a secure, centralized way to create, version, and share prompt templates with other teams. It integrates with IAM for access control, allowing you to grant specific permissions to other teams without exposing the prompt publicly. This is the recommended method for secure sharing.

Exam trap

AIP-C01 often tests whether candidates choose convenient but insecure sharing methods like public S3 or email, instead of the secure, managed Bedrock Prompt Management feature.

How to eliminate wrong answers

Option A is wrong because storing a prompt in S3 with public access exposes it to anyone on the internet, violating security best practices. Option C is wrong because sending a prompt via email is not secure, lacks version control, and is not a managed sharing method. Option D is wrong because storing a prompt in a Git repository without encryption may expose it if the repository is compromised, and it lacks the access control and versioning features of Bedrock Prompt Management.

102
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.

103
MCQeasy

When invoking a Bedrock model via the API, which HTTP status code indicates that the request was processed, but the model has reached its rate limit?

A.500 Internal Server Error
B.400 Bad Request
C.429 Too Many Requests
D.200 OK
AnswerC

HTTP 429 signals that the request was received and understood but rejected because the caller exceeded the model's rate limit. Other 4xx codes indicate malformed or unauthorised requests, not throttling, so 429 is the throttling response.

Why this answer

The 429 Too Many Requests status code is the standard HTTP response for rate limiting, indicating the request was valid but the model's throughput quota has been exceeded. In Amazon Bedrock, this occurs when you surpass the provisioned throughput or the default quota for a model, and the service throttles the request. The API returns 429 to signal that the client should back off and retry later, often with a Retry-After header.

This is distinct from client errors (4xx) or server errors (5xx) because the request itself is well-formed and could succeed if not for the rate limit.

Exam trap

AIP-C01 often tests the distinction between client errors (4xx) and server errors (5xx), and candidates may confuse 429 with 500 or 400 because they think 'rate limit' is a server issue or a bad request.

How to eliminate wrong answers

Option A is wrong because 500 Internal Server Error indicates an unexpected condition on the server side, not a rate limit; it suggests a service failure rather than throttling. Option B is wrong because 400 Bad Request means the request is malformed or invalid (e.g., missing parameters, invalid JSON), not that the model is rate-limited. Option D is wrong because 200 OK indicates successful processing and a normal response, which would not occur if the rate limit was reached; a 200 would mean the request was served, not throttled.

104
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.

105
MCQhard

A developer is testing a retrieval-augmented generation (RAG) application built on Amazon Bedrock Knowledge Bases. For a specific question, the model returns a confident but incorrect answer, and the retrieved chunks shown in the test console are only loosely related to the question. The developer wants to diagnose whether the retrieval step or the generation step is at fault. Which approach is most effective?

A.Use the Retrieve API to fetch chunks for the question and inspect their relevance scores and content independently of generation.
B.Add a guardrail that blocks unsupported answers and observe whether the response is filtered, indicating a generation problem.
C.Switch the knowledge base to a different embedding model and re-ingest all documents, then compare the final answers.
D.Increase the model's temperature to 1.0 and re-run the query to see if the answer changes, then compare outputs.
AnswerA

The Retrieve API returns the chunks and relevance scores without invoking the generation model. By examining whether the top-ranked chunks actually contain the answer, you can determine if retrieval is failing. If relevant chunks are present but the answer is wrong, the fault lies in generation; if not, retrieval needs tuning.

Why this answer

To separate retrieval failures from generation failures, you must inspect the retrieved chunks independently. The Retrieve API returns the chunks and relevance scores without invoking the generation model, so you can verify whether the correct context was available. If the right context is present but the answer is wrong, generation is at fault; otherwise, retrieval tuning is needed.

Exam trap

The trap here is modifying generation parameters such as temperature or adding guardrails, which change output behavior without revealing whether the retrieved context was relevant.

106
MCQhard

An application deployed on AWS Lambda is receiving 429 Too Many Requests errors when calling Amazon Bedrock. The developer has verified that account-level quotas have not been reached. What is the most likely cause?

A.The VPC endpoint policy is blocking traffic to the Bedrock runtime service.
B.The application is exceeding the tokens-per-minute (TPM) limit for the specific model in that AWS Region.
C.The Lambda function timeout is set too low for the model response time.
D.The IAM role is missing the bedrock:InvokeModelWithResponseStream permission.
AnswerB

Exceeding the model-specific tokens-per-minute quota in that Region triggers throttling independently of account-level limits, so 429s appear despite unused account capacity. Bedrock enforces per-model, per-Region TPM and RPM quotas separately, meaning a single high-volume Lambda workload can saturate the model's throughput ceiling while aggregate account usage remains low.

Why this answer

A 429 Too Many Requests from Bedrock, despite account-level quotas being fine, most commonly means the application is hitting the per-model tokens-per-minute (TPM) or requests-per-minute (RPM) limit for that specific model in that Region. Bedrock enforces model-specific quotas that are separate from account-level limits, so a single high-volume model can throttle even when overall account usage is low.

Exam trap

AIP-C01 often tests whether candidates distinguish account-level quotas from model-specific TPM/RPM quotas — a 429 with healthy account usage almost always points to the per-model limit, not IAM or networking.

How to eliminate wrong answers

Option A is wrong because a VPC endpoint policy blocking traffic would produce a connection timeout or 403, not a 429 throttling response. Option C is wrong because a Lambda timeout produces a task timeout error (or the function being killed), not a 429 from Bedrock. Option D is wrong because a missing IAM permission yields a 403 AccessDenied, not a 429.

107
Multi-Selecthard

When dealing with PII in Generative AI, which THREE practices are recommended?

Select 3 answers
A.Store PII in plain text logs for debugging
B.Implement access policies to restrict PII visibility
C.Share PII freely across all AWS accounts
D.Ensure PII is encrypted at rest using KMS
E.Use Bedrock Guardrails PII redaction
AnswersB, D, E

Access policies enforce least-privilege and role-based controls so only authorised identities can view PII within generative AI workflows, satisfying the stem's requirement for handling personal data responsibly. This limits exposure during prompt processing and output generation, reducing regulatory breach risk under regimes such as UK GDPR.

Why this answer

Option B is correct because implementing least-privilege access policies (e.g., IAM policies and resource-based policies) restricts who can view or process PII, which is a foundational control for protecting sensitive data in Generative AI workloads. Option D is correct because encrypting PII at rest with AWS KMS (using customer managed keys and envelope encryption) ensures that stored data remains unreadable if the underlying storage is compromised, satisfying compliance requirements such as GDPR, HIPAA, and PCI DSS. Option E is correct because Amazon Bedrock Guardrails provides built-in sensitive information filters that can detect and redact PII (such as names, emails, and phone numbers) in both prompts and model responses, preventing PII from leaking into or out of the model.

Option A is not recommended because storing PII in plain text logs exposes sensitive data to anyone with log access and violates data minimization and encryption principles. Option C is not recommended because sharing PII freely across all AWS accounts breaks tenant isolation and least-privilege boundaries, increasing the risk of unauthorized access and data leakage.

Exam trap

AIP-C01 often tests the misconception that debugging convenience justifies storing PII in plain text, or that PII can be freely shared across accounts, when the exam expects defense-in-depth controls like encryption, access policies, and Guardrails redaction.

108
MCQmedium

What is the primary role of an 'Embeddings Model' in a RAG-based Generative AI application?

A.To generate the final natural language answer
B.To convert input text into high-dimensional numerical vectors
C.To store document chunks for long-term retrieval
D.To parse PDF files into plain text
AnswerB

An embeddings model maps text into dense high-dimensional vectors so semantically similar content sits close together in vector space. This enables the retriever to find relevant passages by similarity search, grounding the generative model's response in retrieved context rather than parametric memory alone.

Why this answer

An embeddings model in a RAG application converts input text (queries and document chunks) into high-dimensional numerical vectors that capture semantic meaning. These vectors are stored in a vector database and used for similarity search to retrieve relevant context for the LLM.

Exam trap

AIP-C01 often tests the confusion between the embeddings model (vectorization) and the LLM (generation) — candidates may incorrectly assign answer generation to the embeddings model.

How to eliminate wrong answers

Option A is wrong because generating the final answer is the job of the large language model (LLM), not the embeddings model. Option C is wrong because storing document chunks is the role of a vector database or document store, not the embeddings model itself. Option D is wrong because parsing PDFs into text is a preprocessing step typically handled by document loaders or OCR tools, not by an embeddings model.

109
MCQhard

You are attempting to use a Bedrock Agent to query an internal database, but the agent constantly fails to understand the schema. What is the best way to improve the agent's performance?

A.Improve the OpenAPI schema documentation
B.Increase the agent's timeout
C.Use a Knowledge Base to store the schema
D.Upgrade the agent model
AnswerA

The OpenAPI schema is the contract the agent reads to map natural-language requests onto database operations. Clearer descriptions, parameter definitions and examples let the agent interpret the schema correctly, resolving the persistent misunderstanding of the internal database structure.

Why this answer

Bedrock Agents rely on the OpenAPI schema to understand the available actions and their parameters. If the schema is poorly documented—missing descriptions, ambiguous parameter names, or incorrect types—the agent cannot correctly map user intent to API calls. Improving the schema documentation (e.g., adding clear descriptions, examples, and proper types) directly enhances the agent's ability to interpret and invoke the API, leading to better performance.

Exam trap

AIP-C01 often tests the misconception that increasing timeout or upgrading the model can compensate for poor API definitions, but the exam expects candidates to recognize that the OpenAPI schema is the foundation for agent action groups.

How to eliminate wrong answers

Option B is wrong because increasing the agent's timeout only affects how long the agent waits for a response, not its understanding of the schema; it does not address the root cause of misinterpretation. Option C is wrong because a Knowledge Base stores unstructured data for retrieval, not API schemas; while it can provide context, it does not replace the need for a well-defined OpenAPI schema for action groups. Option D is wrong because upgrading the model may improve general language understanding but will not fix a poorly defined schema; the agent still needs accurate API specifications to function correctly.

110
MCQhard

A generative AI application uses Amazon Bedrock Agents to automate customer support tasks. The agent must query an internal knowledge base and also call a proprietary REST API to check order status. The order status API requires an API key that must be rotated every 30 days without redeploying the agent. Which solution allows the agent to securely authenticate to the API while meeting the rotation requirement?

A.Store the API key in an AWS Lambda environment variable and update the environment variable when rotating the key. The agent's action group invokes the Lambda function, which reads the key from the environment variable.
B.Embed the API key directly in the OpenAPI schema of the action group. When the key rotates, update the action group schema in the Bedrock agent.
C.Use AWS Systems Manager Parameter Store with a SecureString parameter to store the API key. Configure the agent to read the parameter directly from Parameter Store at invocation time.
D.Store the API key in AWS Secrets Manager and configure automatic rotation every 30 days. Create a Lambda function that retrieves the secret at runtime and uses it to call the order status API. The agent's action group invokes this Lambda function.
AnswerD

AWS Secrets Manager supports automatic rotation of secrets using a Lambda rotation function. The agent's action group can invoke a Lambda function that retrieves the current secret value at runtime, so the agent always uses the latest key without redeployment. This meets the rotation requirement and keeps the key secure and centralized.

Why this answer

AWS Secrets Manager provides built-in automatic rotation for secrets, including API keys, using a Lambda rotation function. By having the Bedrock agent's action group invoke a Lambda function that retrieves the secret at runtime, the agent always uses the current key without requiring any changes to the agent configuration. This satisfies both security and the 30-day rotation requirement with minimal operational overhead.

Exam trap

The trap here is assuming that Lambda environment variables or Parameter Store can automatically rotate secrets, or that embedding keys in the OpenAPI schema is acceptable for production.

111
MCQeasy

Which AWS tool is used to monitor the performance and latency of an application calling Bedrock?

A.Amazon Inspector
B.AWS CloudTrail
C.Amazon CloudWatch
D.AWS Config
AnswerC

Amazon CloudWatch collects Bedrock runtime metrics such as invocation latency, throttling and token counts, plus custom metrics your application publishes. This satisfies the stem's requirement to monitor both application performance and the latency of Bedrock calls, since CloudWatch is the native AWS observability service for these metrics.

Why this answer

Amazon CloudWatch provides metrics for request latency, invocation count, and errors for Bedrock models.

112
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.

113
MCQeasy

When using the Bedrock Converse API, which object allows you to maintain context across multiple turns of a conversation?

A.inferenceConfig
B.additionalModelRequestFields
C.messages
D.system
AnswerC

The `messages` array carries the full conversation history, with each turn's user and assistant content, so the model receives prior context on every Converse API call. This directly satisfies the requirement to maintain context across multiple turns, unlike single-shot parameters such as `system` or inference configuration.

Why this answer

The Bedrock Converse API uses the `messages` array to hold the full conversation history, including alternating user and assistant turns. Each turn is represented as a message with a role and content, and by passing the entire array on subsequent calls, the model can see prior context. This is the standard mechanism for multi-turn conversations, as it explicitly maintains state across requests.

Exam trap

AIP-C01 often tests the distinction between configuration parameters and conversation state, so candidates might confuse `inferenceConfig` or `system` with the mechanism for maintaining context, overlooking that `messages` is the only field that carries the dialogue history.

How to eliminate wrong answers

Option A is wrong because `inferenceConfig` controls generation parameters like temperature, topP, and maxTokens, not conversation history. Option B is wrong because `additionalModelRequestFields` is used to pass model-specific parameters that are not part of the standard Converse API, such as top_k or guardrail configurations, and does not store conversation turns. Option D is wrong because `system` provides a system prompt that sets the model's behavior or persona, but it does not maintain context across multiple turns; it is static per request.

114
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.

115
Multi-Selectmedium

Which THREE techniques are commonly used to mitigate hallucinations in RAG applications?

Select 3 answers
A.Adding 'I don't know' as a fallback response
B.Using the longest possible output token limit
C.Requiring the model to provide citations
D.Instructing the model to only answer based on provided context
E.Increasing the inference temperature
AnswersA, C, D

A grounded fallback directly satisfies the requirement to mitigate hallucination: when retrieved context lacks sufficient evidence, the model returns "I don't know" instead of fabricating an answer. This constrains generation to the retrieved passages, preventing unsupported claims when retrieval confidence is low.

Why this answer

Option A is correct because explicitly allowing an 'I don't know' fallback gives the model a safe, grounded escape when retrieved context lacks the answer, reducing the incentive to fabricate. Option C is correct because requiring citations forces the model to tie each claim to specific retrieved passages, making unsupported statements detectable and discouraging invented facts. Option D is correct because instructing the model to answer only from the provided context constrains generation to the retrieved evidence, which is the core grounding technique in RAG.

Option B is not appropriate because a longer output token limit only allows more text and does not improve factual grounding, and can even increase drift. Option E is not appropriate because raising the inference temperature increases randomness and creativity, which typically worsens hallucination rather than mitigating it.

Exam trap

AIP-C01 often tests whether candidates conflate generation parameters (temperature, token limits) with grounding techniques — the trap is picking a plausible-sounding sampling knob instead of the three prompt/retrieval-level mitigations.

116
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.

117
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.

118
MCQeasy

What is the role of an AWS Service Control Policy (SCP) in an AI governance framework?

A.To store model weights securely
B.To automatically optimize model latency
C.To monitor user chat history
D.To enforce organizational compliance and restrict service access
AnswerD

SCPs define the maximum available permissions for all accounts in an AWS Organization, restricting which services and actions member accounts can use regardless of their IAM policies, thereby enforcing organisational compliance across the AI governance framework.

Why this answer

SCPs provide centralized guardrails to define the maximum permissions that can be granted to IAM roles across all accounts in an organization.

119
MCQmedium

What is the recommended approach to handle PII in your RAG Knowledge Base to comply with privacy regulations?

A.Redact PII before ingesting documents into the Knowledge Base
B.Filter it during query time only
C.Encrypt the Knowledge Base with a master key
D.Use a specialized model that doesn't 'read' PII
AnswerA

Redacting PII before ingestion prevents personal data from ever entering the RAG Knowledge Base, so retrieved context and generated responses cannot expose it. This satisfies privacy regulations at the earliest point, rather than relying on downstream filtering that may leak data through embeddings or logs.

Why this answer

You should redact or mask PII at the source before ingestion into the Knowledge Base.

120
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.

121
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.

122
MCQmedium

You are optimizing the prompt handling of a production application built on Amazon Bedrock. The application invokes Anthropic Claude 3 Sonnet with a large, static system prompt that instructs the model to act as a customer support agent for a specific product catalog. Each user request also includes a small variable user message. You want to reduce the per-token cost and latency of these invocations without changing the model or the instructions. Which Amazon Bedrock feature should you use?

A.Use Amazon Bedrock Guardrails to filter the system prompt before sending it to the model.
B.Use Amazon Bedrock model customization to fine-tune the model with the system prompt as training data.
C.Switch to the Amazon Bedrock Converse API and include the system prompt in each request.
D.Enable prompt caching for the static system prompt in the Amazon Bedrock invocation.
AnswerD

Prompt caching in Amazon Bedrock allows you to cache the static portions of a prompt, such as a long system instruction, so that repeated invocations reuse the cached context instead of reprocessing it. This reduces both input token costs and latency for subsequent requests that share the same prefix. The scenario explicitly requires no change to the model or instructions, making this the correct choice.

Why this answer

Prompt caching is the Amazon Bedrock capability specifically designed to reuse static prompt prefixes, reducing both input token charges and latency for repeated invocations. Because the scenario requires keeping the same model and instructions while lowering cost and latency, caching the static system prompt is the only option that directly addresses the requirement without altering the model or workflow.

Exam trap

The trap here is assuming that any API change or safety feature will automatically reduce token costs, when only prompt caching reuses the static prefix.

123
MCQhard

An organization is concerned about 'Model Hallucinations' and needs a way to ground model outputs in trusted company documents. Which service supports this?

A.Amazon Bedrock Knowledge Bases
B.Amazon SageMaker Feature Store
C.AWS Glue Data Catalog
D.Amazon DynamoDB
AnswerA

Amazon Bedrock Knowledge Bases performs retrieval-augmented generation by querying your ingested document store, then passing retrieved passages to the foundation model as context. This grounds responses in trusted company documents, directly addressing the hallucination concern. It satisfies the grounding constraint through managed vector ingestion and citation-backed retrieval, without custom pipeline code.

Why this answer

Amazon Bedrock Knowledge Bases implements Retrieval Augmented Generation (RAG) by connecting foundation models to trusted data sources stored in Amazon S3 or other supported repositories. It chunks, embeds, and indexes documents into a vector store, then retrieves relevant passages at inference time so the model's response is grounded in actual company content rather than parametric memory. This directly reduces hallucinations by supplying factual context in the prompt.

Exam trap

AIP-C01 often tests the confusion between storage/catalog services (Glue, DynamoDB, Feature Store) and the specific RAG-grounding service (Bedrock Knowledge Bases), so candidates must recognize that only Knowledge Bases performs semantic retrieval for grounding.

How to eliminate wrong answers

Option B is wrong because SageMaker Feature Store is a repository for ML feature engineering and training/serving consistency, not a retrieval mechanism for grounding LLM prompts. Option C is wrong because AWS Glue Data Catalog is a metadata catalog for data lakes and ETL jobs; it stores schema information, not embeddings or retrievable document chunks. Option D is wrong because DynamoDB is a key-value/document NoSQL database and does not natively perform semantic vector search or RAG retrieval.

124
MCQeasy

A company is using Amazon Q Business. How can they restrict access to specific data sources for different groups of users?

A.Create separate Amazon Q applications
B.Manually delete documents for specific users
C.Configure ACLs in the data source connector
D.Apply IAM policies to the user's login
AnswerC

Amazon Q Business honours access control lists retrieved by the connector, so per-user and per-group permissions defined at the source are enforced during retrieval. Configuring ACLs in the connector therefore satisfies the stem's requirement to restrict data source access for different user groups.

Why this answer

Amazon Q Business respects access control lists (ACLs) configured in the data source connector, so documents are only surfaced to users who have permission in the source system. When the connector indexes content, it ingests ACL information and enforces it at query time, ensuring each user sees only authorized data. This is the correct mechanism for restricting access to specific data sources per user group.

Exam trap

AIP-C01 often tests whether candidates reach for IAM policies or app separation to solve document-level access, when the correct answer is ACL configuration within the data source connector.

How to eliminate wrong answers

Option A is wrong because creating separate Amazon Q applications per group is operationally heavy and does not leverage the built-in ACL enforcement; it also fragments the experience and increases cost. Option B is wrong because manually deleting documents for specific users is not a supported or scalable access-control mechanism and would corrupt the index. Option D is wrong because IAM policies control access to AWS APIs and the Q application itself, not fine-grained document-level access within a data source.

125
Multi-Selectmedium

A developer is validating a generative AI application that uses Amazon Bedrock. The application must produce deterministic, repeatable outputs for regression testing. Which TWO configuration changes should the developer make to achieve this? (Choose two.)

Select 2 answers
A.Enable streaming responses to capture partial outputs for comparison.
B.Increase the maxTokenCount parameter to the model's maximum to ensure complete answers.
C.Provide a fixed random seed using the model's supported seed parameter, if available for that model.
D.Set the topP parameter to 1.0 and leave temperature at its default value.
E.Set the temperature parameter to 0 in the model invocation request.
AnswersC, E

Some Bedrock models support a seed parameter that, when combined with temperature 0 or low temperature, helps produce repeatable outputs. Supplying a fixed seed reduces variability across identical requests. This is a valid additional step to improve determinism when the chosen model exposes seed support.

Why this answer

Deterministic regression testing requires minimizing sampling randomness. Setting temperature to 0 makes token selection greedy, and using a fixed seed where supported further stabilizes outputs across identical requests. These two settings together provide the most repeatable behavior available from Bedrock models, which is essential for comparing outputs across application versions.

Exam trap

The trap here is confusing parameters that control output length or delivery, such as maxTokenCount and streaming, with parameters that control randomness, such as temperature and seed.

126
MCQeasy

Which SageMaker feature allows you to observe model performance drifts over time?

A.SageMaker Pipelines
B.SageMaker Data Wrangler
C.SageMaker Clarify
D.SageMaker Model Monitor
AnswerD

SageMaker Model Monitor continuously captures endpoint inference data and compares it against a baseline, detecting data drift, model quality degradation and bias shifts. This directly satisfies the requirement to observe model performance drifts over time, unlike one-off evaluation tools that provide only point-in-time metrics.

Why this answer

SageMaker Model Monitor automatically detects data drift, concept drift, and model quality issues.

127
MCQeasy

A company uses Amazon Bedrock to power a chatbot. They want to monitor the usage and cost of their Bedrock invocations and set alerts when spending exceeds a threshold. Which AWS service should they use to track and alert on Bedrock costs?

A.AWS Trusted Advisor
B.Amazon CloudWatch Logs
C.AWS CloudTrail
D.AWS Cost Explorer with AWS Budgets
AnswerD

AWS Cost Explorer provides visibility into cost and usage, and AWS Budgets allows you to set custom budgets and receive alerts when costs exceed thresholds. Together, they can track Amazon Bedrock spending and notify you. This is the standard AWS approach for cost monitoring and alerting across services.

Why this answer

AWS Cost Explorer and AWS Budgets are the designated services for tracking AWS spending and setting alerts. Cost Explorer visualizes cost and usage, while Budgets lets you define thresholds and receive notifications. This combination is the correct way to monitor Amazon Bedrock costs and alert when spending exceeds a limit.

Exam trap

The trap here is confusing logging or auditing services with cost management services; only Cost Explorer and Budgets are built for cost tracking and alerts.

128
MCQeasy

A developer is testing an Amazon Bedrock application and wants to verify that the model's responses do not contain personally identifiable information (PII) before the application displays them to users. The developer needs a managed way to detect and block PII in both prompts and responses. Which AWS feature should be used?

A.Amazon Comprehend PII detection called manually after each inference to filter outputs.
B.AWS WAF with a custom rule to inspect request and response bodies for PII patterns.
C.Amazon Macie to scan the model's responses for PII before display.
D.Amazon Bedrock Guardrails with the sensitive information filter configured for PII.
AnswerD

Bedrock Guardrails provide a managed sensitive information filter that can detect and block or mask PII in both input prompts and model responses. Configuring the filter with PII entities addresses the requirement directly. It integrates with model invocation so that policy is enforced consistently without custom code.

Why this answer

Amazon Bedrock Guardrails include a sensitive information filter that can detect and block or mask PII in both input prompts and model responses. Configuring this filter enforces PII policy at inference time without custom code, satisfying the need for a managed solution that covers both directions of the interaction.

Exam trap

The trap here is choosing a general-purpose data or network security service such as Macie or WAF, which either scans data at rest or lacks PII semantics, instead of the Bedrock-native Guardrails filter.

129
Multi-Selectmedium

Which TWO of the following actions can help mitigate the risk of 'prompt injection' in a Generative AI application?

Select 2 answers
A.Disable the chat interface
B.Set the temperature to 0.0
C.Use the most powerful foundation model available
D.Sanitize user input before passing it to the model
E.Use Bedrock Guardrails for input filtering
AnswersD, E

Sanitising user input strips or neutralises injected instructions, delimiters and control tokens before they reach the model, directly reducing the attack surface for prompt injection. This input-layer defence satisfies the mitigation requirement by preventing adversarial payloads from being interpreted as trusted system-level commands.

Why this answer

Option D is correct because sanitizing user input before passing it to the model removes or neutralizes embedded instructions, escape characters, and other adversarial payloads that attackers use to hijack the prompt, directly reducing the attack surface for prompt injection. Option E is correct because Amazon Bedrock Guardrails provides configurable input filtering (including denied topics, content filters, and prompt-attack/word filters) that detects and blocks malicious or manipulative prompts before they reach the foundation model, adding a dedicated defense layer against prompt injection. Option A is not correct because disabling the chat interface eliminates the application's functionality rather than mitigating the risk while preserving legitimate use.

Option B is not correct because temperature 0.0 only makes model output more deterministic; it does not prevent an injected instruction from being followed. Option C is not correct because using a more powerful foundation model does not inherently provide prompt-injection protection and may even increase susceptibility to sophisticated adversarial prompts.

Exam trap

The trap is selecting model-level parameters (temperature) or model choice as security mitigations — candidates must recognize that prompt injection is an input validation and policy enforcement problem, not a generation parameter tuning problem.

130
MCQmedium

You are building a chat application and notice sensitive internal data is leaking in responses. You have enabled Guardrails. What else should be checked?

A.Change the foundation model provider
B.Increase the temperature setting
C.Check if the model is fine-tuned on public data
D.Review the system prompt and the Knowledge Base document retrieval filters
AnswerD

Guardrails filter model outputs, but leakage often originates upstream: the system prompt may instruct the model to reveal internal context, and Knowledge Base retrieval filters may return documents the user should not see. Reviewing both closes the actual data-exposure path.

Why this answer

Guardrails filter model inputs and outputs, but they do not control what data enters the prompt in the first place. If sensitive internal data is leaking, the likely sources are the system prompt (which may contain secrets or instructions that surface data) or the Knowledge Base retrieval filters (which may be returning documents the user should not see). Reviewing both is the correct next step.

Exam trap

AIP-C01 often tests whether candidates treat Guardrails as a complete data-loss-prevention solution — the trap is forgetting that leakage usually originates upstream in the system prompt or retrieval filters, which Guardrails alone cannot fix.

How to eliminate wrong answers

Option A is wrong because changing the foundation model provider does not fix a data-leakage root cause — the same sensitive data would still be retrieved and injected into any model's prompt. Option B is wrong because increasing temperature makes outputs more random and would if anything worsen leakage and reduce reliability. Option C is wrong because whether the base model was fine-tuned on public data is irrelevant to leakage of your internal data — the leak comes from your prompt/retrieval pipeline, not the model's training corpus.

131
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.

132
MCQmedium

An application using Amazon Bedrock is experiencing high latency. You need to monitor the 'ModelInvocationLatency' metric to identify performance bottlenecks. Which AWS service provides the primary integration for this telemetry?

A.AWS CloudTrail
B.AWS X-Ray
C.Amazon CloudWatch
D.Amazon OpenSearch Service
AnswerC

Amazon CloudWatch is the primary telemetry service receiving Bedrock metrics such as ModelInvocationLatency, letting you graph, alarm and analyse them. It satisfies the monitoring requirement without additional agents, since Bedrock publishes these metrics natively to CloudWatch.

Why this answer

Amazon CloudWatch is the primary monitoring service for AWS services including Amazon Bedrock. Bedrock automatically publishes metrics such as ModelInvocationLatency, InvocationCount, and InvocationThrottles to CloudWatch under the AWS/Bedrock namespace. You can create alarms, dashboards, and custom metrics from this telemetry to identify performance bottlenecks.

Exam trap

AIP-C01 often tests whether candidates confuse CloudWatch (metrics and monitoring) with CloudTrail (audit logging) — both are observability services but serve fundamentally different purposes.

How to eliminate wrong answers

Option A is wrong because AWS CloudTrail records API activity and audit logs (who called what API, when, from where) — it does not provide performance metrics like latency. Option B is wrong because AWS X-Ray is a distributed tracing service that traces requests through microservices; while it can trace application-level calls, Bedrock's native latency metrics are published to CloudWatch, not X-Ray. Option D is wrong because Amazon OpenSearch Service is a search and analytics engine used for log analysis and full-text search — it is not the primary telemetry integration for Bedrock metrics, though it can be used as a destination for logs.

133
MCQhard

You are implementing a multi-agent system. Which method is most effective for ensuring the agents do not loop infinitely when coordinating tasks?

A.Caching agent responses
B.Increasing the model temperature
C.Using a smaller model
D.Implementing a maximum iteration count
AnswerD

A maximum iteration count caps the number of coordination cycles an agent may execute, forcing termination once the limit is reached. This directly prevents runaway loops, satisfying the requirement to stop infinite coordination between agents.

Why this answer

A maximum iteration count (or recursion/step limit) is the standard guardrail in agent orchestration frameworks like LangChain, LangGraph, and AWS Bedrock Agents to bound execution. When agents can call each other or themselves, a hard cap on turns prevents runaway loops that burn tokens and never terminate. Once the cap is hit, the orchestrator returns the best partial result or raises a controlled error.

Exam trap

AIP-C01 often tests the misconception that performance tuning (caching, temperature, model size) solves coordination problems — the exam wants you to recognize that infinite loops are a control-flow issue requiring a hard iteration/recursion limit.

How to eliminate wrong answers

Option A is wrong because caching responses improves latency and cost but does nothing to stop an agent from re-invoking another agent indefinitely — a cached response can still trigger another loop iteration. Option B is wrong because increasing temperature makes outputs more random, which if anything increases the chance of unpredictable looping behaviour. Option C is wrong because a smaller model does not change the control-flow logic; a small model can loop just as easily as a large one.

134
MCQhard

You are implementing a Bedrock Guardrail. You need to ensure the model filters out specific PII (Personally Identifiable Information). Which capability should be configured?

A.Content Filter
B.Denied Topics
C.Sensitive Information Filter
D.Word Policy
AnswerC

The Sensitive Information Filter detects and blocks personally identifiable data such as names, addresses and credit card numbers within prompts and completions. It directly satisfies the stem's requirement to filter specific PII, unlike content filters that target hate, violence or prompt-attack categories. Configure it with the PII entity types you need masked or denied.

Why this answer

The Sensitive Information Filter in Bedrock Guardrails is specifically designed to detect and block or mask PII such as names, addresses, phone numbers, and other sensitive data. It uses pattern matching and machine learning to identify entities like SSNs, credit card numbers, and custom regex patterns. This directly addresses the requirement to filter out specific PII, unlike other guardrail components that focus on harmful content or topic restrictions.

Exam trap

AIP-C01 often tests the distinction between Guardrail components, and candidates may confuse 'Sensitive Information Filter' with 'Content Filter' or 'Word Policy' because all involve filtering, but only Sensitive Information Filter is designed for PII detection.

How to eliminate wrong answers

Option A is wrong because Content Filter targets harmful content categories (hate, violence, sexual, insults) and does not detect PII. Option B is wrong because Denied Topics blocks entire subjects or themes, not specific data types like PII. Option D is wrong because Word Policy filters profanity or custom banned words, not structured sensitive information like PII.

135
MCQhard

You are troubleshooting a SageMaker inference endpoint and need to see the container logs. Which service stores these logs?

A.Amazon CloudWatch Logs
B.Amazon S3
C.Amazon DynamoDB
D.AWS CloudTrail
AnswerA

SageMaker inference containers stream stdout and stderr to Amazon CloudWatch Logs, so endpoint container logs are retrieved there. CloudTrail records API activity, not container output, making CloudWatch Logs the correct source for troubleshooting the endpoint.

Why this answer

SageMaker inference endpoints run containers on managed EC2 instances, and all stdout/stderr output from those containers is streamed to Amazon CloudWatch Logs under log groups named /aws/sagemaker/Endpoints/<endpoint-name>. This is where you inspect model loading errors, inference failures, and framework-level messages. CloudWatch is the native logging destination for nearly all AWS managed compute services, making it the correct answer here.

Exam trap

AIP-C01 often tests whether candidates confuse CloudTrail (API audit trail) with CloudWatch Logs (runtime/service logs) — picking CloudTrail for container logs is the classic mistake.

How to eliminate wrong answers

Option B is wrong because Amazon S3 is object storage used for model artifacts, training data, and endpoint output data — it does not capture container stdout/stderr logs. Option C is wrong because DynamoDB is a NoSQL key-value database and has no role in storing service logs. Option D is wrong because AWS CloudTrail records API activity (who called what, when) for auditing, not the runtime container logs produced by an inference endpoint.

136
MCQeasy

Which AWS service is used to centralize and visualize costs for your various SageMaker projects?

A.CloudWatch Dashboards
B.AWS Cost Explorer
C.SageMaker Studio Dashboard
D.AWS Trusted Advisor
AnswerB

AWS Cost Explorer centralises and visualises spend across SageMaker projects by filtering and grouping costs using cost allocation tags, satisfying the requirement to aggregate project-level expenditure in one place. Unlike AWS Budgets, which only alerts against thresholds, Cost Explorer provides interactive charts and granular breakdowns for analysis.

Why this answer

AWS Cost Explorer allows you to view, analyze, and visualize your AWS spending, including SageMaker usage.

137
MCQeasy

Which service should be used to provide secure identity and access management for an application accessing Bedrock?

A.AWS Secrets Manager
B.AWS Directory Service
C.Amazon Cognito
D.AWS IAM
AnswerD

AWS IAM supplies the roles, policies and temporary credentials that govern which principals may invoke Bedrock models, giving least-privilege access control. It satisfies the requirement for secure identity and access management for an application calling Bedrock.

Why this answer

AWS IAM is the correct service for providing secure identity and access management for applications accessing Amazon Bedrock. IAM roles and policies define precisely which Bedrock actions (such as InvokeModel, RetrieveAndGenerate) an application or user can perform, and IAM roles can be assumed by compute resources like Lambda functions or EC2 instances to obtain temporary credentials. This is the foundational AWS access control mechanism that Bedrock integrates with natively for authorization.

Exam trap

The trap is conflating authentication (Cognito, Directory Service) with authorization (IAM) — candidates may pick Cognito because it sounds like 'identity,' but Bedrock API access control is fundamentally an IAM authorization concern.

How to eliminate wrong answers

Option A is wrong because AWS Secrets Manager stores and rotates secrets like API keys and database credentials — it does not provide identity or access management for Bedrock API calls. Option B is wrong because AWS Directory Service provides managed Microsoft Active Directory for user directory services, not authorization for AWS API calls to Bedrock. Option C is wrong because Amazon Cognito handles end-user authentication for web and mobile applications (sign-up, sign-in, federation), but it does not authorize application access to Bedrock APIs — Cognito identities still need IAM roles for AWS service access.

138
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.

139
MCQmedium

You are using a Bedrock Knowledge Base. You need to ensure that the search results are highly relevant to technical documentation. Which setting should you adjust?

A.Update the S3 bucket policy
B.Change the search type to HYBRID
C.Increase the temperature
D.Change the model ID
AnswerB

HYBRID search combines semantic vector retrieval with keyword matching, so exact technical terms, identifiers and acronyms in documentation are matched alongside meaning. This improves relevance for technical content, satisfying the requirement for highly relevant search results.

Why this answer

Changing the search type to HYBRID in a Bedrock Knowledge Base combines semantic (vector) search with keyword-based (lexical) search, which significantly improves relevance for technical documentation containing specific terms, acronyms, error codes, and product names that pure semantic search may miss. Hybrid search merges results from both retrieval methods, capturing both conceptual similarity and exact keyword matches, making it ideal for technical content where precise terminology matters.

Exam trap

The trap is assuming that model-level parameters (temperature, model ID) or infrastructure settings (S3 policy) affect retrieval relevance, when the question is specifically about search/retrieval configuration — candidates must distinguish retrieval tuning from generation tuning.

How to eliminate wrong answers

Option A is wrong because the S3 bucket policy controls access permissions to the source documents, not the relevance or ranking of search results — changing it has no effect on retrieval quality. Option C is wrong because temperature is a generation parameter controlling randomness in the model's output text, not a retrieval setting; it does not affect which documents are returned from the knowledge base. Option D is wrong because changing the model ID affects the foundation model used for generation or embeddings, but switching models alone does not change the search strategy — the retrieval relevance issue is addressed by the search type configuration.

140
Multi-Selectmedium

Which TWO features of Amazon Bedrock provide governance capabilities?

Select 2 answers
A.Amazon Bedrock API Gateway integration
B.Amazon Bedrock Model Pre-training
C.Amazon Bedrock Prompt Management
D.Amazon Bedrock Auto-scaling
E.Amazon Bedrock Guardrails
AnswersC, E

Prompt Management stores, versions and shares prompts with approval workflows, giving teams traceability over what was deployed. This versioning and lifecycle control delivers the governance capability the question requires, distinct from runtime safety filtering or model hosting features.

Why this answer

Amazon Bedrock Guardrails (E) is a governance feature because it lets you define and enforce content filters, denied topics, word filters, and sensitive-information (PII) redaction policies that are applied consistently across foundation models, which directly supports responsible-AI and compliance controls. Amazon Bedrock Prompt Management (C) provides governance by allowing prompts to be versioned, stored, and reused centrally, so teams can track changes, standardize approved prompts, and maintain an auditable lifecycle. The other options do not provide governance: API Gateway integration (A) is an architectural pattern for exposing Bedrock via REST APIs rather than a Bedrock governance capability, Model Pre-training (B) is not a Bedrock feature for customizing models (Bedrock offers fine-tuning and continued pre-training, not full pre-training), and Auto-scaling (D) is an operational capacity concern, not a governance control.

141
Multi-Selectmedium

Which TWO approaches help optimize the costs of using Amazon Bedrock?

Select 2 answers
A.Using the most expensive model for all tasks
B.Disabling all logging
C.Purchasing Provisioned Throughput for predictable workloads
D.Selecting a smaller, more efficient model for simple tasks
E.Running every request as a separate job
AnswersC, D

Provisioned Throughput reserves model units at a fixed hourly rate, which becomes cheaper than on-demand per-token pricing once usage is steady and predictable. It satisfies the cost-optimisation goal by removing the premium charged for bursty, unpredictable inference consumption.

Why this answer

Option C is correct because purchasing Provisioned Throughput for predictable workloads lets you reserve model units at a fixed hourly rate, which is more cost-effective than on-demand pricing when usage is steady and high, and it also provides consistent throughput. Option D is correct because selecting a smaller, more efficient model for simple tasks reduces the per-token cost, since Amazon Bedrock charges based on the model used and smaller models are significantly cheaper than larger ones for tasks that don't require advanced capabilities. Option A is incorrect because using the most expensive model for all tasks unnecessarily increases costs when cheaper models could suffice.

Option B is incorrect because disabling all logging does not reduce Bedrock inference costs and may violate compliance or operational requirements. Option E is incorrect because running every request as a separate job adds overhead and does not optimize costs compared to batching or using appropriate model selection.

Exam trap

AIP-C01 often tests the misconception that Provisioned Throughput always saves money, when it only does so for predictable, high-utilization workloads — sporadic traffic is cheaper on-demand.

142
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.

143
MCQeasy

What is the primary purpose of the 'max_tokens' parameter in text generation?

A.To increase response accuracy
B.To improve model reasoning
C.To set the maximum output length
D.To filter out offensive language
AnswerC

Setting `max_tokens` caps the number of tokens the model generates in its response, directly bounding output length. This satisfies the stem's constraint on controlling generation size, preventing runaway or truncated completions. It does not affect input length, prompt processing, or the model's context window, which are governed separately.

Why this answer

The max_tokens parameter sets an upper bound on the number of tokens the model may generate in its response. It does not affect the model's reasoning or accuracy; it simply truncates output once the limit is reached, which is essential for controlling latency and cost.

Exam trap

AIP-C01 often tests the misconception that max_tokens influences model quality or safety, when it is purely an output length and cost control.

How to eliminate wrong answers

Option A is wrong because response accuracy is determined by model quality, prompt design, and context, not by the output length cap. Option B is wrong because reasoning ability comes from the model architecture and training, not from max_tokens. Option D is wrong because content filtering is handled by guardrails or moderation APIs, not by a token limit.

144
MCQeasy

A developer is building a document summarization feature on Amazon Bedrock. The same 30-page policy document is summarized by hundreds of users each day, and the document changes only when legal publishes a new revision. The summaries are currently regenerated per request, and the team wants to cut token spend without changing the summary text. Which approach best meets the goal?

A.Store the generated summary in Amazon S3 keyed by document revision and serve it on repeat requests.
B.Increase the max tokens parameter so the summary completes in one pass.
C.Lower the model temperature to zero and keep regenerating the summary per request.
D.Enable prompt caching on the Bedrock model for the document prefix.
AnswerA

Because the document only changes on legal revision, the summary is deterministic for a given revision. Generating once, writing the result to S3 with a key that includes the revision identifier, and returning the stored text on subsequent requests eliminates nearly all repeat token spend while guaranteeing byte-identical summaries. This is the classic materialization pattern for stable generative outputs.

Why this answer

When the source document is stable across a revision, the summary is effectively a deterministic artifact. Materializing it once in S3 and keying it by document revision turns hundreds of daily generations into a single generation plus cheap object reads. This removes the dominant token cost while guaranteeing users see identical text, which is exactly what the team asked for.

Exam trap

The trap here is reaching for prompt caching as a cost fix when the reuse window spans days and the artifact itself, not the prefix, is what should be stored.

145
MCQmedium

You are deploying a model using SageMaker Multi-Model Endpoints (MME). What is the primary benefit of this strategy for operational efficiency?

A.Reducing the number of instances required
B.Increasing model accuracy
C.Lowering training time
D.Enabling faster model deployment
AnswerA

Multi-Model Endpoints host many models behind one endpoint, loading them on demand into shared containers. This satisfies operational efficiency by reducing the number of instances required, since models no longer each need a dedicated endpoint and its hosting fleet.

Why this answer

MME allows you to host multiple models on a single set of instances, reducing the total cost by sharing resources.

146
MCQmedium

When using the Bedrock Converse API, what is the best way to include dynamic variable values in a prompt?

A.Format the string in your application code
B.Use the 'dynamic' parameter in the API call
C.Use the 'template' field in the model config
D.Pass values as a separate JSON array
AnswerA

The Converse API accepts plain prompt strings, so dynamic values are injected by formatting them into the text within application code before the request. This gives full control over variable substitution, unlike static prompt templates stored server-side.

Why this answer

Use string formatting within your code to insert variables into the message text before sending the payload.

147
MCQhard

A company requires that every AI-generated document must include a watermark for traceability. How can this be handled in Bedrock?

A.Use fine-tuning to force the model to watermark
B.Use a custom post-processing Lambda function to inject metadata
C.Enable watermarking in the Bedrock console settings
D.Use AWS KMS to sign the generated text
AnswerB

A post-processing Lambda receives Bedrock's generated output and injects watermark metadata before the document is returned, satisfying the traceability requirement. Because Bedrock offers no native watermarking feature, this custom step is the only mechanism that guarantees every AI-generated document carries the required marker.

Why this answer

Bedrock does not natively support watermarking of generated text, so the correct approach is to intercept the model response and apply a custom post-processing step — typically an AWS Lambda function — that injects a watermark, metadata tag, or traceable identifier into the output. This gives the company full control over the watermark format and ensures every generated document carries the required traceability marker.

Exam trap

AIP-C01 often tests the assumption that Bedrock has a built-in watermarking toggle, when in reality watermarking must be implemented in post-processing outside the model.

How to eliminate wrong answers

Option A is wrong because fine-tuning adjusts model weights for behavior/style, not for reliably embedding watermarks — the model cannot be trusted to consistently emit a watermark. Option C is wrong because Bedrock has no console setting for watermarking generated text; no such native feature exists. Option D is wrong because AWS KMS signs data cryptographically but does not embed a visible or traceable watermark into the generated document content.

148
MCQeasy

A team wants to track who accessed a model and when. Which service provides this audit log?

A.AWS Config
B.Amazon GuardDuty
C.AWS CloudTrail
D.Amazon CloudWatch
AnswerC

AWS CloudTrail records API activity across the account, capturing the identity, source IP and timestamp of each Bedrock InvokeModel call. That event history answers who accessed a model and when, satisfying the audit-log requirement in the stem.

Why this answer

AWS CloudTrail records API activity in an AWS account, including who made a request, when, from which IP, and which resources were affected. For tracking who accessed a model and when, CloudTrail captures the InvokeModel API calls (and related Bedrock API actions) with the identity of the caller. This makes it the correct service for audit logging of model access.

Exam trap

AIP-C01 often tests the confusion between CloudTrail (audit/API activity), CloudWatch (metrics/logs), Config (configuration compliance), and GuardDuty (threat detection), so candidates must match the service to the specific requirement of tracking who did what.

How to eliminate wrong answers

Option A is wrong because AWS Config evaluates resource configurations against desired rules and tracks configuration changes, not API-level access events. Option B is wrong because Amazon GuardDuty is a threat detection service that analyzes logs (including CloudTrail) for malicious activity, but it does not itself provide the raw audit log of who accessed a model. Option D is wrong because Amazon CloudWatch collects metrics, logs, and alarms for operational monitoring, but it does not natively record API caller identity and timestamps as an audit trail.

149
Multi-Selecthard

Which THREE of the following are components of a robust AI governance framework in an AWS environment?

Select 3 answers
A.Implement Amazon Bedrock Guardrails
B.Provide all users with AdministratorAccess
C.Publicly host the model endpoint
D.Enable Bedrock Model Invocation Logging
E.Use IAM roles with least privilege access
AnswersA, D, E

Amazon Bedrock Guardrails enforce content filtering, denied topics and PII redaction on model inputs and outputs, forming the policy-enforcement layer of an AI governance framework. It directly satisfies the requirement by operationalising responsible-AI controls within AWS.

Why this answer

Option A is correct because Amazon Bedrock Guardrails provides configurable safeguards such as content filters, denied topics, and PII redaction that enforce responsible-AI policies at inference time, which is a core control of an AI governance framework. Option D is correct because Bedrock Model Invocation Logging captures invocation metadata (and optionally full request/response payloads) to CloudWatch Logs or Amazon S3, delivering the auditability and traceability that governance requires. Option E is correct because IAM roles with least-privilege access restrict who and what can invoke models or manage AI resources, satisfying the access-control and segregation-of-duties principles of governance.

Option B does not belong because granting all users AdministratorAccess violates least privilege and destroys accountability. Option C does not belong because publicly hosting a model endpoint exposes it to unauthorized use and data exfiltration, directly undermining governance and security.

Exam trap

AIP-C01 often tests whether candidates equate 'governance' with broad access or public availability — the trap is choosing AdministratorAccess or public endpoints as if they improve manageability, when they actually undermine the control objectives.

150
MCQmedium

A generative AI team runs nightly batch inference on Amazon Bedrock for 40 million prompts. Each job currently invokes the model once per prompt with a synchronous Converse call and the job takes nine hours, exceeding the six-hour window. The prompts are independent and the team needs the same model quality. Which change most directly reduces wall-clock time while preserving per-prompt output quality?

A.Switch to a smaller, cheaper model for the entire batch and accept lower quality.
B.Submit the prompts through the Bedrock batch inference job API and poll for job completion.
C.Increase the InvokeModel requests-per-minute quota and keep the same synchronous loop.
D.Move the loop to an AWS Lambda function with a 15-minute timeout and higher memory.
AnswerB

Bedrock batch inference accepts a JSONL file in Amazon S3, runs the same foundation model asynchronously across the batch, and writes results back to S3 with a job ARN you can poll. Because it parallelizes internally and is designed for large offline workloads, it collapses the nine-hour sequential pattern into a single managed job that comfortably fits the six-hour window without changing model quality.

Why this answer

Batch inference is purpose-built for high-volume, latency-tolerant generative AI workloads on Bedrock. It ingests a JSONL manifest from Amazon S3, executes the same foundation model asynchronously, and returns outputs to S3, so quality is unchanged while throughput scales far beyond what a synchronous per-prompt loop can achieve. It also avoids client-side retry storms and quota contention that plague naive looping.

Exam trap

The trap here is assuming that raising quotas or moving the loop to a faster runtime changes the fundamental per-call pattern, when the real fix is switching to the managed asynchronous batch API.

Page 1

Page 2 of 3

Page 3

All pages