Courseiva
Applications of Foundation ModelseasyMultiple ChoiceObjective-mapped

AIF-C01 Applications of Foundation Models Practice Question

Network Topology
aws bedrock list-foundation-modelsregion us-west-2"modelSummaries": ["modelArn": "arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-text-lite-v1","modelId": "amazon.titan-text-lite-v1","providerName": "Amazon",...

Refer to the exhibit. A developer runs this command but gets an error: 'An error occurred (AccessDeniedException) when calling the ListFoundationModels operation'. What is the most likely cause?

⚠ Common exam trap

AWS often tests the distinction between service availability errors (e.g., region not supported) and IAM permission errors, where candidates mistakenly attribute an AccessDeniedException to regional or model availability issues rather than missing IAM permissions.

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 IAM role does not have bedrock:ListFoundationModels permission

The error 'AccessDeniedException' when calling ListFoundationModels indicates that the IAM role or user executing the AWS CLI command lacks the required permission to list foundation models in Amazon Bedrock. The specific permission needed is bedrock:ListFoundationModels, which must be attached to the IAM identity via a policy. Without this permission, the API call is denied regardless of other factors like region or CLI version.

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 IAM role does not have bedrock:ListFoundationModels permission

    Why this is correct

    AccessDeniedException is due to missing IAM permissions.

  • The AWS CLI version is outdated

    Why it's wrong here

    CLI version would cause a different error, not AccessDenied.

  • The foundation model is not available in us-west-2

    Why it's wrong here

    Model availability would give a different error, not AccessDenied.

  • The region us-west-2 does not support Bedrock

    Why it's wrong here

    us-west-2 supports Bedrock.

About these practice questions

This AIF-C01 question is part of Courseiva's 619-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.