Courseiva
hardMultiple ChoiceObjective-mapped

AIF-C01 Practice Question: A financial services company uses Bedrock Agents…

A financial services company uses Bedrock Agents to automate a multi-step loan approval process. The agent needs to call an external credit scoring API and a compliance database, then combine results. The agent currently fails when the API returns a 503 error. How should the practitioner address this?

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

Implement a custom Lambda function for the action group to handle errors and retries

Lambda functions integrated with action groups can implement retry logic, error handling, and custom processing. Granularity tuning or trace truncation does not handle errors. Guardrails are for content filtering, not API error handling.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Adjust the Bedrock Agent's granularity setting to 'high'

    Why it's wrong here

    Granularity controls how often the agent asks for clarification; it does not affect API error handling.

  • Reduce the agent's trace truncation limit to shorten the context

    Why it's wrong here

    Trace truncation limits the conversation history, not error handling.

  • Implement a custom Lambda function for the action group to handle errors and retries

    Why this is correct

    Lambda functions in action groups can implement custom logic, including retries on 503 errors, before returning results to the agent.

  • Use Bedrock Guardrails with a topic denial rule for error messages

    Why it's wrong here

    Guardrails filter content but cannot handle API errors or retries.

Quick reference

Cloud Service Model Comparison

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

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.