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
The error names a modelId enum mismatch, not an authorisation failure; IAM denials surface as AccessDeniedException, never ValidationException. IAM policies are the right fix when a permitted model call is rejected for missing bedrock:InvokeModel permissions. Here the identifier itself is invalid, so permissions are irrelevant.
- ✗
The modelId is not available in the current AWS region
Why it's wrong here
The error is a request-schema enum violation: the supplied string is not a valid Bedrock model identifier, so validation fails before any regional lookup occurs. Region availability produces a different error, such as AccessDeniedException or ResourceNotFoundException. This option is tempting because model IDs do vary by region, and choosing a regionally supported model would be correct when the identifier itself is valid.
- ✓
The modelId is not part of the allowed enum of models for the account
Why this is correct
The ValidationException explicitly reports that the supplied modelId fails the enum constraint, meaning Bedrock rejects any identifier outside its permitted model list. Since 'claude-instant-v1' is not among the enumerated values, the request never reaches inference. The cause is therefore an unsupported model identifier, not throttling, permissions, or malformed request syntax.
- ✗
The modelId is deprecated and has been renamed
Why it's wrong here
The error is a schema-level enum rejection: the supplied string is not a member of the permitted modelId set, so Bedrock rejects it before any lookup. Deprecation produces a different error, such as AccessDeniedException or ResourceNotFoundException. Renaming is tempting because retired models do get superseded, but that scenario concerns models previously valid in the account's region.
Go deeper
Related to this question
About these practice questions
One of 862 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.