AWS · Free Practice Questions · Last reviewed May 2026
30 real exam-style questions organised by domain, each with the correct answer highlighted and a plain-English explanation of why it's right — and why the others are wrong.
Which TWO factors are critical when choosing a model for a RAG architecture that requires high grounding accuracy?
The model's training date.
The model's ability to generate images.
The model's support for citation and source attribution.
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.
The number of parameters in the model.
The context window size of the foundation model.
A larger context window allows more retrieved passages to be supplied to the model, improving the chance that relevant evidence is present during generation. Insufficient context forces truncation of retrieved chunks, which degrades grounding accuracy, so window size directly constrains the RAG scenario's requirement.
A developer is designing a RAG system and wants to ensure high-quality retrieval. Which THREE techniques should be implemented to improve semantic search relevance?
Using a reranking model to score retrieved documents
A reranking model rescores the initial candidate set from vector search, applying a cross-encoder that evaluates query-document pairs jointly rather than comparing independent embeddings. This directly improves semantic relevance by promoting contextually accurate passages, satisfying the stem's requirement for higher-quality retrieval in the RAG pipeline.
Applying semantic chunking based on document structure
Semantic chunking preserves coherent units such as sections and headings, so each embedding represents one complete idea rather than a fragment split mid-topic. This directly satisfies the stem's semantic-relevance constraint: retrieval matches meaning, not arbitrary token windows, lifting recall precision for the RAG pipeline.
Increasing the vector dimension size to maximum
Implementing hybrid search combining keyword and vector search
Hybrid search fuses BM25 keyword matching with dense vector similarity, so exact terms such as product codes or acronyms that embeddings blur are still retrieved. This directly raises semantic search relevance by covering both lexical and meaning-based recall gaps.
Using only fixed-size overlap chunking
A developer wants to choose a foundation model in Amazon Bedrock that offers the best balance of reasoning capability and latency for a customer support chatbot. Which tool should the developer use to evaluate models?
Amazon CloudWatch Metrics for Bedrock.
AWS Glue DataBrew.
Bedrock Model Evaluation jobs.
Bedrock Model Evaluation jobs run automatic and human evaluations against candidate foundation models using your own dataset, producing metrics on accuracy, robustness and latency. This lets the developer compare reasoning capability against latency for the chatbot.
Amazon SageMaker Model Monitor.
An organization is deploying a RAG architecture using Amazon Bedrock and Amazon OpenSearch Serverless. The security team requires that all data remain within the VPC. How should the developer configure the integration?
Configure the Knowledge Base to use an S3 Gateway Endpoint only.
Deploy the Bedrock Knowledge Base using a PrivateLink interface endpoint for Bedrock and a VPC endpoint for OpenSearch Serverless.
PrivateLink interface endpoints for Bedrock and a VPC endpoint for OpenSearch Serverless keep traffic on the AWS private network, so requests never traverse the public internet. This satisfies the constraint that all data remains within the VPC.
Use a NAT Gateway to route all traffic to the Bedrock service.
Use an API Gateway with a WAF to restrict access to the vector store.
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?
Use Amazon Bedrock Knowledge Base metadata filtering during the retrieval phase to apply access controls.
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.
Use Lambda authorizers to filter the retrieved results after they are returned by the model.
Create separate vector indexes for every user role within the Knowledge Base configuration.
Implement fine-grained access control using IAM policies on the S3 bucket containing the source data.
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?
AWS WAF on the Bedrock API endpoint
Amazon Macie on the S3 bucket housing the source data
Amazon Bedrock Guardrails
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.
AWS Glue DataBrew
Want more Foundation Model Integration Data And Compliance practice?
Practice this domainAn application deployed on AWS Lambda is receiving 429 Too Many Requests errors when calling Amazon Bedrock. The developer has verified that account-level quotas have not been reached. What is the most likely cause?
The VPC endpoint policy is blocking traffic to the Bedrock runtime service.
The application is exceeding the tokens-per-minute (TPM) limit for the specific model in that AWS Region.
Exceeding the model-specific tokens-per-minute quota in that Region triggers throttling independently of account-level limits, so 429s appear despite unused account capacity. Bedrock enforces per-model, per-Region TPM and RPM quotas separately, meaning a single high-volume Lambda workload can saturate the model's throughput ceiling while aggregate account usage remains low.
The Lambda function timeout is set too low for the model response time.
The IAM role is missing the bedrock:InvokeModelWithResponseStream permission.
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?
Implement a RAGAS-based evaluation pipeline to measure faithfulness and answer relevance.
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.
Increase the temperature setting to 1.0 to encourage more creative responses.
Use Amazon CloudWatch logs to calculate the latency of every inference call.
Run a standard BLEU score evaluation against the model's training data.
A developer is creating a test suite for an LLM application. Which THREE of the following metrics are commonly used to evaluate RAG system performance?
Answer Relevance
Answer Relevance scores how directly the generated response addresses the user's original question, independent of factual grounding. In a RAG test suite it catches responses that are faithful to retrieved context yet drift off-topic, satisfying the need to evaluate end-to-end answer quality.
Context Precision
Context Precision measures the proportion of retrieved chunks that are genuinely relevant to the question, penalising noise in the ranked results. This isolates the retrieval stage of the RAG pipeline, letting the test suite verify that the retriever surfaces useful passages before generation occurs.
Model Training Loss
Faithfulness
Faithfulness measures whether every claim in the generated answer is actually supported by the retrieved context, directly exposing hallucinations. For a RAG test suite this is essential, since it isolates whether the generation stage stayed grounded in the documents retrieved, independently of retrieval quality.
Inference Latency
A developer is troubleshooting an Amazon Bedrock Agent that is frequently hitting errors. Which TWO of the following steps should be taken to isolate the issue?
Restart the Bedrock service.
Increase the model's temperature to 1.0.
Check CloudWatch Logs for the associated Action Group Lambda functions.
Action Group invocations run in Lambda, so CloudWatch Logs capture the request payloads, errors and timeouts that surface as agent failures. Reviewing these logs isolates whether the fault lies in the Lambda function rather than the agent's orchestration or prompt configuration.
Review the Agent's 'Trace' output to identify the failure point.
Trace output records each orchestration step, prompt, and action-group invocation, so it pinpoints exactly where the Agent fails rather than guessing. This directly isolates the issue, satisfying the stem's requirement to identify the failure point before attempting any fix.
Re-train the underlying base model.
Which THREE of the following are valid components of an Amazon Bedrock Agent test plan?
Validating the reasoning path of the agent.
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.
Verifying the S3 bucket encryption.
Testing the accuracy of tool invocations (Action Groups).
Action Groups expose tools the agent invokes, so testing invocation accuracy confirms the agent selects the correct tool with correctly formed parameters. This satisfies the test plan's requirement to validate tool-use behaviour rather than only natural-language responses.
Measuring model training time.
Ensuring Guardrails are applied to both input and output.
Guardrails must be verified on both the user input and the agent's generated output, since either direction can carry harmful or non-compliant content. Testing both satisfies the plan's coverage of safety controls across the full request-response cycle.
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?
Implement an exponential backoff and jitter retry strategy using the AWS SDK for the Bedrock InvokeModel API call.
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.
Configure the Lambda function to use provisioned concurrency to ensure immediate scaling.
Increase the Lambda function's memory size to improve CPU performance and reduce invocation time.
Switch the model invocation to use the Amazon Bedrock Converse API instead of InvokeModel.
Want more Testing Validation And Troubleshooting practice?
Practice this domainYou 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?
Encrypt the model weights with a CMK
Enable Amazon Inspector on the endpoint
Use a prompt-based filter system that detects malicious intent via a secondary validation model
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.
Disable the API Gateway execute-api method
A developer wants to prevent the Generative AI application from producing content related to hate speech or violence. What is the most efficient configuration in Amazon Bedrock?
Create a custom fine-tuned model
Implement Amazon Bedrock Guardrails with content filters
Bedrock Guardrails content filters evaluate prompts and responses against configurable hate, violence, sexual and insult categories, blocking matching content. This satisfies the requirement centrally at the model invocation layer, without custom prompt engineering or separate moderation infrastructure per application.
Use AWS Config rules to monitor the model
Add a system prompt to the application code
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?
Encrypt the documents with different KMS keys
Create separate Knowledge Bases for every user
Apply IAM policies to the S3 bucket
Use the filters attribute in the Retrieve API call based on document metadata
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.
To ensure compliance with data residency requirements, you must restrict which AWS regions your Generative AI application can process data. What is the most effective way to enforce this?
Service Control Policies (SCPs)
SCPs are AWS Organizations guardrails that deny actions or regions across member accounts, evaluated before IAM policies. Attaching a region-restriction SCP to the relevant OUs enforces data residency at the account boundary, blocking Generative AI workloads from invoking services outside approved regions.
VPC Endpoint policies
IAM policies for all users
CloudFront geographic restrictions
Your organization needs to ensure that only authorized IAM users can access specific foundation models in Bedrock. Which configuration is required?
Attach an IAM policy with bedrock:InvokeModel allowing access to specific model ARNs
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.
Enable AWS Organizations SCPs only
Use Amazon Cognito user pools
Use Resource-Based Policies on the foundation model
A company is using Amazon Bedrock to build a customer support chatbot and needs to ensure that PII is masked before the request reaches the foundation model. Which feature should the developer implement?
AWS KMS with envelope encryption
Amazon Macie
AWS WAF with custom regex rules
Amazon Bedrock Guardrails
Amazon Bedrock Guardrails apply sensitive-information filters that detect and mask PII in prompts before inference, satisfying the requirement that data be redacted prior to reaching the foundation model. Configured via `sensitiveInformationPolicyConfig`, they intercept the request at the service boundary, so the model never receives raw personal data.
Want more AI Safety Security And Governance practice?
Practice this domainWhen using the Amazon Bedrock Converse API, which parameter enables the model to perform tool use by providing a definition of available functions?
inferenceConfig
toolConfig
toolConfig is the correct parameter to define tools.
system
additionalModelRequestFields
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?
Configure Subnets and Security Groups in the Model creation
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.
Set the IAM role to 'AdministratorAccess'
Update the JumpStart model Dockerfile
Enable AWS PrivateLink on the S3 bucket
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?
Knowledge Base
Action Group
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.
OpenAPI Schema
Bedrock Agents require an OpenAPI schema to define the external API's operations, parameters and request/response structures, which the agent uses to construct valid action-group invocations. Without this machine-readable contract, the agent cannot map user intent to the correct API call, so it satisfies the requirement to interact with an external API.
Lambda Function
A Lambda function implements the business logic that Bedrock Agents invokes to call the external API, handling request formatting, authentication and response parsing. Without it, the action group has no executable backend, so the agent cannot complete the API interaction.
Guardrail
When using Bedrock Knowledge Bases, which vector database is integrated natively to support managed RAG workflows?
Amazon OpenSearch Serverless
Amazon OpenSearch Serverless is the vector store natively integrated with Bedrock Knowledge Bases, providing managed vector indexing and similarity search without separate provisioning. This satisfies the managed RAG requirement by removing manual database administration from the retrieval pipeline.
Amazon DynamoDB
Amazon ElastiCache
Amazon RDS for PostgreSQL
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?
Base64 encoded string in the JSON input field
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.
A URL pointing to an S3 object
Multi-part form data
Raw binary stream in the request body
An application uses Amazon Bedrock InvokeModel to generate text. You notice that the output length is consistently truncated. Which parameter should you adjust to ensure the full response is captured?
Increase the max_tokens parameter
max_tokens caps the number of tokens generated in the response; raising it allows longer output before the model stops. Truncation occurs because generation halts at that limit, so increasing the value directly satisfies the requirement to capture the full response.
Increase the temperature parameter
Increase the top_p parameter
Decrease the stop_sequences parameter
Want more Implementation And Integration practice?
Practice this domainYou 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?
SageMaker Serverless Inference
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.
Batch Transform
Real-time inference with provisioned Auto Scaling instances
Asynchronous Inference
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?
SageMaker Cost Explorer
CloudWatch Alarms on billing metrics
AWS Budgets
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.
AWS Cost and Usage Reports
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?
Using spot instances for all endpoints
Configuring Application Auto Scaling with scheduled actions
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.
Deactivating the endpoint manually
Updating the endpoint configuration
An application using Amazon Bedrock is experiencing high latency. You need to monitor the 'ModelInvocationLatency' metric to identify performance bottlenecks. Which AWS service provides the primary integration for this telemetry?
AWS CloudTrail
AWS X-Ray
Amazon CloudWatch
Amazon CloudWatch is the primary telemetry service receiving Bedrock metrics such as ModelInvocationLatency, letting you graph, alarm and analyse them. It satisfies the monitoring requirement without additional agents, since Bedrock publishes these metrics natively to CloudWatch.
Amazon OpenSearch Service
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?
Increasing the number of instances
Switching to a larger instance type
Moving the model to CPU instances
Implementing dynamic batching in your inference handler
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.
Which SageMaker feature allows you to observe model performance drifts over time?
SageMaker Pipelines
SageMaker Data Wrangler
SageMaker Clarify
SageMaker Model Monitor
SageMaker Model Monitor continuously captures endpoint inference data and compares it against a baseline, detecting data drift, model quality degradation and bias shifts. This directly satisfies the requirement to observe model performance drifts over time, unlike one-off evaluation tools that provide only point-in-time metrics.
Want more Operational Efficiency And Optimization practice?
Practice this domainThe AIP-C01 exam has 75 questions and must be completed in 180 minutes. Always confirm current details on the vendor's official exam page.
Scenario-based questions covering exam objectives with detailed answer explanations.
The exam covers 5 domains: Foundation Model Integration Data And Compliance, Testing Validation And Troubleshooting, AI Safety Security And Governance, Implementation And Integration, Operational Efficiency And Optimization. Questions are weighted by domain — higher-weight domains appear more on your actual exam.
No. These are original exam-style practice questions written against the official AWS AIP-C01 exam objectives. They are not copied from the real exam. Courseiva focuses on genuine understanding, not memorisation of braindumps.
Courseiva tracks your accuracy per domain and routes you toward weak areas automatically. Free, no account required.