Courseiva

AWS Certified Generative AI Developer - Professional (AIP-C01) (AIP-C01) (AIP-C01) — Questions 1–75

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

Page 1 of 3

Page 2
1
MCQmedium

In SageMaker JumpStart, what is the primary advantage of selecting a 'Provisioned Throughput' option for a deployed model?

A.It automates the model fine-tuning process
B.It reduces the size of the model weights
C.It allows the model to access the internet
D.It ensures dedicated capacity for the endpoint
AnswerD

Provisioned Throughput reserves dedicated inference capacity for the endpoint, guaranteeing consistent performance regardless of other customers' traffic. This directly satisfies the stem's requirement for a primary advantage over on-demand hosting, where capacity is shared and throughput can be throttled under load.

Why this answer

Provisioned Throughput on a SageMaker JumpStart endpoint reserves dedicated inference capacity measured in Model Units, guaranteeing consistent latency and throughput regardless of other customers' traffic. It decouples your workload from shared on-demand capacity, which is critical for production workloads with steady or predictable traffic. This is the primary advantage over the default on-demand endpoint mode.

Exam trap

The trap here is conflating 'provisioned' with model-level optimizations like fine-tuning or quantization — the exam wants you to recognize it is purely an endpoint capacity guarantee.

How to eliminate wrong answers

Option A is wrong because fine-tuning is a separate SageMaker workflow (JumpStart fine-tuning or custom training jobs) and is not triggered by choosing Provisioned Throughput. Option B is wrong because provisioning affects compute allocation, not model artifact size — weights are unchanged. Option C is wrong because internet access is governed by VPC configuration and network isolation settings, not by the throughput mode of the endpoint.

2
MCQeasy

Which AWS tool enables you to test different models side-by-side using the same prompt?

A.Amazon SageMaker Studio
B.Bedrock Playground
C.AWS Cloud9
D.AWS Lambda Console
AnswerB

Bedrock Playground provides a console interface where a single prompt can be submitted to multiple foundation models simultaneously, returning their outputs side-by-side for direct comparison. This satisfies the requirement to evaluate different models against identical input without writing orchestration code.

Why this answer

Amazon Bedrock Playground provides a dedicated interface where you can select multiple foundation models (e.g., Anthropic Claude, AI21 Labs Jurassic, Amazon Titan) and run the same prompt against them simultaneously, comparing outputs side-by-side. This is a built-in feature of the Bedrock console designed specifically for model evaluation and prompt experimentation. It eliminates the need to write code or manage infrastructure, allowing quick assessment of model performance, latency, and response quality.

Exam trap

AIP-C01 often tests the distinction between model evaluation tools and general ML development environments, so candidates might confuse SageMaker Studio's capabilities with Bedrock Playground's specialized side-by-side comparison feature.

How to eliminate wrong answers

Option A is wrong because Amazon SageMaker Studio is an integrated development environment (IDE) for machine learning that allows you to build, train, and deploy models, but it does not provide a native side-by-side comparison tool for foundation models using the same prompt without custom coding. Option C is wrong because AWS Cloud9 is a cloud-based IDE for writing and debugging code, not a tool for testing AI models side-by-side. Option D is wrong because AWS Lambda Console is for creating and managing serverless functions, and while you could invoke models programmatically, it lacks a built-in interface for side-by-side prompt testing.

3
MCQeasy

When invoking models in Bedrock, what does the 'streaming' feature provide?

A.Support for larger context windows
B.Reduced latency until the first token appears
C.Higher model accuracy
D.Lower cost per invocation
AnswerB

Streaming returns tokens incrementally as the model generates them, so the first chunk reaches the caller almost immediately rather than after full completion. This directly satisfies the stem's latency constraint: time-to-first-token drops sharply, even though total generation time is unchanged.

Why this answer

Streaming in Amazon Bedrock returns the model's output incrementally as tokens are generated, rather than waiting for the full response. The primary benefit is reduced latency until the first token appears, improving perceived responsiveness for interactive applications. It does not change the model's accuracy, context window, or cost.

Exam trap

AIP-C01 often tests the misconception that streaming improves model accuracy or reduces cost, when its only real benefit is lower time-to-first-token and better perceived latency.

How to eliminate wrong answers

Option A is wrong because streaming does not increase the context window; the maximum input/output tokens are determined by the model's architecture and remain unchanged. Option C is wrong because streaming does not affect model accuracy; the same model weights and decoding process are used. Option D is wrong because streaming does not reduce cost per invocation; pricing is based on input and output tokens, which are the same whether streamed or not.

4
MCQmedium

Your organization needs to ensure that only authorized IAM users can access specific foundation models in Bedrock. Which configuration is required?

A.Attach an IAM policy with bedrock:InvokeModel allowing access to specific model ARNs
B.Enable AWS Organizations SCPs only
C.Use Amazon Cognito user pools
D.Use Resource-Based Policies on the foundation model
AnswerA

Attaching an IAM policy scoped to specific model ARNs satisfies the least-privilege constraint, because Bedrock authorises each InvokeModel call against the resource ARN in the request. Only principals granted bedrock:InvokeModel on those ARNs succeed; other IAM users receive AccessDenied, restricting access to the named foundation models.

Why this answer

Amazon Bedrock integrates with AWS IAM to control access to foundation models. To restrict which IAM users can invoke specific models, you attach an IAM policy that includes the bedrock:InvokeModel action and specifies the ARNs of the allowed foundation models. This policy can be attached to users, groups, or roles, and it enforces least privilege at the model level.

Without such a policy, users either have no access or overly broad access, so this is the required configuration.

Exam trap

AIP-C01 often tests the misconception that SCPs or resource-based policies can grant access to Bedrock models, when in fact identity-based IAM policies with bedrock:InvokeModel and specific model ARNs are required.

How to eliminate wrong answers

Option B is wrong because AWS Organizations SCPs only set maximum permissions for accounts in an organization; they do not grant permissions to IAM users and cannot by themselves allow access to specific models. Option C is wrong because Amazon Cognito user pools are for authenticating end users in applications, not for authorizing IAM users to invoke Bedrock foundation models. Option D is wrong because Bedrock foundation models do not support resource-based policies; access must be granted through identity-based IAM policies.

5
MCQhard

You are using SageMaker JumpStart and need to enable 'Data Capture' for monitoring model inputs and outputs. Where is the captured data stored?

A.Amazon RDS
B.Amazon CloudWatch Logs
C.Amazon ElastiCache
D.Amazon S3
AnswerD

SageMaker Data Capture writes JSON Lines records to an Amazon S3 location you specify when enabling the endpoint's data capture configuration, satisfying the requirement to monitor model inputs and outputs. Captured requests and responses land under that prefix, so S3 is the storage destination rather than CloudWatch Logs.

Why this answer

When you enable Data Capture for a SageMaker endpoint (including JumpStart models), the captured data (inputs and outputs) is stored in an Amazon S3 bucket that you specify. This allows you to later analyze the data for monitoring, debugging, or retraining. CloudWatch Logs is used for logging but not for storing the captured data itself; the data capture feature writes to S3.

Exam trap

AIP-C01 often tests the confusion between CloudWatch Logs and S3 for data capture, but the exam expects candidates to know that SageMaker Data Capture stores data in S3, not CloudWatch.

How to eliminate wrong answers

Option A is wrong because Amazon RDS is a relational database service, not used for storing data capture output from SageMaker; it is not integrated with SageMaker Data Capture. Option B is wrong because Amazon CloudWatch Logs is for log storage and monitoring, but SageMaker Data Capture specifically writes to S3, not CloudWatch Logs. Option C is wrong because Amazon ElastiCache is an in-memory caching service, not a storage service for captured data; it is unrelated to SageMaker Data Capture.

6
Multi-Selectmedium

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

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

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

Why this answer

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

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

7
MCQeasy

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

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

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

Why this answer

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

8
MCQhard

A firm wants to audit the specific version of a foundation model used for every inference request. How can they achieve this?

A.Query Amazon SageMaker Model Monitor
B.Enable CloudTrail logs
C.Enable Bedrock Model Invocation Logging
D.Use AWS Config to track model changes
AnswerC

Bedrock Model Invocation Logging captures each request and response, including the model ID and version invoked, delivering records to CloudWatch Logs or S3. This provides the per-request audit trail needed to identify the exact foundation model version used for every inference.

Why this answer

Bedrock Model Invocation Logging captures each invocation's request and response metadata — including the model ID and, when applicable, the specific model version or inference profile — and delivers it to CloudWatch Logs or S3. This provides the audit trail needed to prove which foundation model version handled each request.

Exam trap

AIP-C01 often tests the confusion between CloudTrail (control-plane API auditing) and Model Invocation Logging (per-request model and payload auditing), so candidates pick CloudTrail for version attribution.

How to eliminate wrong answers

Option A is wrong because SageMaker Model Monitor tracks data drift and quality for SageMaker endpoints, not Bedrock model versions. Option B is wrong because CloudTrail records control-plane API calls (who called InvokeModel and when) but does not log the model version used for each inference payload. Option D is wrong because AWS Config tracks resource configuration changes over time, not per-request model version attribution.

9
MCQhard

A company is using RAG with Amazon Bedrock Knowledge Bases. They need to ensure that users can only retrieve documents they are authorized to see. How should this be implemented?

A.Encrypt the documents with different KMS keys
B.Create separate Knowledge Bases for every user
C.Apply IAM policies to the S3 bucket
D.Use the filters attribute in the Retrieve API call based on document metadata
AnswerD

Filtering on document metadata during retrieval enforces per-user authorisation at query time, satisfying the requirement that users only see documents they are permitted to access. Metadata tags such as department or group are matched against the caller's identity, so unauthorised chunks never enter the context passed to the model.

Why this answer

Amazon Bedrock Knowledge Bases support metadata filtering on the Retrieve and RetrieveAndGenerate APIs. By attaching authorization metadata (e.g., department, clearance level) to documents during ingestion and passing a filters attribute in the Retrieve call based on the user's identity, the application ensures users only retrieve documents they are authorized to see. This enforces document-level access control at query time.

Exam trap

AIP-C01 often tests the misconception that IAM policies on S3 or KMS encryption enforce document-level access in RAG, when the correct control is metadata filtering in the Retrieve API call.

How to eliminate wrong answers

Option A is wrong because encrypting documents with different KMS keys controls decryption access, not retrieval filtering; a user with decrypt rights could still retrieve unauthorized documents if the knowledge base returns them. Option B is wrong because creating a separate Knowledge Base per user is operationally infeasible and does not scale. Option C is wrong because IAM policies on the S3 bucket govern access to the bucket, not the knowledge base retrieval results, and the knowledge base service role typically has broad access.

10
MCQhard

A company runs a customer-facing chatbot on Amazon Bedrock with provisioned throughput purchased as a model unit for a specific foundation model in us-east-1. Traffic is steady during business hours but drops to near zero overnight, and the team is paying for the commitment around the clock. Leadership wants to stop paying for idle overnight capacity without risking daytime throttling. Which action best fits?

A.Move the workload to a smaller foundation model so the existing model unit covers more traffic.
B.Model the daytime steady load as on-demand and reserve provisioned throughput only if sustained utilization justifies the commitment.
C.Keep provisioned throughput sized for the overnight trough and rely on on-demand for daytime peaks.
D.Delete the provisioned throughput purchase each evening and recreate it each morning.
AnswerB

Provisioned throughput is economically justified when sustained token consumption is high enough that the committed rate beats on-demand pricing and the guaranteed capacity prevents throttling. With near-zero overnight traffic, a 24/7 commitment pays for idle hours. Running on-demand during steady business hours and reserving only when utilization analysis shows a durable break-even point avoids paying for capacity nobody uses.

Why this answer

Provisioned throughput is a monthly commitment that guarantees capacity but bills around the clock, so it only pays off when sustained utilization is high enough to beat on-demand rates. With traffic collapsing overnight, the commitment charges for idle hours. Right-sizing by serving steady load on-demand and reserving only when a utilization analysis shows a durable break-even point removes the idle spend while keeping daytime capacity adequate.

Exam trap

The trap here is assuming provisioned throughput can be paused or resized on a daily cycle, when commitments are term-based and billed regardless of whether tokens flow.

11
MCQmedium

You have a fleet of SageMaker endpoints. You want to implement an automatic cost reduction strategy during off-peak hours for specific endpoints. Which approach is most efficient?

A.Using spot instances for all endpoints
B.Configuring Application Auto Scaling with scheduled actions
C.Deactivating the endpoint manually
D.Updating the endpoint configuration
AnswerB

Application Auto Scaling scheduled actions adjust the endpoint's desired instance count against a cron or rate schedule, scaling in during off-peak hours and out afterwards. This directly satisfies the off-peak cost-reduction constraint without manual intervention or redeploying the endpoint.

Why this answer

Application Auto Scaling for SageMaker endpoints supports scheduled scaling actions that adjust the desired instance count based on a cron or rate expression. This allows you to automatically scale in (reduce instances) during off-peak hours and scale out during peak hours, directly reducing cost without manual intervention. It is the most efficient because it is automated, precise, and integrates natively with SageMaker endpoints.

Exam trap

AIP-C01 often tests the misconception that spot instances can be used for SageMaker endpoints to save cost, but spot is only for training; the correct approach for scheduled cost reduction is Application Auto Scaling with scheduled actions.

How to eliminate wrong answers

Option A is wrong because spot instances are not directly supported for SageMaker endpoints; endpoints require on-demand or reserved instances, and spot is only for training jobs or batch transform. Option C is wrong because manually deactivating an endpoint is not a built-in operation; you would have to delete the endpoint, which is disruptive and not automated. Option D is wrong because updating the endpoint configuration alone does not change the number of instances or schedule scaling; it only changes the configuration, and you would still need to apply it, which is manual and not cost-efficient.

12
Multi-Selecteasy

Which TWO actions should you perform to identify cost savings in an existing SageMaker environment?

Select 2 answers
A.Delete all data in S3
B.Review AWS Trusted Advisor recommendations
C.Analyze spending patterns in AWS Cost Explorer
D.Increase the number of IAM roles
E.Deploy models to every region
AnswersB, C

Trusted Advisor surfaces cost-optimisation findings across the account, flagging idle or underutilised SageMaker endpoints, notebooks and training instances. This directly satisfies the stem's requirement to identify savings opportunities in the existing environment without deploying new tooling.

Why this answer

Analyzing Cost Explorer and using Trusted Advisor are the correct ways to find optimization opportunities.

13
Multi-Selectmedium

Which TWO steps are required to properly secure Bedrock Knowledge Bases?

Select 2 answers
A.Disable all encryption to increase performance
B.Place the Knowledge Base in a public subnet
C.Use IAM roles for the Knowledge Base to access data
D.Grant public read access to the S3 bucket
E.Specify a KMS key for encryption at rest
AnswersC, E

Knowledge Bases assume an IAM service role to read source documents from S3 and invoke embedding models, so permissions are scoped to that role rather than embedded credentials. This satisfies least-privilege access to the underlying data stores.

Why this answer

Enabling encryption and managing IAM access are the primary security configurations.

14
MCQhard

A developer is using Amazon Bedrock Guardrails to filter out hate speech and violence in a chatbot application. During testing, the developer notices that some prompts containing subtle hate speech are not being blocked. The developer wants to improve the detection rate without increasing false positives on benign content. Which action should the developer take?

A.Switch the Guardrails content filter to use a different foundation model for moderation.
B.Increase the Guardrails filter strength for hate speech to the highest setting.
C.Disable the hate speech filter and rely on the violence filter to catch all problematic content.
D.Add custom words or phrases to a Guardrails word filter that specifically target the subtle hate speech patterns.
AnswerD

Guardrails support custom word filters that can be configured to block specific terms or phrases. By adding the subtle hate speech patterns to a custom filter, the developer can increase detection without broadly raising sensitivity, thus minimizing false positives on benign content. This is a targeted approach.

Why this answer

To improve detection of subtle hate speech without increasing false positives, the developer should use Guardrails' custom word filters. These allow adding specific terms or phrases that the standard classifiers might miss. By targeting the exact patterns, the developer can enhance detection while keeping the broader filters at balanced settings, thus avoiding over-blocking benign content.

Exam trap

The trap here is thinking that raising the filter strength is the only way to catch more hate speech, when custom word filters offer a more precise solution.

15
Multi-Selecthard

Which THREE metrics are best used for setting up auto-scaling policies on a SageMaker endpoint?

Select 3 answers
A.IAMUserLoginCount
B.InvocationsPerInstance
C.CPUUtilization
D.S3RequestLatency
E.GPUUtilization
AnswersB, C, E

InvocationsPerInstance measures the request load each endpoint instance actually handles, so scaling policies trigger on real per-instance demand rather than aggregate traffic. This directly satisfies the stem's requirement for a meaningful auto-scaling metric, since it reveals when individual instances are saturated and additional capacity is needed.

Why this answer

InvocationsPerInstance, CPUUtilization, and GPUUtilization are the standard metrics to trigger scaling actions.

16
MCQhard

You are integrating a SageMaker JumpStart model via the InvokeEndpoint API. The model is failing to process images due to a schema mismatch. Which format does the JumpStart image input expect by default for standard vision models?

A.Base64 encoded string in the JSON input field
B.A URL pointing to an S3 object
C.Multi-part form data
D.Raw binary stream in the request body
AnswerA

SageMaker JumpStart vision models expect image bytes serialised as a Base64 encoded string within the JSON input field, not raw binary or a URL. Supplying the image in that encoding resolves the schema mismatch at InvokeEndpoint.

Why this answer

SageMaker JumpStart vision models (e.g., image classification, object detection) expect the input image to be Base64-encoded and placed in the JSON payload under the appropriate input field (commonly 'image' or 'data'). The InvokeEndpoint API sends JSON, so raw binary cannot be transmitted directly. The model's inference container decodes the Base64 string back to bytes before preprocessing.

Exam trap

AIP-C01 often tests the assumption that JumpStart endpoints accept S3 URLs or raw binary; the default schema requires Base64-encoded JSON, and candidates who assume otherwise pick the wrong format.

How to eliminate wrong answers

Option B is wrong because JumpStart vision endpoints do not accept an S3 URL as input; the caller must fetch the object and encode it. Option C is wrong because InvokeEndpoint uses a JSON body, not multipart/form-data, for standard JumpStart models. Option D is wrong because raw binary streams are not supported by the default JumpStart inference container — the payload must be JSON with a Base64-encoded image field.

17
Multi-Selecteasy

Which THREE of the following are valid components of an Amazon Bedrock Agent test plan?

Select 3 answers
A.Validating the reasoning path of the agent.
B.Verifying the S3 bucket encryption.
C.Testing the accuracy of tool invocations (Action Groups).
D.Measuring model training time.
E.Ensuring Guardrails are applied to both input and output.
AnswersA, C, E

Validating the reasoning path verifies the agent's chain-of-thought and orchestration logic, not just the final response. This satisfies the test plan requirement to assess how the agent reaches conclusions, exposing flawed planning or prompt interpretation before production deployment.

Why this answer

Testing reasoning, tool invocation accuracy, and safety constraints are critical components of an agent test plan.

18
MCQhard

A developer is troubleshooting a generative AI application that calls Amazon Bedrock. Intermittently, invocations fail with a ThrottlingException. CloudWatch metrics show that the account's on-demand quota for the model is being exceeded during peak hours. The developer wants to reduce throttling without changing the model or application logic. Which solution is most appropriate?

A.Reduce the maxTokenCount parameter to 1 to lower token consumption per request.
B.Switch the application to use a different AWS Region where the model is available and retry all requests there.
C.Implement exponential backoff with jitter in the AWS SDK retry configuration and request a quota increase for the model.
D.Enable provisioned throughput for the model and remove all retry logic from the application.
AnswerC

ThrottlingException occurs when request rate or token throughput exceeds the account's quota. Exponential backoff with jitter lets retries succeed when the limit is transient, while a quota increase raises the ceiling for sustained peak load. Together they address both the immediate retry behavior and the underlying capacity limit without altering the model or application logic.

Why this answer

Intermittent ThrottlingException from Bedrock indicates the account is exceeding its on-demand quota. Exponential backoff with jitter allows retries to succeed when throttling is transient, and requesting a quota increase raises the sustained capacity limit. This combination reduces throttling without modifying the model or application logic, addressing both immediate and long-term needs.

Exam trap

The trap here is assuming that reducing token limits or switching Regions solves throttling, when the actual causes are request rate and quota ceilings that require retry strategy and quota adjustments.

19
MCQeasy

A healthcare startup is preparing a generative AI chatbot that answers patient questions using Amazon Bedrock. The security team wants to ensure that protected health information is not inadvertently echoed back in model responses and that the model cannot be prompted to reveal its system instructions. Which AWS feature should they enable first to address both concerns?

A.Amazon VPC endpoints for Bedrock to keep traffic off the public internet.
B.AWS Key Management Service customer managed keys for the Bedrock model customization jobs.
C.AWS Identity and Access Management policies that restrict which Bedrock models the application can invoke.
D.Amazon Bedrock Guardrails with sensitive information filters and prompt attack filters.
AnswerD

Guardrails offers sensitive information filters that detect and mask or block PII and PHI patterns in prompts and responses, plus prompt attack filters that detect jailbreak and prompt-injection attempts aimed at extracting system instructions. Enabling it addresses both concerns at the model boundary without application changes.

Why this answer

Amazon Bedrock Guardrails is the purpose-built control for inspecting model inputs and outputs. Sensitive information filters detect and mask or block PHI and PII, while prompt attack filters identify jailbreak and prompt-injection patterns that try to extract system prompts. Enabling Guardrails directly addresses both the PHI disclosure and system instruction leakage concerns.

Exam trap

The trap here is confusing encryption, networking, or authorization controls with content-level safety controls, which are handled by Bedrock Guardrails.

20
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

21
MCQmedium

A team is storing sensitive documents for RAG. They need to ensure that the document chunks in the vector database are encrypted at rest. How?

A.Configure the vector database (e.g., OpenSearch) with KMS encryption
B.Use TLS for all connections
C.Use Amazon S3-managed encryption
D.Encrypt the source S3 bucket only
AnswerA

Configuring the vector database with KMS encryption applies customer-managed keys to the underlying storage volumes, ensuring chunks are encrypted at rest. This satisfies the encryption-at-rest constraint directly, rather than relying on transport TLS or application-layer tokenisation.

Why this answer

Encryption at rest for a vector database is enforced at the storage layer of that database, so configuring the vector store (e.g., Amazon OpenSearch Serverless or Aurora pgvector) with a KMS customer-managed key ensures the indexed embeddings and metadata are encrypted on disk. This is independent of how the source documents are encrypted in S3. KMS CMKs give the team control over key rotation and access policies.

Exam trap

AIP-C01 often tests the confusion between encryption in transit (TLS) and encryption at rest (KMS), and between the source data store (S3) and the derived data store (vector DB), so candidates who pick TLS or S3 encryption miss the actual at-rest requirement for the vector index.

How to eliminate wrong answers

Option B is wrong because TLS encrypts data in transit between the application and the vector store, not data at rest on disk. Option C is wrong because S3-managed encryption (SSE-S3) protects the source bucket, not the vector database where chunks are actually stored after ingestion. Option D is wrong because encrypting only the source S3 bucket leaves the vector store's indexed chunks unencrypted at rest, which is exactly the data the question asks about.

22
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

23
MCQmedium

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

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

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

Why this answer

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

24
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

25
MCQmedium

You need to ensure that your SageMaker inference endpoint does not exceed a specific monthly budget. Which AWS feature allows you to set up notifications when spending thresholds are crossed?

A.SageMaker Cost Explorer
B.CloudWatch Alarms on billing metrics
C.AWS Budgets
D.AWS Cost and Usage Reports
AnswerC

AWS Budgets lets you define a monthly cost budget and configure alerts when actual or forecasted spend crosses your threshold. This directly satisfies the requirement to be notified before the SageMaker inference endpoint exceeds its specified monthly budget.

Why this answer

AWS Budgets allows you to set custom cost and usage budgets and receive email or SNS alerts when thresholds are approached or exceeded.

26
MCQmedium

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

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

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

Why this answer

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

27
MCQmedium

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

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

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

Why this answer

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

28
MCQeasy

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

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

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

Why this answer

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

29
Multi-Selectmedium

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

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

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

Why this answer

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

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

30
MCQmedium

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

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

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

Why this answer

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

31
MCQhard

You notice your SageMaker endpoint is underperforming. You identify that the model is CPU-bound during inference. Which action should you take?

A.Reduce the batch size
B.Increase memory limit in the container
C.Increase the number of instances (horizontal scaling)
D.Change to an instance type optimized for compute
AnswerD

Switching to a compute-optimised instance type directly addresses the CPU-bound constraint by providing a higher ratio of vCPU to memory, such as the C-family. This supplies the processing capacity the model needs during inference, relieving the bottleneck that general-purpose instances impose.

Why this answer

If the model is CPU-bound during inference, the bottleneck is compute, not memory or instance count. Moving to a compute-optimized instance family (e.g., C-series) provides more vCPU per dollar and higher clock speeds, directly relieving the CPU saturation. This is the targeted fix for a CPU-bound workload.

Exam trap

AIP-C01 often tests whether candidates default to horizontal scaling for any performance issue — the trap is missing that a CPU-bound single-instance bottleneck calls for a compute-optimized instance type, not more instances.

How to eliminate wrong answers

Option A is wrong because reducing batch size lowers throughput and does not address the underlying CPU saturation — it may even worsen per-request efficiency. Option B is wrong because adding memory does not help a CPU-bound workload; memory helps memory-bound workloads (e.g., large model weights, KV cache pressure). Option C is wrong because horizontal scaling adds more instances but each instance is still CPU-starved — it multiplies cost without fixing the per-instance bottleneck, and is the wrong first move when a vertical instance-type change is available.

32
Multi-Selecthard

When fine-tuning a model on Amazon Bedrock, which THREE security considerations are critical?

Select 3 answers
A.Using a root user account to launch the training job
B.Limiting IAM permissions for the fine-tuning job
C.Encrypting the training dataset in S3 with KMS
D.Making the training dataset publicly readable
E.Ensuring the training dataset is free of PII
AnswersB, C, E

Limiting IAM permissions for the fine-tuning job enforces least privilege, so the job can read only its training data and write only its output model. This constrains blast radius if the job is compromised, satisfying the security requirement for scoped access during customisation.

Why this answer

Option B is correct because fine-tuning jobs on Amazon Bedrock should run under a scoped IAM role/service role that grants only the permissions needed (e.g., s3:GetObject on the specific training bucket and bedrock:CreateModelCustomizationJob), following least privilege to limit blast radius. Option C is correct because training data stored in Amazon S3 should be encrypted at rest with AWS KMS (SSE-KMS), and Bedrock requires access to the KMS key to read the dataset, protecting sensitive training content. Option E is correct because datasets used for fine-tuning must be reviewed and scrubbed of personally identifiable information (PII) to avoid embedding sensitive data into model weights and to comply with privacy regulations.

Option A is wrong because using the root user violates AWS best practices; root should not be used for workloads and lacks granular, auditable permissions. Option D is wrong because making the training dataset publicly readable exposes proprietary or sensitive data to anyone and is a severe security misconfiguration.

Exam trap

AIP-C01 often tests whether candidates confuse 'security best practices' with obvious anti-patterns (root user, public S3), so the trap is picking options that sound operationally convenient but violate least privilege or data protection.

33
MCQmedium

A developer is troubleshooting an Amazon Bedrock Agent that fails to complete a multi-step task. CloudWatch Logs show that the agent successfully invokes the action group's Lambda function, but the agent then replies to the user that it cannot proceed. The Lambda function returns a JSON object with a top-level key "result" instead of the key the agent expects. Which change will most likely resolve the issue?

A.Enable the agent's "return control" option so the agent can bypass the Lambda response and generate the final answer directly.
B.Add a new action group to the agent that duplicates the same Lambda function but uses a different API schema version.
C.Modify the Lambda function to return the response in the format defined by the action group's API schema, including the required response body structure.
D.Increase the Lambda function's memory size to 1024 MB and extend the timeout to 5 minutes to allow the agent more time to parse the response.
AnswerC

Amazon Bedrock Agents parse the Lambda response according to the OpenAPI schema attached to the action group. If the function returns an unexpected top-level key, the agent treats the invocation as malformed and stops the orchestration. Aligning the Lambda output with the schema's response body structure restores successful parsing and lets the agent continue the multi-step task.

Why this answer

Bedrock Agents rely on the action group's OpenAPI schema to validate and parse the Lambda response. When the function returns a payload whose structure does not match the schema, the agent cannot extract the expected fields and aborts the orchestration, even though the invocation itself succeeded. Correcting the Lambda to emit the schema-defined response body is the direct fix.

Exam trap

The trap here is assuming that a successful Lambda invocation in CloudWatch Logs means the agent received a usable response, when the failure is actually a schema mismatch in the returned JSON.

34
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

35
MCQhard

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

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

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

Why this answer

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

Exam trap

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

36
MCQmedium

Your team uses SageMaker Pipelines for training. How can you optimize the storage costs of the artifacts generated by these runs?

A.Disabling versioning on the S3 bucket
B.Configuring S3 Lifecycle policies
C.Using smaller instance types
D.Deleting logs every day
AnswerB

S3 Lifecycle policies automatically transition or expire pipeline artefacts after defined periods, moving older outputs to cheaper storage classes or deleting them. This directly addresses the stem's storage-cost optimisation goal without altering pipeline logic or retraining workflows.

Why this answer

Implementing an S3 Lifecycle policy automatically moves or deletes artifacts after a certain period, keeping storage costs controlled.

37
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

38
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

39
Multi-Selectmedium

Which TWO metrics are critical for monitoring an Amazon SageMaker inference endpoint to ensure operational health?

Select 2 answers
A.Invocations
B.NetworkPacketLoss
C.S3StorageUsage
D.ModelLatency
E.IAMUserCount
AnswersA, D

Invocations counts requests hitting the endpoint, exposing traffic volume and unexpected drops that signal throttling, client errors or misrouting. CloudWatch publishes it automatically for SageMaker endpoints, making it a primary operational-health signal for detecting demand shifts and failures.

Why this answer

Option A (Invocations) is correct because it is a core CloudWatch metric for SageMaker endpoints, counting the number of requests sent to the endpoint's InvokeEndpoint API, which directly reflects traffic volume and whether the endpoint is being used as expected. Option D (ModelLatency) is correct because it measures the interval between when the endpoint receives a request and when it returns the response, making it a key indicator of inference performance and operational health. Together, Invocations and ModelLatency let operators detect traffic anomalies and latency degradation that signal endpoint problems.

Option B (NetworkPacketLoss) is not a standard SageMaker endpoint metric and is not surfaced for monitoring inference health. Option C (S3StorageUsage) relates to S3 bucket capacity, not endpoint operation, and option E (IAMUserCount) is an identity metric unrelated to endpoint performance.

Exam trap

AIP-C01 often tests the ability to distinguish endpoint-relevant metrics (Invocations, ModelLatency, error rates) from unrelated metrics (storage, IAM, network) — candidates must focus on what directly measures serving health and performance.

40
MCQmedium

Which prompt engineering technique involves providing the model with a few examples of desired input-output pairs to guide the generation?

A.Chain-of-thought
B.Few-shot prompting
C.System priming
D.Zero-shot prompting
AnswerB

Few-shot prompting embeds a small set of exemplar input-output pairs directly in the prompt, letting the model infer the task pattern through in-context learning without weight updates. This satisfies the stem's requirement for guiding generation via demonstrated examples rather than instructions alone.

Why this answer

Few-shot prompting is the technique of including a small number of example input-output pairs in the prompt to demonstrate the desired task and format, guiding the model to generalize to the new input. This contrasts with zero-shot, where no examples are given. The examples act as in-context learning signals.

Exam trap

AIP-C01 often tests the confusion between few-shot prompting (providing examples) and chain-of-thought (eliciting reasoning steps), or between few-shot and zero-shot, by describing example-based guidance.

How to eliminate wrong answers

Option A is wrong because Chain-of-thought prompting encourages the model to produce intermediate reasoning steps (often with 'Let's think step by step') rather than providing input-output examples. Option C is wrong because 'System priming' is not a standard prompt engineering term; system prompts set persona/instructions but are not defined by providing example pairs. Option D is wrong because Zero-shot prompting provides no examples at all, relying solely on the instruction.

41
MCQhard

A financial services company runs a generative AI assistant on Amazon Bedrock that summarizes internal reports. Compliance requires that the assistant never produce investment advice and that every response be traceable to the prompts and model version used. The team wants to enforce these controls centrally without modifying each application. Which combination of AWS capabilities should they use?

A.AWS WAF rules that inspect request bodies for financial terms, plus AWS CloudTrail data events on the Bedrock endpoint.
B.Amazon Macie to detect sensitive data in S3 and AWS Config rules to enforce Bedrock model version pinning.
C.Amazon Comprehend toxicity detection on each response and AWS CloudTrail management events for the Bedrock API.
D.Amazon Bedrock Guardrails with a denied topics policy and sensitive information filters, plus model invocation logging to Amazon CloudWatch Logs and Amazon S3.
AnswerD

Guardrails provides a denied topics policy that blocks investment-advice content and sensitive information filters for PII, while model invocation logging captures the full prompt, response, and model ID for traceability. Both are configured at the account or application level and apply without rewriting each application's code.

Why this answer

Amazon Bedrock Guardrails enforces content policies such as denied topics and sensitive information filters independently of application code, and model invocation logging stores prompts, responses, and model identifiers in CloudWatch Logs and S3. Together they deliver centralized policy enforcement plus the audit trail compliance requires, without per-application changes.

Exam trap

The trap here is reaching for network or data-classification services like WAF, Macie, or Config for a problem that is about model input and output content governance.

42
MCQmedium

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

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

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

Why this answer

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

43
MCQeasy

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

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

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

Why this answer

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

Exam trap

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

44
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

45
MCQmedium

What is the primary benefit of deploying a JumpStart model on a Multi-Model Endpoint (MME)?

A.It improves inference latency for a single model
B.It simplifies the model training process
C.It optimizes resource utilization by hosting multiple models
D.It provides higher availability than single-model endpoints
AnswerC

A Multi-Model Endpoint hosts several models behind shared inference containers, loading them on demand from Amazon S3. Deploying a JumpStart model this way avoids provisioning a dedicated endpoint per model, satisfying the resource utilisation constraint by sharing compute across hosted models.

Why this answer

A Multi-Model Endpoint hosts multiple models behind a single endpoint and dynamically loads/unloads them into shared container memory on demand. The primary benefit is resource utilization: you avoid provisioning a separate endpoint per model, so many low-traffic models share one instance's CPU/GPU and memory. This is the defining advantage of MME over single-model endpoints.

Exam trap

AIP-C01 often tests whether candidates attribute latency or availability benefits to MME — the trap is picking a plausible operational benefit instead of the actual cost/resource-utilization advantage of sharing one endpoint across many models.

How to eliminate wrong answers

Option A is wrong because MME does not improve single-model latency — in fact, model load time on first invocation can add latency (cold start) compared to an always-loaded single-model endpoint. Option B is wrong because MME is a hosting/deployment feature and has nothing to do with training. Option D is wrong because MME does not inherently provide higher availability than a single-model endpoint; availability depends on instance count, multi-AZ deployment, and autoscaling, not on the multi-model packaging.

46
MCQmedium

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

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

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

Why this answer

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

47
Multi-Selectmedium

Which THREE features are provided by Amazon Bedrock Guardrails?

Select 3 answers
A.Automatic Model Fine-tuning
B.Real-time cost optimization
C.Content Filtering
D.Denied Topic Management
E.Sensitive Information Filtering
AnswersC, D, E

Content filtering evaluates prompts and responses against configurable harmful-category thresholds, such as hate, violence and sexual content, and blocks them when exceeded. This satisfies the question's requirement for a guardrail capability that screens model input and output for harmful material.

Why this answer

Amazon Bedrock Guardrails provides Content Filtering (C), which lets you configure thresholds to block harmful categories such as hate, violence, sexual, insults, and misconduct in both prompts and responses. It also supports Denied Topic Management (D), allowing you to define custom topics with natural-language descriptions that the guardrail blocks when detected in inputs or outputs. Additionally, it offers Sensitive Information Filtering (E), which detects and masks or blocks PII and custom regex-defined sensitive data using the sensitive information policy.

Automatic Model Fine-tuning (A) is not a Guardrails feature; fine-tuning in Bedrock is a separate model customization capability. Real-time cost optimization (B) is also not provided by Guardrails, as Guardrails focuses on safety and content controls rather than cost management.

Exam trap

The trap is that 'automatic model fine-tuning' and 'cost optimization' sound like platform-level governance features, so candidates who do not know the exact Guardrails scope pick them instead of the three content/topic/PII controls.

48
MCQhard

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

49
MCQmedium

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

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

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

Why this answer

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

Exam trap

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

How to eliminate wrong answers

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

50
MCQmedium

A generative AI application deployed on AWS Lambda invokes an Amazon Bedrock model and occasionally receives a ThrottlingException with the message 'Too many requests'. The developer has already confirmed that the Lambda function's reserved concurrency is well below the account limit. The application must remain reliable without over-provisioning. Which action should the developer take to handle these throttling errors most effectively?

A.Implement an exponential backoff and jitter retry strategy using the AWS SDK for the Bedrock InvokeModel API call.
B.Configure the Lambda function to use provisioned concurrency to ensure immediate scaling.
C.Increase the Lambda function's memory size to improve CPU performance and reduce invocation time.
D.Switch the model invocation to use the Amazon Bedrock Converse API instead of InvokeModel.
AnswerA

Bedrock throttling is transient and retrying with exponential backoff and jitter is the AWS-recommended approach. The SDK's built-in retry mechanism can be customized, and adding jitter prevents synchronized retries from multiple Lambda instances. This directly addresses the throttling without changing quotas.

Why this answer

ThrottlingException from Amazon Bedrock indicates that the request rate exceeded the account's quota. The correct approach is to implement retries with exponential backoff and jitter, which is a standard resilience pattern for transient errors. This allows the application to recover gracefully without manual quota increases, and it works well in distributed systems like Lambda.

Exam trap

The trap here is assuming that Lambda concurrency or memory settings control Bedrock throttling, when throttling is enforced by the Bedrock service based on request rates.

51
MCQmedium

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

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

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

Why this answer

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

52
Multi-Selectmedium

You are designing a secure Generative AI architecture on AWS. Which TWO of the following are recommended practices for securing the data ingestion pipeline for RAG?

Select 2 answers
A.Disable all logging in the pipeline to prevent data exposure
B.Store API keys in plain text within the Lambda code
C.Enforce TLS 1.2+ for all data movement
D.Use AWS KMS to encrypt data at rest in the S3 bucket
E.Store all documents in a public S3 bucket for ease of access
AnswersC, D

TLS 1.2+ encrypts data in transit across every ingestion hop — source systems, S3 uploads, and vector store writes — satisfying the pipeline's transport-encryption requirement. This prevents interception or tampering of documents and embeddings moving between services, complementing at-rest encryption rather than replacing it.

Why this answer

Encrypting data in transit (TLS) and at rest (KMS) are fundamental for data pipeline security.

53
MCQeasy

To prevent accidental deletion of a Knowledge Base, which feature should be applied?

A.Use AWS Backup
B.Enable MFA Delete on S3
C.Enable S3 Versioning
D.Apply an IAM policy denying DeleteKnowledgeBase
AnswerD

An explicit IAM policy denying the DeleteKnowledgeBase action overrides any allow granted by attached identity policies, directly preventing accidental deletion. This satisfies the stem's constraint of blocking deletion while leaving other Knowledge Base operations unaffected.

Why this answer

The correct answer is D: Apply an IAM policy denying DeleteKnowledgeBase. AWS Identity and Access Management (IAM) policies are the primary mechanism for controlling access to AWS actions, including the DeleteKnowledgeBase action for Amazon Bedrock Knowledge Bases. By explicitly denying this action, you prevent any principal (user, role, or service) from deleting the knowledge base, even if they have other permissions that would otherwise allow it.

This is a direct, preventive control that aligns with the principle of least privilege.

Exam trap

AIP-C01 often tests the difference between preventive and detective controls, and candidates may confuse data protection features like S3 Versioning or MFA Delete with resource-level access control, leading them to choose options that protect data but not the Knowledge Base resource itself.

How to eliminate wrong answers

Option A is wrong because AWS Backup is used to create and restore backups of supported resources, but it does not prevent deletion; it only enables recovery after deletion, and Amazon Bedrock Knowledge Bases are not a supported resource type for AWS Backup. Option B is wrong because MFA Delete on S3 adds an extra layer of authentication for deleting objects in an S3 bucket, but it does not protect the Knowledge Base resource itself; the Knowledge Base is a Bedrock resource, not an S3 object. Option C is wrong because S3 Versioning protects individual objects within a bucket by retaining multiple versions, but it does not prevent the deletion of the Knowledge Base resource, which is managed by Bedrock, not S3.

54
MCQmedium

A developer is using Amazon Bedrock to build a customer support chatbot. The model is hallucinating frequently when retrieving internal company knowledge. Which evaluation methodology should the developer implement to quantify the ground truth accuracy of the RAG pipeline?

A.Implement a RAGAS-based evaluation pipeline to measure faithfulness and answer relevance.
B.Increase the temperature setting to 1.0 to encourage more creative responses.
C.Use Amazon CloudWatch logs to calculate the latency of every inference call.
D.Run a standard BLEU score evaluation against the model's training data.
AnswerA

RAGAS quantifies retrieval-augmented generation quality by scoring faithfulness (whether claims are entailed by retrieved context) and answer relevance, directly measuring ground-truth accuracy against the internal knowledge base. This satisfies the stem's requirement to quantify hallucination reduction in the RAG pipeline.

Why this answer

RAGAS (Retrieval-Augmented Generation Assessment) is a framework specifically designed to evaluate RAG pipelines. It measures faithfulness (whether the answer is grounded in the retrieved context) and answer relevance (how relevant the answer is to the question). These metrics directly quantify ground truth accuracy and help identify hallucinations.

Therefore, implementing a RAGAS-based evaluation is the correct approach.

Exam trap

AIP-C01 often tests evaluation methodologies for RAG, and candidates may confuse RAGAS with generic metrics like BLEU or think that increasing temperature improves accuracy.

How to eliminate wrong answers

Option B is wrong because increasing temperature to 1.0 makes the model more creative and likely to hallucinate more, not less. Option C is wrong because CloudWatch logs measure latency, not accuracy or hallucination. Option D is wrong because BLEU score evaluates text similarity against reference translations, not RAG ground truth accuracy, and it is not suitable for open-ended chatbot responses.

55
Multi-Selecthard

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

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

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

Why this answer

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

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

56
MCQeasy

You are deploying a foundation model on Amazon SageMaker. To optimize inference costs for an application with unpredictable traffic patterns and significant idle periods, which deployment option should you select?

A.SageMaker Serverless Inference
B.Batch Transform
C.Real-time inference with provisioned Auto Scaling instances
D.Asynchronous Inference
AnswerA

Serverless Inference scales to zero when no requests arrive, so you pay only for compute during actual invocations. This directly addresses the unpredictable traffic and significant idle periods, unlike real-time endpoints that bill for continuously provisioned instances regardless of load.

Why this answer

Serverless Inference is the most cost-effective solution for unpredictable traffic as it eliminates the cost of idle instances by automatically scaling resources based on request volume.

57
MCQhard

You are tuning a Large Language Model on SageMaker and notice that GPU memory utilization is consistently low despite high latency. Which action is most appropriate to optimize performance?

A.Increasing the number of instances
B.Switching to a larger instance type
C.Moving the model to CPU instances
D.Implementing dynamic batching in your inference handler
AnswerD

Dynamic batching groups concurrent inference requests into a single forward pass, raising GPU utilisation and cutting per-request latency. It directly addresses the low memory utilisation and high latency described, since the GPU is otherwise underfed by one-at-a-time requests. This suits real-time endpoints with concurrent traffic.

Why this answer

Dynamic batching groups multiple incoming inference requests into a single forward pass on the GPU, which raises GPU utilization and throughput while reducing per-request latency overhead. Low GPU utilization with high latency is the classic signature of under-batched inference where the accelerator sits idle between small requests. Implementing dynamic batching in the inference handler directly addresses this by keeping the GPU busy with concurrent work.

Exam trap

AIP-C01 often tests the misconception that low GPU utilization is solved by adding or upsizing instances, when the real fix is improving per-instance batching efficiency.

How to eliminate wrong answers

Option A is wrong because adding instances scales horizontally but does not fix the per-instance inefficiency — each underutilized GPU would still process tiny batches, so latency stays high and cost rises. Option B is wrong because a larger instance type provides more memory/compute but does nothing to increase batch size or utilization; the bottleneck is request scheduling, not hardware capacity. Option C is wrong because moving to CPU instances would dramatically worsen latency for LLM inference, since CPUs lack the parallel throughput of GPUs for transformer matrix operations.

58
Multi-Selectmedium

You are designing an Agentic AI solution using Bedrock Agents. Which THREE components must you configure to enable the agent to interact with an external API?

Select 3 answers
A.Knowledge Base
B.Action Group
C.OpenAPI Schema
D.Lambda Function
E.Guardrail
AnswersB, C, D

An action group defines the API operations the agent may invoke, including the OpenAPI schema describing parameters and the Lambda function that fulfils each call. It is the required binding that lets Bedrock Agents interact with the external API.

Why this answer

Option B (Action Group) is correct because an action group is the Bedrock Agents construct that defines the set of tasks the agent can invoke against external APIs, binding the agent's reasoning to concrete operations. Option C (OpenAPI Schema) is correct because the action group requires an OpenAPI schema (API schema) that describes the external API's endpoints, parameters, and request/response structures so the agent knows how to call it. Option D (Lambda Function) is correct because the action group must be backed by an executor — typically an AWS Lambda function — that receives the agent's invocation and performs the actual API call to the external service.

Option A (Knowledge Base) is not required here because knowledge bases are for retrieval-augmented generation over documents/data, not for invoking external APIs. Option E (Guardrail) is not required because guardrails enforce content safety and policy filtering, which is unrelated to enabling API interaction.

Exam trap

AIP-C01 often tests whether candidates confuse Knowledge Bases (RAG/document retrieval) with Action Groups (API/tool invocation), causing them to select Knowledge Base as a required component for external API interaction.

59
MCQeasy

A developer is using Amazon Bedrock to generate product descriptions. The application calls the InvokeModel API with the Anthropic Claude model. The developer needs to ensure that the model's responses are deterministic and do not vary between identical prompts. Which parameter should be adjusted in the request body?

A.Increase the max_tokens parameter.
B.Set the temperature parameter to 0.
C.Set the top_p parameter to 1.
D.Set the stop_sequences parameter to an empty list.
AnswerB

Setting temperature to 0 makes the model's output more deterministic by reducing randomness in token selection. While not perfectly deterministic due to floating-point operations, it is the primary parameter to control variability. This is the correct adjustment for consistent responses across identical prompts.

Why this answer

Temperature controls the randomness of the model's output. A temperature of 0 makes the model select the most likely next token at each step, leading to more consistent and repeatable responses. While other parameters like top_p also affect sampling, temperature is the primary and most direct control for determinism in Amazon Bedrock's InvokeModel API.

Exam trap

The trap here is confusing top_p with temperature, or thinking that top_p=1 reduces randomness when it actually allows all tokens and increases variability.

60
Multi-Selectmedium

When designing a prompt for a coding assistant, which THREE pieces of information should be included to get the best results?

Select 3 answers
A.Frameworks or libraries to be used
B.The programming language
C.The AWS account ID
D.Specific formatting requirements
E.The model's internal parameter count
AnswersA, B, D

Naming the frameworks or libraries constrains the assistant to idiomatic APIs and imports rather than generic standard-library substitutes, so generated code integrates with the project's existing dependencies — one of the three prompt elements the stem requires for best results.

Why this answer

Option A (frameworks or libraries to be used) is correct because specifying the exact frameworks or libraries (e.g., React, Django, Spring Boot) constrains the assistant to generate idiomatic code and APIs that match the intended stack, avoiding incompatible or generic solutions. Option B (the programming language) is correct because the language (e.g., Python, TypeScript, Go) determines syntax, standard library usage, and runtime behavior, so naming it prevents the assistant from guessing and producing code in the wrong language. Option D (specific formatting requirements) is correct because stating formatting constraints such as PEP 8, ESLint rules, indentation style, or output structure ensures the generated code conforms to project standards and is directly usable.

Option C (the AWS account ID) is not relevant to prompt design for a coding assistant, since it is an environment-specific identifier that does not influence code generation. Option E (the model's internal parameter count) is not something a prompt author controls or needs to specify, as it describes the underlying model architecture rather than the task requirements.

Exam trap

AIP-C01 often tests the temptation to include irrelevant technical details like account IDs or model size; the exam expects you to recognize that language, frameworks, and formatting are the key prompt components for coding tasks.

61
Multi-Selectmedium

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

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

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

Why this answer

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

62
MCQhard

You are deploying a model from SageMaker JumpStart. You need to ensure that the model inference container has access to private VPC resources. What must you configure?

A.Configure Subnets and Security Groups in the Model creation
B.Set the IAM role to 'AdministratorAccess'
C.Update the JumpStart model Dockerfile
D.Enable AWS PrivateLink on the S3 bucket
AnswerA

Specifying subnets and security groups during model creation places the inference container's network interfaces inside the VPC, giving it private connectivity and the correct security group rules. Without this configuration, the endpoint cannot reach private VPC resources.

Why this answer

You must configure the VPC settings (Subnets and Security Groups) in the SageMaker Model configuration to allow network access.

63
Multi-Selecteasy

Which TWO of the following strategies are best for reducing the cost of SageMaker training jobs?

Select 2 answers
A.Keeping training clusters running
B.Using Managed Spot Training
C.Increasing the number of instances
D.Selecting the most appropriate instance type for the workload
E.Enabling detailed logging for every epoch
AnswersB, D

Managed Spot Training taps spare AWS capacity at up to 90% discount, satisfying the cost-reduction constraint. SageMaker manages interruptions by checkpointing to Amazon S3 and resuming, so long jobs tolerate reclaimed instances without restarting from scratch.

Why this answer

Using Managed Spot Training and instance-appropriate types are standard methods for reducing training costs.

64
MCQmedium

You are deploying a Generative AI application using Amazon SageMaker JumpStart. You need to ensure that the model endpoint is protected against prompt injection attacks. Which approach is most effective?

A.Encrypt the model weights with a CMK
B.Enable Amazon Inspector on the endpoint
C.Use a prompt-based filter system that detects malicious intent via a secondary validation model
D.Disable the API Gateway execute-api method
AnswerC

A secondary validation model inspects prompts for malicious intent before inference, catching injection attempts that static keyword filters miss because attackers rephrase payloads. This layered detection satisfies the prompt-injection protection requirement for the SageMaker JumpStart endpoint more effectively than input sanitisation alone.

Why this answer

A prompt-based filter system that uses a secondary validation model to detect malicious intent is the most effective approach because prompt injection is a semantic/behavioral attack that must be detected by analyzing the input and output content, not by infrastructure controls. A dedicated classifier or LLM-as-judge can flag jailbreak patterns, instruction overrides, and data exfiltration attempts before they reach the primary model.

Exam trap

AIP-C01 often tests the confusion between infrastructure security controls (encryption, Inspector, API Gateway) and application-layer AI security — candidates must recognize that prompt injection is a content/semantic attack requiring content-aware defenses, not network or IAM controls.

How to eliminate wrong answers

Option A is wrong because encrypting model weights with a CMK protects data at rest — it does nothing against prompt injection, which is an input-layer attack. Option B is wrong because Amazon Inspector scans compute instances and container images for vulnerabilities (CVEs); it has no capability to detect prompt injection payloads. Option D is wrong because disabling the API Gateway execute-api method simply breaks the endpoint — it is not a security control against injection and would render the application unusable.

65
Multi-Selectmedium

A developer needs to monitor their Bedrock application for potential abuse. Which TWO features should they utilize?

Select 2 answers
A.Amazon CloudWatch metrics (e.g., 5xx error rates)
B.AWS Cost Explorer to track daily spending
C.Amazon Simple Notification Service
D.AWS Trusted Advisor performance checks
E.AWS CloudTrail to monitor for unusual API calling patterns
AnswersA, E

CloudWatch metrics expose Bedrock's invocation-level telemetry, including 5xx error rates and throttling counts, which surface anomalous request patterns indicative of abuse. Satisfying the monitoring constraint, these native service metrics feed alarms and dashboards without custom instrumentation, enabling prompt detection of volumetric or error-driven misuse.

Why this answer

Option A, Amazon CloudWatch metrics such as 5xx error rates, is correct because CloudWatch provides the runtime observability needed to detect abuse-driven failures and anomalies in a Bedrock application, letting the developer alarm on elevated error rates and other service metrics. Option E, AWS CloudTrail to monitor for unusual API calling patterns, is correct because CloudTrail records Bedrock API activity (e.g., InvokeModel calls) and can be analyzed to spot suspicious invocation volumes, unexpected principals, or anomalous call patterns indicative of abuse. Option B, AWS Cost Explorer, only shows aggregated spending trends and cannot identify abusive request patterns or errors.

Option C, Amazon Simple Notification Service, is merely a notification delivery mechanism and does not itself detect or monitor abuse. Option D, AWS Trusted Advisor performance checks, focuses on general best-practice and service-limit guidance rather than application-level abuse detection.

Exam trap

AIP-C01 often tests the distinction between monitoring services (CloudWatch for metrics, CloudTrail for API audit) and cost/notification/advisory services (Cost Explorer, SNS, Trusted Advisor), so candidates must pick the two that directly provide abuse detection signals.

66
Multi-Selecthard

Which THREE services/features are essential for establishing a secure perimeter for an Amazon Bedrock deployment?

Select 3 answers
A.Interface VPC Endpoints (PrivateLink)
B.AWS Public Access Block on all buckets
C.AWS Shield Standard
D.Security Groups on the VPC
E.IAM Policies for resource access control
AnswersA, D, E

Interface VPC endpoints (PrivateLink) keep Bedrock traffic on the AWS private network, avoiding public internet exposure entirely. This satisfies the secure perimeter requirement by giving private connectivity from the VPC, with endpoint policies and security groups governing access.

Why this answer

Interface VPC Endpoints (PrivateLink) (A) are essential because they let you access Amazon Bedrock privately from within your VPC over the AWS private network, keeping Bedrock traffic off the public internet and enabling granular endpoint policies. Security Groups on the VPC (D) are essential because they act as stateful virtual firewalls controlling which resources can reach the Bedrock interface endpoint on TCP 443, enforcing least-privilege network access at the perimeter. IAM Policies for resource access control (E) are essential because they authenticate and authorize which principals may invoke Bedrock models and actions, providing the identity-based control layer of the secure perimeter.

AWS Public Access Block on all buckets (B) is not essential here since it governs S3 bucket exposure, not Bedrock access, and AWS Shield Standard (C) is automatically enabled DDoS protection that is not a Bedrock-specific perimeter control.

Exam trap

AIP-C01 often tests whether candidates conflate general AWS security services (Shield, S3 Public Access Block) with the specific network and identity controls (PrivateLink, Security Groups, IAM) that establish a secure perimeter for Bedrock.

67
MCQeasy

When using the Amazon Bedrock Converse API, which parameter enables the model to perform tool use by providing a definition of available functions?

A.inferenceConfig
B.toolConfig
C.system
D.additionalModelRequestFields
AnswerB

toolConfig is the correct parameter to define tools.

Why this answer

The tools parameter in the Converse API allows you to define a list of tools for the model to use.

68
Multi-Selecthard

Which THREE factors should you consider when tuning your inference endpoint for cost-efficiency?

Select 3 answers
A.Auto Scaling policies based on custom metrics
B.Model quantization level
C.CloudTrail log retention period
D.Number of S3 buckets used
E.Optimal instance selection (e.g., inf2 vs p4d)
AnswersA, B, E

Auto Scaling policies driven by custom metrics such as invocation latency or queue depth scale instance counts to match real traffic, avoiding over-provisioned idle capacity while preserving throughput during peaks, which directly reduces endpoint cost.

Why this answer

Instance type, auto-scaling configuration, and model optimization (like quantization) are critical levers for cost efficiency.

69
Multi-Selectmedium

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

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

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

Why this answer

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

70
Multi-Selecthard

Which THREE strategies should be implemented to ensure responsible AI practices in a production workload?

Select 3 answers
A.Perform regular model evaluation for bias
B.Exclude all logging to protect privacy
C.Maintain comprehensive logs for auditability
D.Implement human-in-the-loop review for critical outputs
E.Allow users to train the model directly
AnswersA, C, D

Regular model evaluation for bias detects disparate performance across demographic groups before and after deployment, enabling remediation. This directly satisfies the stem's responsible AI requirement by providing measurable, recurring evidence that outputs remain fair throughout the production workload's lifecycle.

Why this answer

Option A is correct because regularly evaluating the model for bias (e.g., using fairness metrics such as demographic parity or equalized odds across subgroups) detects and mitigates discriminatory behavior before it harms users, which is a core responsible-AI control. Option C is correct because maintaining comprehensive logs of inputs, outputs, model versions, and decisions provides auditability and traceability, enabling incident investigation, compliance reporting, and accountability in production. Option D is correct because human-in-the-loop review for critical outputs ensures a qualified person validates high-impact decisions, catching harmful or erroneous model results that automation alone should not finalize.

Option B does not belong because excluding all logging destroys auditability and incident forensics rather than protecting privacy; privacy should be handled via data minimization, encryption, and access controls. Option E does not belong because letting users train the model directly in production risks data poisoning, uncontrolled drift, and loss of governance over model behavior.

71
MCQmedium

You need to ensure that all data sent to an Amazon Bedrock model is encrypted in transit using private connectivity. What is the recommended service?

A.AWS WAF
B.AWS CloudFront
C.AWS PrivateLink (VPC Endpoints)
D.AWS Certificate Manager
AnswerC

AWS PrivateLink (VPC Endpoints) keeps traffic to Amazon Bedrock entirely within the AWS network, satisfying the private connectivity constraint. Interface endpoints use ENIs in your subnets, so requests never traverse the public internet, and TLS encrypts data in transit between your VPC and the service.

Why this answer

AWS PrivateLink (VPC Endpoints) is the recommended service because it creates a private, one-way connection between a VPC and Amazon Bedrock using interface endpoints powered by ENIs, keeping traffic on the AWS backbone and off the public internet. This satisfies the requirement for private connectivity with encryption in transit (TLS) to the Bedrock endpoint. It avoids the need for internet gateways, NAT devices, or public IPs.

Exam trap

AIP-C01 often tests the confusion between encryption in transit (TLS, which is automatic for AWS APIs) and private connectivity (PrivateLink), so candidates pick ACM or WAF thinking they address encryption rather than network path isolation.

How to eliminate wrong answers

Option A is wrong because AWS WAF is a Layer 7 web application firewall that filters HTTP(S) requests to CloudFront, ALB, or API Gateway — it does not provide private network connectivity to Bedrock. Option B is wrong because CloudFront is a CDN that caches and delivers content over the public internet, which is the opposite of private connectivity. Option D is wrong because AWS Certificate Manager only provisions and manages TLS certificates; it does not establish private network paths or encrypt traffic by itself.

72
MCQhard

You notice that your SageMaker model endpoint experiences cold starts. Which feature can mitigate this?

A.Increasing the instance count
B.Changing the container image
C.Using a smaller model
D.Enabling Provisioned Concurrency
AnswerD

Provisioned Concurrency pre-warms resources to avoid cold starts.

Why this answer

Provisioned Concurrency maintains a set number of initialized instances, eliminating cold starts for serverless inference.

73
MCQhard

A company is using a third-party model via Bedrock and needs to ensure that the model provider does not use their data to train their base models. What must they do?

A.Disable all logging
B.Enable the 'Opt-out' setting in the Bedrock console
C.Understand that AWS does not use customer data to train their foundation models
D.Encrypt all data with a customer-managed key
AnswerC

AWS states that customer inputs and outputs for third-party models on Bedrock are not used to train the underlying foundation models, and are not shared with model providers. Recognising this satisfies the stem's requirement without needing opt-out configuration, since the protection applies by default.

Why this answer

AWS does not use customer data to train its foundation models. When using third-party models via Amazon Bedrock, the model provider also does not have access to customer data for training their base models. This is a fundamental data privacy commitment from AWS.

Therefore, no additional action is required; the correct understanding is that AWS and its model providers do not use customer data for training. Enabling an opt-out setting is not necessary because the default is already no training on customer data.

Exam trap

The trap is assuming that an opt-out setting exists or that additional configuration is needed, but the exam expects candidates to know that AWS's default policy already prohibits using customer data for training.

How to eliminate wrong answers

Option A is wrong because disabling logging does not affect whether data is used for training; logging is for audit and monitoring, and AWS does not train on customer data regardless. Option B is wrong because there is no 'Opt-out' setting in the Bedrock console for this purpose; the default policy already ensures customer data is not used for training. Option D is wrong because encrypting data with a customer-managed key protects data at rest but does not influence the model provider's training practices; encryption is orthogonal to data usage policies.

74
MCQeasy

Which Bedrock API parameter allows you to define a system-level role or persona for the model?

A.system
B.messages
C.top_p
D.temperature
AnswerA

The system parameter supplies a system-level instruction that establishes the model's role or persona before user turns are processed. It satisfies the requirement to define persona at the API level, distinct from user messages and other inference configuration parameters.

Why this answer

The 'system' parameter in the Bedrock Converse API (and related APIs) allows you to define a system-level instruction or persona for the model, such as 'You are a helpful customer service agent.' This system prompt is processed separately from user messages and sets the model's behavior, tone, and constraints for the entire conversation. It is the correct parameter for defining a system-level role or persona.

Exam trap

The trap is confusing inference configuration parameters (temperature, top_p) with structural parameters (system, messages) — candidates must know that persona definition is a system-level instruction, not a sampling setting.

How to eliminate wrong answers

Option B is wrong because 'messages' is the parameter that contains the conversation history (user and assistant turns), not the system-level persona definition — system instructions are passed separately in the 'system' field. Option C is wrong because 'top_p' is a sampling parameter (nucleus sampling) that controls the diversity of the model's output by limiting token selection to a cumulative probability threshold, unrelated to persona definition. Option D is wrong because 'temperature' is a sampling parameter that controls randomness in generation, not the model's role or system-level instructions.

75
MCQeasy

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

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

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

Why this answer

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

Page 1 of 3

Page 2

All pages