AIF-C01 Fundamentals of Generative AI Practice Question
A developer invoked an Amazon Bedrock model and received the following error: 'ValidationException: 1 validation error detected: Value 'claude-instant-v1' at 'modelId' failed to satisfy constraint: Member must satisfy enum value set: [ai21.j2-mid-v1, amazon.titan-text-lite-v1, anthropic.claude-v2, ...]'. What is the likely cause?
⚠ Common exam trap
Candidates often confuse a validation error (enum constraint) with a regional availability or permissions issue, but the specific error message 'Member must satisfy enum value set' directly points to an invalid model identifier string, not a missing resource or authorization failure.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The modelId is not part of the allowed enum of models for the account
The error message explicitly states that the value 'claude-instant-v1' at 'modelId' failed to satisfy the constraint: 'Member must satisfy enum value set'. This indicates that the modelId provided is not part of the allowed list of model identifiers that the Amazon Bedrock API accepts for the invocation request. The error is a validation error from the API itself, not a permissions or availability issue, meaning the modelId string does not match any entry in the predefined enum of supported models.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The Lambda function does not have the necessary IAM permissions
Why it's wrong here
Permissions errors would be AccessDeniedException, not ValidationException.
- ✗
The modelId is not available in the current AWS region
Why it's wrong here
Availability errors typically say 'model not found' or mention region, not an enum violation.
- ✓
The modelId is not part of the allowed enum of models for the account
Why this is correct
The error explicitly states the value must satisfy the enum set, meaning the model ID is invalid or not in the allowed list.
- ✗
The modelId is deprecated and has been renamed
Why it's wrong here
A deprecated model would still be accepted until removed; the error is specifically about not matching the enum.
Go deeper
Related to this question
About these practice questions
One of 619 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIF-C01 exam.