Pre-Winter Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

A company is building a custom agentic application. The company must have fine-grained control over the agent orchestration loop. The application must implement custom logic to select tools, handle multi-turn conversations that involve complex state management, integrate with proprietary logging systems, and implement custom retry strategies for tool failures.

The company wants to use Amazon Bedrock FMs but must have full control over the orchestration logic. The company has expertise in building orchestration logic but wants to use AWS infrastructure to manage model inference and tool execution.

Which solution will meet these requirements?

A.

Use Amazon Bedrock AgentCore Runtime to deploy the application agents. Use AgentCore Gateway to integrate the application with tools. Use AgentCore Memory to manage conversation states. Use AgentCore Policy to handle tool selection and retry logic.

B.

Use Amazon Bedrock AgentCore to build a custom orchestration layer that controls the agent orchestration loop, tool invocation, and state management. Use Amazon Bedrock to manage model inference.

C.

Use Amazon Bedrock AgentCore built-in memory and session management capabilities to persist conversation state. Configure the managed tool execution runtime to automatically handle tool failures and retries.

D.

Use AWS Step Functions to orchestrate multiple calls to Amazon Bedrock AgentCore Runtime endpoints. Implement custom state management and retry logic between individual agent invocations.

A healthcare company is developing a generative AI (GenAI) application that recommends patient treatment plans to physicians. The company wants to use Amazon Bedrock to build the application.

The application must document model limitations, prevent unauthorized clinical recommendations, and maintain detailed audit trails of all AI-generated outputs. The company must store outputs in compliance with healthcare regulations. The solution must prevent output tampering.

Which solution will meet these requirements?

A.

Use model cards to document FM limitations. Implement Amazon Bedrock Guardrails with healthcare compliance policies. Store all AI-generated outputs in Amazon S3. Enable S3 Object Lock.

B.

Use Amazon CloudWatch to monitor and log AI-generated outputs. Configure a postprocessing AWS Lambda function to scan outputs for compliance violations. Store the outputs in Amazon S3. Enable S3 Object Lock.

C.

Use model cards to document FM limitations. Implement Amazon Bedrock Guardrails to filter all AI-generated outputs against healthcare regulations. Store the outputs in Amazon S3. Use Amazon QuickSight dashboards to analyze compliance metrics.

D.

Implement Amazon Bedrock with custom prompt templates that include compliance instructions. Use Amazon DynamoDB to store all AI-generated outputs. Create Amazon CloudWatch alarms that trigger when potential noncompliant outputs are detected.

A company has deployed an AI assistant as a React application that uses AWS Amplify, an AWS AppSync GraphQL API, and Amazon Bedrock Knowledge Bases. The application uses the GraphQL API to call the Amazon Bedrock RetrieveAndGenerate API for knowledge base interactions. The company configures an AWS Lambda resolver to use the RequestResponse invocation type.

Application users report frequent timeouts and slow response times. Users report these problems more frequently for complex questions that require longer processing.

The company needs a solution to fix these performance issues and enhance the user experience.

Which solution will meet these requirements?

A.

Use AWS Amplify AI Kit to implement streaming responses from the GraphQL API and to optimize client-side rendering.

B.

Increase the timeout value of the Lambda resolver. Implement retry logic with exponential backoff.

C.

Update the application to send an API request to an Amazon SQS queue. Update the AWS AppSync resolver to poll and process the queue.

D.

Change the RetrieveAndGenerate API to the InvokeModelWithResponseStream API. Update the application to use an Amazon API Gateway WebSocket API to support the streaming response.

A logistics company is using Amazon Bedrock to build an autonomous routing agent that coordinates with APIs that support warehouse, shipping, and international customs operations. The agent must meet the following requirements:

• Break requests into reasoning steps.

• Retry failed tool calls with backoff.

• Stop retrying after three consecutive failures.

• Require human approval for shipments that are valued over $100,000.

• Use MCP to provide access to tools and new integrations without requiring code changes.

Which combination of solutions will meet these requirements? (Select THREE.)

A.

Use Amazon Bedrock AgentCore Gateway to convert the warehouse, shipping, and customs APIs into MCP-compatible tools.

B.

Use Task states in AWS Step Functions to orchestrate each reasoning step. Use retry configurations with exponential backoff to handle tool failures.

C.

Use a Choice state to route high-value shipments to a human approval workflow.

D.

Use Amazon Bedrock AgentCore with action groups for each API. Configure the agent ' s orchestration prompt to implement retry logic and human approval conditions.

E.

Use AWS Lambda functions that use MCP client libraries to invoke tools. Implement custom retry logic and circuit breaker patterns in Lambda function code.

F.

Use Amazon Bedrock Guardrails to block tool invocations for shipments that exceed the $100,000 threshold until a human approves the shipment through a separate workflow.

G.

Use Amazon API Gateway with AWS Lambda authorizers to validate tool requests and implement rate limiting. Implement custom retry logic with exponential backoff and a circuit breaker that halts retries after three consecutive failures.

A healthcare company creates a custom foundation model (FM) that uses a proprietary architecture to summarize and answer questions about sensitive patient records and conversations. To comply with regulations, the company must ensure confidentiality by implementing extensive monitoring and controls. The company must verify the accuracy of the FM by checking prompts and responses for hallucinations.

Which solution will meet these requirements?

A.

Use the Custom Model Import feature in Amazon Bedrock to import the FM. Configure Amazon Bedrock guardrails that apply content filters with high thresholds for grounding and relevance.

B.

Use Amazon SageMaker Serverless Inference to host the model. Configure Amazon Bedrock guardrails that apply contextual grounding checks with high thresholds for grounding and relevance. Use custom application code that routes prompts and responses through the guardrails.

C.

Use Amazon SageMaker JumpStart to import the FM to Amazon Bedrock. Configure Amazon Bedrock guardrails that apply content filters with high thresholds for grounding and relevance.

D.

Use the Custom Model Import feature in Amazon Bedrock to import the FM. Configure AWS HealthScribe to apply contextual grounding check rules to comply with regulatory requirements.

A company is using Amazon Bedrock to build an AI assistant to help internal teams analyze unstructured customer feedback data. The company stores the customer feedback in an Amazon S3 bucket. The S3 bucket contains more than 25 TB of historical data from mobile app reviews, chat conversations, and call center transcripts. The company expects the data source to grow by 3 GB every day. The data entries often contain multiple unrelated topics within the same input.

The company needs a solution that reliably delivers accurate answers to questions based on the data source. The solution must not export any personally identifiable information (PII) to the Amazon Bedrock model during processing or response generation.

Which solution will meet these requirements with the LEAST operational overhead?

A.

Configure an AWS Lambda function that processes each new file in the S3 bucket to detect and remove PII by using Amazon Comprehend. Configure the function to generate fixed-size chunk embeddings and store them in an Amazon OpenSearch Serverless vector store. Configure a second Lambda function to process questions, retrieve context, and invoke an Amazon Bedrock foundation model directly to generate answers.

B.

Configure an Amazon Bedrock knowledge base that synchronizes with the S3 bucket by using fixed-size chunking. Configure the knowledge base to use an Amazon Aurora PostgreSQL vector store. Configure an Amazon Bedrock guardrail to block all types of PII during input and output processing. Configure Amazon Bedrock AgentCore to use the knowledge base and the guardrail to process and answer queries.

C.

Configure an Amazon Bedrock knowledge base that synchronizes with the S3 bucket by using semantic chunking. Configure the knowledge base to use an Amazon OpenSearch Serverless vector store. Configure an Amazon Bedrock guardrail to block all types of PII during input and output processing. Configure Amazon Bedrock AgentCore to use the knowledge base and the guardrail to process and answer queries.

D.

Configure an Amazon Bedrock knowledge base that synchronizes with the S3 bucket by using semantic chunking. Configure the knowledge base to use an Amazon Aurora PostgreSQL vector store. Configure an Amazon Bedrock guardrail to block all types of PII during input and output processing. Configure Amazon Bedrock AgentCore to use the knowledge base and the guardrail to process and answer queries.

A company is designing an API for a generative AI (GenAI) application that uses a foundation model (FM) that is hosted on a managed model service. The API must stream responses to reduce latency, enforce token limits to manage compute resource usage, and implement retry logic to handle model timeouts and partial responses.

Which solution will meet these requirements with the LEAST operational overhead?

A.

Integrate an Amazon API Gateway HTTP API with an AWS Lambda function to invoke Amazon Bedrock. Use Lambda response streaming to stream responses. Enforce token limits within the Lambda function. Implement retry logic for model timeouts by using Lambda and API Gateway timeout configurations.

B.

Connect an Amazon API Gateway HTTP API directly to Amazon Bedrock. Simulate streaming by using client-side polling. Enforce token limits on the frontend. Configure retry behavior by using API Gateway integration settings.

C.

Connect an Amazon API Gateway WebSocket API to an Amazon ECS service that hosts a containerized inference server. Stream responses by using the WebSocket protocol. Enforce token limits within Amazon ECS. Handle model timeouts by using ECS task lifecycle hooks and restart policies.

D.

Integrate an Amazon API Gateway REST API with an AWS Lambda function that invokes Amazon Bedrock. Use Lambda response streaming to stream responses. Enforce token limits within the Lambda function. Implement retry logic by using Lambda and API Gateway timeout configurations.

A media company must use Amazon Bedrock to implement a robust governance process for AI-generated content. The company needs to manage hundreds of prompt templates. Multiple teams use the templates across multiple AWS Regions to generate content. The solution must provide version control with approval workflows that include notifications for pending reviews. The solution must also provide detailed audit trails that document prompt activities and consistent prompt parameterization to enforce quality standards.

Which solution will meet these requirements?

A.

Configure Amazon Bedrock Studio prompt templates. Use Amazon CloudWatch dashboards to display prompt usage metrics. Store approval status in Amazon DynamoDB. Use AWS Lambda functions to enforce approvals.

B.

Use Amazon Bedrock Prompt Management to implement version control. Configure AWS CloudTrail for audit logging. Use AWS Identity and Access Management policies to control approval permissions. Create parameterized prompt templates by specifying variables.

C.

Use AWS Step Functions to create an approval workflow. Store prompts in Amazon S3. Use tags to implement version control. Use Amazon EventBridge to send notifications.

D.

Deploy Amazon SageMaker Canvas with prompt templates stored in Amazon S3. Use AWS CloudFormation for version control. Use AWS Config to enforce approval policies.

A retail company runs an application that makes product recommendations to customers on the company’s website. The application uses Amazon Bedrock to generate recommendations by dynamically constructing prompts and sending them to foundation models (FMs).

A GenAI developer has deployed an update to the application that instructs the FM to include a specific promotional message when the FM generates a response to prompts. When the developer tests the application, the promotional message does not always appear in the responses. When the promotional message does appear, it does not always flow with the rest of the text.

The GenAI developer must ensure that the promotional message always appears in the FM responses.

Which solution will meet this requirement?

A.

Use an Amazon Bedrock Guardrails filter on the prompt. Set the input filter strength to HIGH.

B.

Generate multiple response variants that include the promotional message in different ways. Use a reranker model to select the most coherent version based on relevance to the original prompt.

C.

Run the prompt through Amazon Bedrock. Process the response through Amazon Bedrock AgentCore to add the promotional message. Rerank the results by using the original prompt and the desired message as context.

D.

Reinforce the requirement to include the new promotional message within product recommendations by using an output indicator in prompts to the FM.

An ecommerce company operates a global product recommendation system that needs to switch between multiple foundation models (FMs) in Amazon Bedrock based on regulations, cost optimization, and performance requirements. The company must apply custom controls based on proprietary business logic, including dynamic cost thresholds, AWS Region-specific compliance rules, and real-time A/B testing across multiple FMs. The system must be able to switch between FMs without deploying new code. The system must route user requests based on complex rules including user tier, transaction value, regulatory zone, and real-time cost metrics that change hourly and require immediate propagation across thousands of concurrent requests.

Which solution will meet these requirements?

A.

Deploy an AWS Lambda function that uses environment variables to store routing rules and Amazon Bedrock FM IDs. Use the Lambda console to update the environment variables when business requirements change. Configure an Amazon API Gateway REST API to read request parameters to make routing decisions.

B.

Deploy Amazon API Gateway REST API request transformation templates to implement routing logic based on request attributes. Store Amazon Bedrock FM endpoints as REST API stage variables. Update the variables when the system switches between models.

C.

Configure an AWS Lambda function to fetch routing configuration from the AWS AppConfig Agent for each user request. Run business logic in the Lambda function to select the appropriate FM for each request. Expose the FM through a single Amazon API Gateway REST API endpoint.

D.

Use AWS Lambda authorizers for an Amazon API Gateway REST API to evaluate routing rules that are stored in AWS AppConfig. Return authorization contexts based on business logic. Route requests to model-specific Lambda functions for each Amazon Bedrock FM.