Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon AIP-C01 Exam - Topic 3 Question 16 Discussion

Posted by Lucina on Oct 01, 2026 at 09:14 PM

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?

Suggested Answer: C

Option C best satisfies the requirement to change routing decisions without redeploying code while supporting complex, frequently changing business logic at scale. AWS AppConfig is designed for centrally managing dynamic configuration (feature flags, rules, thresholds, and policy parameters) and deploying changes safely. It supports controlled deployments, validation, and rapid propagation of updated configuration values, which aligns with ''real-time cost metrics that change hourly'' and the need for ''immediate propagation across thousands of concurrent requests.''

In this design, the Lambda function becomes the policy decision point. For each request, it evaluates user attributes (tier, transaction value), context (regulatory zone, Region), and live cost/performance thresholds stored in AppConfig to determine which Amazon Bedrock FM to invoke. Because the routing rules and FM identifiers are delivered as configuration, the company can switch models, adjust A/B testing weights, or update compliance routing rules by deploying new AppConfig configuration versions rather than pushing new application code. This reduces operational risk and accelerates iteration.

Exposing a single API Gateway endpoint also minimizes client complexity and keeps routing logic server-side, which is important when rules change frequently. Lambda can cache configuration between invocations (within the execution environment) to reduce repeated fetch overhead while still picking up changes quickly, enabling both low latency and rapid rule rollout under high concurrency.

Option A relies on Lambda environment variables, which are not intended for frequent real-time updates and typically require function configuration updates that are slower and operationally brittle. Option B uses mapping templates and stage variables, which are limited for complex rule evaluation and safe rollout patterns. Option D misuses authorizers for business routing, adds extra latency and complexity, and complicates observability and error handling by splitting decisioning from execution.


Get Premium AIP-C01 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
AA
Aarav Malhotra 5 days ago
C makes the most sense here because it lets routing rules update via AppConfig without redeploys, keeping per-request decisions fast.
ER
Erik Novikov 21 days ago
I would pick B because templates and stage variables look handy for edge routing, but they’re not suitable for centralized per-request policy changes at scale.
EM
Emily Allen 8 days ago
↳ replying to Erik Novikov
Makes sense, I landed on B too today.
MI
Min Kobayashi 14 days ago
↳ replying to Erik Novikov
If edge routing is the main advantage of B, how would you handle centralized per-request policy changes at scale?
BE
Berry 3 days ago
B is interesting, but how does it handle dynamic cost metrics?
CA
Cassi 8 days ago
Wait, can it really switch FMs without new code?
ED
Edison 13 days ago
D could add unnecessary complexity, though.
QU
Queenie 19 days ago
I think A is too manual for frequent changes.
KA
Kanisha 24 days ago
Option C seems solid for real-time routing.
TY
Ty 29 days ago
I feel like option D might be the best choice since it uses Lambda authorizers, which could help with complex business logic, but I need to double-check how that interacts with API Gateway.
EL
Elinore 1 month ago
I'm a bit uncertain about the differences between options A and B. They both involve API Gateway, but I can't recall which one is more flexible for changing routing rules.
JA
Jannette 1 month ago
I think option C sounds familiar because it mentions using AWS AppConfig, which we practiced in a similar scenario about configuration management.
AN
An 1 month ago
I remember we discussed the importance of dynamic routing based on real-time metrics, but I'm not sure which option best supports that.
0/2000 characters

Save Cancel