PracticeCF

AIP Question Bank · Latest 50 Questions Free Preview (Page 5/5)

Questions 41–50 of the latest 50 AIP questions (5 pages total), with answers and explanations, no login required. Practice all 98 questions online.

Question 41 · No. 88 · Single choice

A company is developing a generative AI (GenAI) application by using Amazon Bedrock. The application will analyze patterns and relationships in the company's data. The application will process millions of new data points daily across AWS Regions in Europe, North America, and Asia before storing the data in Amazon S3.\nThe application must comply with local data protection and storage regulations. Data residency and processing must occur within the same continent. The application must also maintain audit trails of the application's decision-making processes and provide data classification capabilities.\nWhich solution will meet these requirements?

Answer: C

Explanation: Option C is the best choice because it addresses all the requirements: (1) Data residency is maintained by pre-processing data within the Region based on geographic origin before sending to Amazon Bedrock, and using Region-specific S3 bucket policies; (2) Amazon Macie is specifically designed for data classification capabilities, which is a key requirement; (3) AWS CloudTrail immutable logs provide the required audit trails for decision-making processes; (4) S3 Object Lock helps with compliance and data protection regulations. Option A fails because cross-Region inference would violate data residency requirements. Option B lacks data classification capabilities. Option D uses SageMaker instead of Bedrock (which is specified in the requirements) and relies on manual reports.
Question 42 · No. 89 · Single choice

An international company is building an AI assistant that uses RAG. The company wants the AI assistant to have near real-time, low-latency performance. The AI assistant must provide service to several geographic areas. The company's customers will use proprietary data with the AI assistant. The proprietary data must not leave the company's immediate geographic area.\nWhich solution will meet these requirements?

Answer: D

Explanation: Option D is the correct answer because it best meets all the requirements. The key requirements are: 1) near real-time, low-latency performance, 2) service to several geographic areas, 3) proprietary data must not leave the company's immediate geographic area. Local Zones are AWS infrastructure placed closer to end users in specific geographic locations. By configuring knowledge bases in S3 Express One Zone within each Local Zone, deploying RDS as vector databases in each Local Zone, and deploying LLMs to EC2 instances in each Local Zone, all data processing and storage stays within the immediate geographic area. This ensures data residency requirements are met while providing low-latency performance due to local processing. Options A, B, and C all involve cross-Region inference profiles, which would potentially route data to different Regions, violating the requirement that proprietary data must not leave the company's immediate geographic area. Option C also incorrectly uses AWS Outposts, which is designed for on-premises deployments rather than multi-Region geographic distribution.
Question 43 · No. 90 · Multiple choice

A company deploys multiple Amazon Bedrock based generative AI (GenAI) applications across multiple business units for customer service, content generation, and document analysis. Some applications show unpredictable token consumption patterns. The company requires a comprehensive observability solution that provides real-time visibility into token usage patterns across multiple models. The observability solution must support custom dashboards for multiple stakeholder groups and provide alerting capabilities for token consumption across all the foundational models that the company's applications use.\nWhich combination of solutions will meet these requirements with the LEAST operational overhead? (Choose two.)

Answer: B, C

Question 44 · No. 91 · Single choice

A company is building a legal research AI assistant that uses Amazon Bedrock with an Anthropic Claude foundation model (FM). The AI assistant must retrieve highly relevant case law documents to augment the FM's responses. The AI assistant must identify semantic relationships between legal concepts, specific legal terminology, and citations. The AI assistant must perform quickly and return precise results.\nWhich solution will meet these requirements?

Answer: B

Explanation: Option B is the best choice because it uses Amazon OpenSearch Service to deploy a hybrid search architecture that combines both vector search and keyword search. This addresses all the requirements: vector search captures semantic relationships between legal concepts, while keyword search handles specific legal terminology and citations. Additionally, applying an Amazon Bedrock reranker model optimizes the relevance of results, ensuring precision. OpenSearch is a managed service that provides fast performance. Option A only uses vector search which may miss exact terminology matches. Option C uses Kendra which is more suited for enterprise search and post-processing can introduce latency. Option D requires custom Lambda functions and RDS for keyword filters, adding complexity and potential latency that would impact the quick performance requirement.
Question 45 · No. 92 · Single choice

A financial services company is creating a Retrieval Augmented Generation (RAG) application that uses Amazon Bedrock to generate summaries of market activities. The application relies on a vector database that stores a small proprietary dataset that has a low index count. The application must perform similarity searches. The Amazon Bedrock model's responses must maximize accuracy and maintain high performance.\nThe company needs to configure the vector database and integrate it with the application.\nWhich solution will meet these requirements?

Answer: A

Explanation: Option A is the best choice because: (1) Amazon MemoryDB supports vector similarity search natively with both FLAT and HNSW algorithms. (2) The FLAT algorithm performs exhaustive brute-force search, providing maximum accuracy (100% recall) for similarity searches. (3) Since the dataset is small with a low index count, the performance impact of exhaustive search is negligible, satisfying the high-performance requirement. (4) Horizontal scaling policy allows the cluster to scale out as the workload grows, maintaining performance. Option B uses HNSW which is approximate (slightly less accurate than FLAT), and vertical scaling has limitations. Options C and D use IVFFlat which requires training data and is not as accurate as FLAT; additionally, Aurora PostgreSQL and DocumentDB are not natively optimized for vector search compared to MemoryDB.
Question 46 · No. 93 · Single choice

A company is developing a generative AI (GenAI) application that uses Amazon Bedrock foundation models (FMs). The application has several custom tool integrations. The application has experienced unexpected token consumption surges despite consistent user traffic.\nThe company needs a solution that uses Amazon Bedrock model invocation logging to monitor InputTokenCount metrics and OutputTokenCount metrics. The solution must detect unusual patterns in tool usage and identify which specific tool integrations cause abnormal token consumption. The solution must also automatically adjust thresholds as traffic patterns change.\nWhich solution will meet these requirements?

Answer: C

Explanation: Option C is the correct choice because it uses CloudWatch Logs to capture model invocation logs, creates metric filters to extract tool-specific invocation patterns, and applies CloudWatch anomaly detection alarms that automatically adjust baselines for each tool's metrics. This directly addresses all requirements: monitoring InputTokenCount and OutputTokenCount metrics, detecting unusual patterns in tool usage, identifying specific tool integrations causing abnormal token consumption, and automatically adjusting thresholds as traffic patterns change. Option A uses static thresholds that don't adapt to changing patterns. Option B relies on scheduled Athena queries which don't provide real-time anomaly detection or automatic threshold adjustment. Option D requires manual threshold updates, which doesn't meet the automatic adjustment requirement.
Question 47 · No. 94 · Single choice

A company is planning to deploy multiple generative AI (GenAI) applications to five independent business units that operate in multiple countries in Europe and the Americas. Each application uses Amazon Bedrock Retrieval Augmented Generation (RAG) patterns with business unit-specific knowledge bases that store terabytes of unstructured data.\nThe company must establish well-architected, standardized components for security controls, observability practices, and deployment patterns across all the GenAI applications. The components must be reusable, versioned, and governed consistently.\nWhich solution will meet these requirements?

Answer: B

Explanation: Option B best meets all the requirements. It provides standardized AWS CloudFormation templates for implementing security, observability, and RAG patterns based on the AWS Well-Architected Generative AI Lens. The centralized repository enables version control, making components reusable and versioned. The CI/CD pipeline integrated with CloudFormation Guard ensures consistent and repeatable deployments across all business units, providing proactive governance rather than reactive validation. Option A only validates after deployment (reactive), Option C requires manual console-based deployment which doesn't scale well for multiple business units and CI/CD automation, and Option D uses Amazon Macie (which is for data security/classification) and delegates implementation, which lacks consistency and standardization.
Question 48 · No. 95 · Single choice

A company uses AWS Lambda functions to build an AI agent solution. A GenAI developer must set up a Model Context Protocol (MCP) server that accesses user information. The GenAI developer must also configure the AI agent to use the new MCP server. The GenAI developer must ensure that only authorized users can access the MCP server.\nWhich solution will meet these requirements?

Answer: C

Explanation: Option C is the correct solution because it addresses all three requirements: (1) It uses a Lambda function to host the MCP server, which is appropriate for serverless architectures; (2) It uses an API Gateway HTTP API with the Streamable HTTP transport, which is the standard transport protocol for remote MCP servers and allows the AI agent to communicate with the MCP server over HTTP; (3) Most importantly, it uses Amazon Cognito to enforce OAuth 2.1, which ensures that only authorized users can access the MCP server. Options A and B fail to address the authorization requirement, and STDIO transport (used in B and D) is only suitable for local processes, not for remote serverless deployments. Option D incorrectly suggests using a Lambda layer to host a server, but Lambda layers are simply code libraries/dependencies, not executable servers.
Question 49 · No. 96 · Single choice

A company has a recommendation system. The system's applications run on Amazon EC2 instances. The applications make API calls to Amazon Bedrock foundation models (FMs) to analyze customer behavior and generate personalized product recommendations.\nThe system is experiencing intermittent issues. Some recommendations do not match customer preferences. The company needs an observability solution to monitor operational metrics and detect patterns of operational performance degradation compared to established baselines. The solution must also generate alerts with correlation data within 10 minutes when FM behavior deviates from expected patterns.\nWhich solution will meet these requirements?

Answer: C

Explanation: Option C is the correct choice because it directly addresses all the requirements stated in the question. CloudWatch Application Insights is specifically designed to monitor application resources and provides automated dashboards and insights. The custom metrics with dimensions for request types and user segments enable correlation data analysis, which is required for understanding operational performance. Most importantly, CloudWatch anomaly detection is purpose-built to detect deviations from established baselines, which directly matches the requirement of detecting patterns of operational performance degradation. Additionally, CloudWatch Logs Insights provides log pattern analysis capabilities. This solution can generate alerts within the 10-minute timeframe when FM behavior deviates from expected patterns. Options A and B don't focus on detecting deviations from baselines, while Option D uses a more complex setup that may not reliably meet the 10-minute alert requirement.
Question 50 · No. 97 · Single choice

A financial services company is building a fraud detection system by using Amazon Bedrock. The system will monitor activity in multiple stock trading applications that run in the United States and Europe. The system must process 1,000 transactions every second with sub-500 ms response times. The system must also maintain high availability during connectivity disruptions. The company must ensure that data for European customers is processed only in AWS Regions that are based in Europe. Which solution will meet these requirements?

Answer: A

Explanation: Option A is the correct choice because it addresses all requirements: (1) It uses a global inference profile to enable cross-Region routing, (2) It creates a dedicated European inference profile with Geographic cross-Region inference specifically for European applications, which ensures data sovereignty by keeping European customer data within European AWS Regions, (3) It uses Route 53 health checks for automated failover during connectivity disruptions to maintain high availability, and (4) CloudWatch alarms provide monitoring. Option D fails because cross-Region failover mechanisms could route European traffic to non-European Regions, violating data sovereignty. Option B doesn't specifically address data sovereignty. Option C uses IAM roles which only control permissions, not data residency, and uses on-demand throughput which cannot guarantee sub-500ms response times at 1,000 TPS, plus ResponseStream adds unnecessary latency for fraud detection.
Prev 12345