‹ All AIF-C01 questions

AIF-C01 Practice Question 77: Deterministic Multistep Workflow

AWS Certified AI Practitioner (AIF-C01) · Test 8 · question 7 of 10

Applications of Foundation Modelsmedium

A team needs a repeatable pipeline: take a support ticket, classify it with a prompt, look up the matching article in a knowledge base, then call an AWS Lambda function to raise a work order. They want the steps and the data passed between them declared explicitly rather than left to a model's judgement, and they want to snapshot the pipeline and promote it from test to production. Which Amazon Bedrock capability should they use?

Select one answer
Show answer and explanation

Answer:

  • B. Amazon Bedrock Flows, designed in the visual builder and deployed using versions and aliases

Amazon Bedrock Flows lets you *build workflows by linking prompts, foundational models, and other AWS services to create end-to-end solutions*. You *integrate with Amazon Bedrock offerings such as FMs, knowledge bases, and other AWS services such as AWS Lambda by transferring data between them*, which covers all three steps. Because the flow is a set of nodes and explicit connections, the ordering is declared rather than inferred. For promotion, AWS provides *immutable workflows to move from testing to production*: publishing a version preserves the flow definition as a snapshot, and an alias points at the version your application invokes (option B).

- A is wrong because prompt caching reduces the cost of reprocessing a repeated prompt prefix. It is a cost optimisation applied to individual calls and declares no steps, no data passing and no promotion path. - C is wrong because a single prompt hands the ordering, the decision to consult the knowledge base and the shape of each intermediate result back to the model's judgement, the exact opposite of what the team asked for. A prompt also cannot invoke a Lambda function by itself. - D is wrong because intelligent prompt routing chooses *which model* answers one request, to balance quality against cost. It orchestrates nothing and cannot chain a classification, a retrieval and an action together.

Reference: Build an end-to-end generative AI workflow with Amazon Bedrock Flows

Practice Test 8 ›

Study guides for AIF-C01

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon Bedrock? Models, Pricing and GuardrailsWhat is Amazon Bedrock? How a request reaches a model, what happens to your data, token pricing, Guardrails, Knowledge Bases, AgentCore and the exam traps.
Google Cloud Generative AI Leader vs AWS AI PractitionerGoogle Cloud Generative AI Leader vs AWS AI Practitioner: format, cost, topics, free preparation and which certification to take first.
AWS certification cost in 2026, and free ways to prepareWhat every AWS certification costs in 2026 in USD and INR, retake and reschedule rules, the 50% voucher, and the free official ways to prepare.
AWS Generative AI Developer Professional (AIP-C01) guideWhat the AWS Certified Generative AI Developer – Professional (AIP-C01) exam covers - format, cost, the five domains, the services, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.