AWS Certified Generative AI Developer - Professional (AIP-C01) free question 1 / 10 · Domain 1: Foundation Model Integration, Data Management, and Compliance
A Lambda-based assistant reads its Amazon Bedrock model ID from an AWS AppConfig configuration, so the team can switch models without a code change. Each change is rolled out to production, and the team wants the predefined deployment strategy that gives the most deployment safety through a long duration and bake time. Which strategy should it choose?
- AppConfig.Linear20PercentEvery6Minutes, which deploys to 20% of targets every six minutes and watches the CloudWatch alarms for 30 minutes
- AppConfig.Canary10Percent20Minutes, which grows exponentially with a 10% factor over 20 minutes and watches the CloudWatch alarms for 10 minutes
- AppConfig.Linear50PercentEvery30Seconds, which deploys to half of the targets every 30 seconds and watches the CloudWatch alarms for one minute
- AppConfig.AllAtOnce, which deploys the configuration to the whole fleet right away and watches the CloudWatch alarms for 10 minutes
Show the answer and explanation
Answer: A
Why this is correct
AWS AppConfig ships predefined strategies, and the page recommends AppConfig.Linear20PercentEvery6Minutes for production because it aligns with AWS best practices and puts extra emphasis on deployment safety through its long duration and bake time. It deploys to 20% of targets every six minutes, for a 30-minute deployment, and CloudWatch alarms are watched for 30 minutes. If an alarm fires during that window, AWS AppConfig rolls the deployment back.
Why the other options are wrong
"AppConfig.Canary10Percent20Minutes, which grows exponentially with a 10% factor over 20 minutes and watches the CloudWatch alarms for 10 minutes" … This strategy is also marked as AWS recommended for production, but its alarm monitoring lasts 10 minutes, so it has a shorter bake time than the linear strategy that watches for 30 minutes.
"AppConfig.AllAtOnce, which deploys the configuration to the whole fleet right away and watches the CloudWatch alarms for 10 minutes" … This is the quick strategy: the configuration reaches every target at once, so there is no gradual exposure. It rolls back on an alarm, but it has no long duration to limit how many targets see a bad model ID.
"AppConfig.Linear50PercentEvery30Seconds, which deploys to half of the targets every 30 seconds and watches the CloudWatch alarms for one minute" … The page recommends this strategy for testing or demonstration purposes because of its short duration and bake time. It is the opposite of what a production rollout needs.
Key points
Pairing a model ID held in AppConfig with a gradual strategy and CloudWatch alarms lets a bad model switch be caught and reverted without redeploying the function. Compare duration and bake time when choosing between the two strategies the page recommends.