Operational Efficiency and Optimization for GenAI Applications
Drill 20 practice questions focused entirely on Operational Efficiency and Optimization for GenAI Applications for the AWS AIP-C01 exam. Tap an answer for instant feedback and a full explanation — no sign-up, always free.
A GenAI team runs a customer-facing summarization service on Amazon Bedrock using Anthropic Claude on-demand throughput in us-east-1. During peak business hours, they consistently hit the per-region invocation-per-minute quota and receive ThrottlingExceptions, even though the same model is available with unused capacity in us-west-2 and eu-west-1. The team wants to increase effective throughput and reduce throttling without provisioning dedicated capacity, while still being able to track cost per environment. What is the most appropriate solution?
A media analytics company runs a nightly job that summarizes approximately 500,000 news articles collected during the day. The results are consumed by an internal dashboard the next morning, so there is no real-time requirement — the only constraint is that all summaries must be ready before 7:00 AM. The team currently sends each article through on-demand InvokeModel calls in a tightly parallelized loop, but they are hitting frequent ThrottlingExceptions and their monthly Bedrock bill has become the largest line item in their AWS spend. Which approach best reduces cost while eliminating throttling for this workload?
A GenAI team runs a customer-facing summarization service on Amazon Bedrock using Anthropic Claude on-demand throughput in us-east-1. During regional promotional events, request volume spikes 4x for a few hours, and the team begins receiving ThrottlingExceptions because they exceed the on-demand requests-per-minute quota in that single region. The workload has no data residency restrictions, and the team wants to absorb these bursts without committing to a fixed hourly cost or re-architecting their application code. What is the MOST cost-effective way to increase available throughput during these spikes?
A media company runs a document summarization service on Amazon Bedrock using Claude on-demand throughput in us-east-1. During peak evening hours, the service processes bursts of user requests and increasingly receives ThrottlingException errors, causing dropped summaries. The workload is latency-sensitive (users wait for results interactively) and cannot tolerate the multi-hour delay of asynchronous processing. Traffic is unpredictable and spiky, so committing to a fixed hourly rate is undesirable. The team wants to increase available throughput headroom with minimal architectural change. Which approach BEST addresses the throttling while fitting the workload's constraints?
A retail company runs a customer-facing product recommendation feature on Amazon Bedrock using Anthropic Claude models via on-demand throughput. During a flash sale, traffic to the recommendation service spikes 5x for roughly 3 hours, and users begin receiving ThrottlingException errors even though the average daily volume is well within the account's default quotas. The team wants to absorb these short, unpredictable bursts without committing to a fixed hourly cost and with minimal code changes. Which approach best meets these requirements?
A data engineering team needs to generate embeddings for a one-time backfill of 40 million product descriptions using Amazon Bedrock's Titan Text Embeddings model. The job has no strict deadline and can run over several days. During an initial test using synchronous InvokeModel calls from a fleet of Lambda functions, the team hits frequent ThrottlingException errors and their per-embedding cost is higher than expected due to Lambda invocation overhead and idle wait time. Which approach best optimizes cost for this workload?
A team hosts a fine-tuned open-weights LLM on an Amazon SageMaker real-time endpoint using inference components. Traffic follows a strong business-hours pattern: heavy load from 8 AM to 6 PM on weekdays and essentially zero traffic overnight and on weekends. During peak hours, occasional bursts cause 60-second cold-start-like delays as new model copies load. Leadership wants to eliminate idle GPU cost during off-hours while keeping burst latency acceptable during business hours. Which approach best meets both goals?
A media company runs a single Bedrock generative AI application on Anthropic Claude that serves three internal business units (News, Sports, Entertainment). Finance requires monthly cost breakdowns per business unit so each team can be charged back accurately. The application already uses on-demand invocation and the team wants a solution that provides granular per-business-unit spend visibility in AWS Cost Explorer with minimal code changes. Which approach best meets this requirement?
A financial services company runs a customer-facing chat assistant on Amazon Bedrock using Anthropic Claude. During market hours, users complain that responses feel sluggish, and the product team wants to reduce time-to-first-token and overall response latency for interactive turns. The engineering team already uses streaming. They are willing to accept a higher per-token cost in exchange for faster inference, but they must not change the model family or introduce a separate fine-tuned model. Which approach best meets these requirements with the least operational overhead?
A media company runs a real-time content moderation service on Amazon Bedrock using Anthropic Claude. During peak evening hours, US traffic triples and the team observes rising ThrottlingExceptions even though their aggregate token volume across all regions is well below what a single region's on-demand quota could theoretically absorb if spread out. Their current setup invokes the model directly using a foundation model ID pinned to us-east-1. The team wants to increase effective throughput and reduce throttling WITHOUT requesting quota increases or committing to Provisioned Throughput. What is the MOST appropriate change?
A financial services company runs a real-time customer-facing chat assistant on Amazon Bedrock using a large Anthropic Claude model. Users complain that first-token and total response times are too slow during interactive sessions. The team has already enabled response streaming, but perceived latency for the initial reasoning steps remains high. They want to reduce inference latency for this specific interactive workload without changing the model family or degrading output quality, and they are willing to accept a higher per-token price for the faster path. Which approach best meets these requirements?
A media analytics company runs nightly sentiment classification over 40 million historical social-media posts using Amazon Bedrock batch inference. Each dataset is split into multiple input files in S3, and the team submits several batch jobs at once. They notice that although they submit 12 jobs simultaneously, only a few move to the 'InProgress' state while the rest sit in 'Submitted' or 'Validating' for hours, causing the overall pipeline to miss its morning deadline. On-demand and provisioned throughput are not being used for this workload. What is the MOST likely cause and the correct remediation?
A media company runs two distinct Bedrock workloads. Workload 1 generates SEO metadata for a backlog of 4 million archived articles that must all complete within 48 hours, with no user waiting on individual results. Workload 2 is an interactive editorial assistant where writers expect responses within a couple of seconds. The team wants to minimize total cost across both workloads while meeting each workload's requirements. Which combination of Bedrock inference approaches should they adopt?
A customer support SaaS company routes all incoming tickets through a single large foundation model on Amazon Bedrock. Analysis shows that roughly 70% of tickets are simple FAQ-style questions that a smaller, cheaper model answers correctly, while 30% are complex, multi-issue cases that require the large model's reasoning quality. The team wants to cut inference costs significantly without degrading answer quality on the complex cases. Which approach BEST achieves this goal?
A media company runs a real-time summarization service on Amazon Bedrock using Anthropic Claude on-demand invocation in us-east-1. During a live event, request volume spiked to roughly 3x the normal peak, and the application began receiving frequent ThrottlingException errors even after implementing exponential backoff with jitter. The team confirmed their per-account requests-per-minute and tokens-per-minute quotas in us-east-1 are already at the maximum granted by AWS Support, and they cannot commit to a fixed monthly cost for Provisioned Throughput because the traffic is highly unpredictable and event-driven. They need to increase sustained on-demand capacity for these bursts as quickly as possible without a purchase commitment. Which approach best addresses this requirement?
A legal-tech company runs a document Q&A service on Amazon Bedrock. Each user query is prepended with the same 18,000-token corporate policy handbook plus a 2,500-token system instruction block, followed by a short unique user question (under 200 tokens). Traffic is bursty and unpredictable, with hundreds of queries per hour during business hours and near-zero overnight. The team wants to reduce input-token cost without committing to a fixed hourly spend. Which approach best meets these goals?
A SaaS company runs a customer-support summarization feature on Amazon Bedrock using a large foundation model. Each request includes a 4,000-token static system prompt plus company knowledge base excerpts that are identical across all requests within a tenant, followed by a short unique conversation transcript. The team observes that time-to-first-token is dominated by processing the large repeated prefix, and per-request input token costs are high. Traffic is steady but the model choice must remain the same for quality reasons. Which optimization most directly reduces both latency and cost for this repeated-prefix workload with the least engineering effort?
A legal-tech company runs a document Q&A service on Amazon Bedrock. Each user query prepends the same 8,000-token corporate policy manual as system context, followed by a short user question (roughly 200 tokens). Traffic is bursty and unpredictable throughout the day, averaging about 4,000 requests per hour but occasionally spiking. The team's biggest concern is the high input-token cost driven by the repeated manual, and they want a solution that reduces cost with minimal architecture changes and without committing to a fixed capacity term. Which approach best addresses this?
A media company runs a production summarization service on Amazon Bedrock with a predictable, sustained baseline of roughly 40 requests per second, 24 hours a day, using a single foundation model. They have measured this steady load for six months and expect it to continue. Currently they use on-demand invocation and are frequently throttled during peaks, and their monthly bill is high. The team wants to guarantee capacity for the baseline while minimizing cost over the next year. Which approach best meets these goals?
A media company runs a nightly job that summarizes roughly 500,000 news articles between 1:00 AM and 5:00 AM using Amazon Bedrock. During the day, the same application handles sporadic, low-volume interactive summarization requests from editors. The team wants to minimize total Bedrock cost while ensuring the nightly job reliably completes within its window. Which approach best meets these requirements?
More AIP-C01 practice
Keep going with the other AWS Certified Generative AI Developer - Professional domains, or take a full timed mock exam.
← Back to AIP-C01 overview