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 14 Discussion

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?
C) Use AWS AppConfig to manage model configurations. Use feature flags to perform A/B testing. Define JSON schema validation rules for model parameters. Configure Lambda functions to retrieve configurations by using the AWS AppConfig Agent.
A) Create AWS Systems Manager Parameter Store parameters for each configuration. Use Lambda functions to poll for parameter updates. Use Amazon EventBridge events to trigger redeployments when configurations change.
B) Store model configurations in Amazon DynamoDB tables. Optimize access patterns to retrieve configurations according to customer tier. Configure Lambda functions to query DynamoDB at the beginning of each request to determine which model to use.
D) Create an Amazon ElastiCache (Redis OSS) cluster to store model configurations. Set short TTL values. Run custom validation logic in Lambda functions. Use Amazon CloudWatch metrics to monitor configuration usage.

Amazon AIP-C01 Exam - Topic 3 Question 14 Discussion

Actual exam question for Amazon's AIP-C01 exam
Question #: 14
Topic #: 3
[All AIP-C01 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: C

Option C is the correct solution because AWS AppConfig is purpose-built to manage dynamic application configurations with low latency, strong validation, and minimal operational overhead, which directly matches the company's requirements.

AWS AppConfig enables the company to centrally manage model selection logic, inference parameters, and customer-tier routing rules without redeploying Lambda functions. By using feature flags, the company can easily perform A/B testing of new models or prompt strategies by gradually rolling out changes to a subset of users or customer tiers. This allows experimentation and controlled releases without code changes.

AppConfig also supports JSON schema validation, which is critical for validating parameters such as temperature, maximum token limits, and other model-specific settings before they are applied. This prevents invalid or unsafe configurations from being deployed and reduces the risk of runtime errors or degraded model behavior in production.

Using the AWS AppConfig Agent allows Lambda functions to retrieve configurations efficiently with built-in caching and polling mechanisms, minimizing latency and avoiding excessive calls to configuration services. This approach scales well for high-throughput, low-latency applications such as GenAI APIs behind Amazon API Gateway.

Option A introduces unnecessary redeployment logic and polling complexity. Option B requires building and maintaining custom configuration access patterns in DynamoDB and does not natively support feature flags or schema validation. Option D adds operational overhead by requiring ElastiCache cluster management and custom validation logic.

Therefore, Option C provides the most scalable, flexible, and low-maintenance solution for dynamic model switching, A/B testing, and safe configuration management in a GenAI application.


Contribute your Thoughts:

0/2000 characters
Lorean
3 days ago
C has the least operational overhead, I’m all for it!
upvoted 0 times
...
Delpha
8 days ago
A looks good for parameter management but might be too complex.
upvoted 0 times
...
Sarah
13 days ago
Surprised that no one mentioned the cost implications of these options!
upvoted 0 times
...
Glendora
18 days ago
I disagree, B could be simpler with DynamoDB.
upvoted 0 times
...
Twanna
24 days ago
Option C seems the most efficient for A/B testing.
upvoted 0 times
...
Delbert
29 days ago
I think ElastiCache could be fast for retrieval, but I'm worried about the custom validation logic. It might complicate things more than necessary.
upvoted 0 times
...
Hailey
1 month ago
I have a vague recollection that AWS Systems Manager Parameter Store is useful, but polling for updates sounds like it could lead to delays.
upvoted 0 times
...
Xenia
1 month ago
I'm not entirely sure, but I think using DynamoDB could add more complexity with access patterns. We practiced a similar question, and I felt like it was more overhead.
upvoted 0 times
...
Linwood
1 month ago
I remember we discussed using AWS AppConfig for managing configurations in our last study group. It seemed like a good fit for A/B testing too.
upvoted 0 times
...

Save Cancel