PracticeCF

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

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

Question 21 · No. 68 · Single choice

A financial services company is developing a generative AI (GenAI) application that serves both premium customers and standard customers. The application uses AWS Lambda functions behind an Amazon API Gateway REST API to process requests. The company needs to dynamically switch between AI models based on which customer tier each user belongs to. The company also wants to perform A/B testing for new features without redeploying code. The company needs to validate model parameters like temperature and maximum token limits before applying changes. Which solution will meet these requirements with the LEAST operational overhead?

Answer: C

Explanation: AWS AppConfig is purpose-built for managing feature flags and dynamic configurations, which directly addresses all the requirements. It supports A/B testing through feature flags, provides JSON schema validation for model parameters like temperature and max tokens, and allows Lambda functions to retrieve configurations dynamically via the AppConfig Agent without redeployment. This eliminates polling overhead (Option A), avoids per-request database queries (Option B), and removes the need to manage additional infrastructure like Redis clusters with custom validation logic (Option D). Therefore, Option C delivers the least operational overhead while meeting all stated requirements.
Question 22 · No. 69 · Single choice

A GenAI developer is building a Retrieval Augmented Generation (RAG)-based customer support application that uses Amazon Bedrock foundation models (FMs). The application needs to process 50 GB of historical customer conversations that are stored in an Amazon S3 bucket as JSON files. The application must use the processed data as its retrieval corpus. The application's data processing workflow must extract relevant data from customer support documents, remove customer personally identifiable information (PII), and generate embeddings for vector storage. The processing workflow must be cost-effective and must finish within 4 hours. Which solution will meet these requirements with the LEAST operational overhead?

Answer: D

Explanation: Option D is the best choice because it uses a fully serverless architecture (AWS Step Functions, Amazon Comprehend, Amazon Bedrock, and Amazon OpenSearch Serverless), which requires no infrastructure management. Step Functions orchestrates the workflow, Amazon Comprehend handles PII detection, Amazon Bedrock generates embeddings, and OpenSearch Serverless provides vector storage with built-in similarity search. This approach has the least operational overhead compared to options that require managing Lambda concurrency, Glue/SageMaker coordination, or EMR clusters. It is also cost-effective with pay-per-use pricing and can scale to process 50GB of data within the 4-hour window.
Question 23 · No. 70 · Single choice

A company is using Amazon Bedrock to develop an AI-powered application that uses a foundation model (FM) that supports cross-Region inference and provisioned throughput. The application must serve users in Europe and North America with consistently low latency. The application must comply with data residency regulations that require European user data to remain within Europe-based AWS Regions. During testing, the application experiences service degradation when Regional traffic spikes reach service quotas. The company needs a solution that maintains application resilience and minimizes operational complexity. Which solution will meet these requirements?

Answer: B

Explanation: Option B is the best solution because it leverages Amazon Bedrock's native cross-Region inference profiles feature, which automatically distributes inference requests across multiple Regions to handle traffic spikes without requiring custom code. By specifying geographical codes (e.g., 'us' or 'eu') in the profile IDs, the company ensures that European user data stays within European AWS Regions, complying with data residency regulations. The separate API Gateway HTTP APIs direct users to the appropriate Regional endpoints based on their location, providing low latency. This approach minimizes operational complexity compared to the other options, which require custom routing layers (A), Lambda-based retry logic (C), or custom failover logic with provisioned throughput (D).
Question 24 · No. 71 · Single choice

A financial services company needs to pre-process unstructured data such as customer transcripts, financial reports, and documentation. The company stores the unstructured data in Amazon S3 to support an Amazon Bedrock application. The company must validate data quality, create auditable metadata, monitor data metrics, and customize text chunking to optimize foundation model (FM) performance. Which solution will meet these requirements with the LEAST development effort?

Answer: B

Explanation: Option B is the best choice for meeting the requirements with the least development effort. AWS Glue crawler automatically catalogs data sources and creates auditable metadata. AWS Glue Data Quality is a managed service specifically designed to validate and monitor data quality without requiring extensive custom code. AWS Glue ETL jobs can run custom transformation scripts for text chunking optimization. This integrated solution provides all required capabilities (data quality validation, auditable metadata, data metrics monitoring, and custom text chunking) while minimizing custom development work. The other options either require more development effort (Lambda functions, EC2 custom code) or use services not optimized for the requirements (CloudWatch for data quality, SageMaker Model Monitor for ML models, Athena for quality validation).
Question 25 · No. 72 · Single choice

A company is building a generative AI (GenAI) application that produces content based on a variety of internal and external data sources. The company wants to ensure that the generated output is fully traceable. The application must support data source registration and enable metadata tagging to attribute content to its original source. The application must also maintain audit logs of data access and usage throughout the pipeline. Which solution will meet these requirements?

Answer: D

Explanation: Option D is the best solution because it addresses all three requirements comprehensively: (1) AWS Glue Data Catalog is specifically designed for registering and cataloging data sources, (2) Metadata tags applied through the Glue Data Catalog enable proper attribution of generated content to its original source, which is critical for traceability in a GenAI application, and (3) AWS CloudTrail provides comprehensive audit logging across multiple AWS services throughout the entire data pipeline. Option A uses Lake Formation which is more focused on data lake access control rather than content attribution. Option B uses CloudWatch Logs which is better suited for application-level monitoring rather than comprehensive audit trails across services. Option C is fragmented - it separates schema management and tagging into different services and only logs S3 access rather than the entire pipeline activity.
Question 26 · No. 73 · Single choice

An ecommerce company is developing a generative AI (GenAI) solution that uses Amazon Bedrock with Anthropic Claude to recommend products to customers. Customers report that some of the recommended products are not available for sale on the website or are not relevant to the customer. Customers also report that the solutions takes a long time to generate some recommendations. The company investigates the issues and finds that most interactions between customers and the product recommendation solution are unique. The company confirms that the solutions recommends products that are not in the company's product catalog. The company must resolve these issues. Which solution will meet this requirement?

Answer: C

Explanation: The best solution is C because it addresses all three issues: (1) Creating an Amazon Bedrock knowledge base and implementing Retrieval Augmented Generation (RAG) ensures the model retrieves actual product information from the company's catalog, directly solving the problem of recommending products not available for sale or not relevant. (2) Setting the PerformanceConfigLatency parameter to optimized helps reduce the latency issue. Option A is incorrect because Automated Reasoning checks are designed for logical verification, not product catalog validation. Option B is insufficient because prompt engineering alone cannot reliably restrict the model to only existing products, and streaming only reduces perceived latency, not actual generation time. Option D is less ideal because caching with DynamoDB won't help when most interactions are unique (as stated in the problem), and validating after generation is less efficient than using RAG to ground the responses from the start.
Question 27 · No. 74 · Single choice

A healthcare company is using Amazon Bedrock to develop a real-time patient care AI assistant to respond to queries for separate departments that handle clinical inquiries, insurance verification, appointment scheduling, and insurance claims. The company wants to use a multi-agent architecture. The company must ensure that the AI assistant is scalable and can onboard new features for patients. The AI assistant must be able to handle thousands of parallel patient interactions. The company must ensure that patients receive appropriate domain-specific responses to queries. Which solution will meet these requirements?

Answer: A

Explanation: Option A best meets all the requirements. It uses a multi-agent architecture with a supervisor agent that performs intent classification and routes queries to specialized collaborator agents. Each collaborator agent uses RAG with its own department-specific knowledge base, ensuring domain-specific responses. The data isolation through separate knowledge bases with IAM filtering provides security and scalability. This modular design allows easy onboarding of new features/departments by adding new collaborator agents without disrupting existing ones, and the distributed agent architecture can handle thousands of parallel interactions efficiently.
Question 28 · No. 75 · Single choice

A financial technology company is using Amazon Bedrock to build an assessment system for the company's customer service AI assistant. The AI assistant must provide financial recommendations that are factually accurate, compliant with financial regulations, and conversationally appropriate. The company needs to combine automated quality evaluations at scale with targeted human reviews of critical interactions. What solution will meet these requirements?

Answer: B

Explanation: Option B is the correct answer because it directly addresses all the stated requirements. The company needs to combine automated quality evaluations at scale with targeted human reviews of critical interactions while using Amazon Bedrock. Option B uses Amazon Bedrock evaluations with Anthropic Claude Sonnet as a judge model to perform automated quality evaluations at scale for accuracy and appropriateness. It uses custom Amazon Bedrock guardrails to check compliance with financial policies (financial regulations). And it uses Amazon A2I for targeted human reviews of critical interactions that are flagged. This combination perfectly matches the requirements. Option A fails because manual scoring of all responses does not scale. Option C uses Amazon Lex instead of Amazon Bedrock evaluations and a static compliance database which is limited. Option D uses CloudWatch for monitoring rather than proactive AI-based evaluation and lacks automated quality evaluation at scale.
Question 29 · No. 76 · Multiple choice

An ecommerce company is building an internal platform to develop generative AI applications by using Amazon Bedrock foundation models (FMs). Developers need to select models based on evaluations that are aligned to ecommerce use cases. The platform must display accuracy metrics for text generation and summarization in dashboards. The company has custom ecommerce datasets to use as standardized evaluation inputs. Which combination of steps will meet these requirements with the LEAST operational overhead? (Choose two.)

Answer: A, C

Explanation: Option A uses Amazon S3 with IAM and CORS permissions, which is the simplest and least operationally complex way to provide Bedrock evaluation jobs access to the custom ecommerce datasets. CORS is required for Bedrock to access the S3 datasets during evaluation. Option C leverages Amazon Bedrock's native model evaluation jobs feature with appropriate accuracy metrics: Real World Knowledge (RWK) score for text generation and BERT Score for summarization—both are suitable metrics for measuring accuracy in these use cases. Using Lambda functions to schedule jobs and check status, combined with CloudWatch Logs Insights dashboards, minimizes operational overhead by using managed services and built-in integrations. Option B adds unnecessary VPC endpoint configuration complexity. Options D and E use inappropriate metrics (word error rate for text generation and toxicity for summarization are not accuracy metrics) and require more operational overhead through custom code, SageMaker jobs, or notebook management.
Question 30 · No. 77 · Single choice

A healthcare company is using Amazon Bedrock to build a Retrieval Augmented Generation (RAG) application that helps practitioners make clinical decisions. The application must achieve high accuracy for patient information retrievals, identify hallucinations in generated content, and reduce human review costs. Which solution will meet these requirements?

Answer: D

Explanation: Option D is the best solution because it addresses all three requirements comprehensively: (1) High accuracy for patient information retrievals is achieved through the combination of automated LLM-as-a-judge evaluation and targeted human reviews for edge cases, ensuring both broad coverage and quality assurance. (2) Identifying hallucinations is directly handled by using the built-in Amazon Bedrock evaluation to track hallucination rates. (3) Reducing human review costs is achieved through the hybrid approach where automated evaluation initially screens responses, and human reviewers only need to focus on edge cases, significantly reducing the workload. Additionally, SageMaker Feature Store helps maintain and manage evaluation datasets efficiently.
Prev 12345 Next