Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon AIP-C01 Exam - Topic 2 Question 4 Discussion

An ecommerce company is using Amazon Bedrock to build a generative AI (GenAI) application. The application uses AWS Step Functions to orchestrate a multi-agent workflow to produce detailed product descriptions. The workflow consists of three sequential states: a description generator, a technical specifications validator, and a brand voice consistency checker. Each state produces intermediate reasoning traces and outputs that are passed to the next state. The application uses an Amazon S3 bucket for process storage and to store outputs.During testing, the company discovers that outputs between Step Functions states frequently exceed the 256 KB quota and cause workflow failures. A GenAI Developer needs to revise the application architecture to efficiently handle the Step Functions 256 KB quota and maintain workflow observability. The revised architecture must preserve the existing multi-agent reasoning and acting (ReAct) pattern.Which solution will meet these requirements with the LEAST operational overhead?
B) Configure an Amazon Bedrock integration to use the S3 bucket URI in the input parameters for large outputs. Use the ResultPath and ResultSelector fields to route S3 references between the agent steps while maintaining the sequential validation workflow.
A) Store intermediate outputs in Amazon DynamoDB. Pass only references between states. Create a Map state that retrieves the complete data from DynamoDB when required for each agent's processing step.
C) Use AWS Lambda functions to compress outputs to less than 256 KB before each agent state. Configure each agent task to decompress outputs before processing and to compress results before passing them to the next state.
D) Configure a separate Step Functions state machine to handle each agent's processing. Use Amazon EventBridge to coordinate the execution flow between state machines. Use S3 references for the outputs as event data.

Amazon AIP-C01 Exam - Topic 2 Question 4 Discussion

Actual exam question for Amazon's AIP-C01 exam
Question #: 4
Topic #: 2
[All AIP-C01 Questions]

An ecommerce company is using Amazon Bedrock to build a generative AI (GenAI) application. The application uses AWS Step Functions to orchestrate a multi-agent workflow to produce detailed product descriptions. The workflow consists of three sequential states: a description generator, a technical specifications validator, and a brand voice consistency checker. Each state produces intermediate reasoning traces and outputs that are passed to the next state. The application uses an Amazon S3 bucket for process storage and to store outputs.

During testing, the company discovers that outputs between Step Functions states frequently exceed the 256 KB quota and cause workflow failures. A GenAI Developer needs to revise the application architecture to efficiently handle the Step Functions 256 KB quota and maintain workflow observability. The revised architecture must preserve the existing multi-agent reasoning and acting (ReAct) pattern.

Which solution will meet these requirements with the LEAST operational overhead?

Show Suggested Answer Hide Answer
Suggested Answer: B

Option B is the best solution because it directly addresses the Step Functions 256 KB state payload quota by externalizing large intermediate artifacts to Amazon S3 and passing only lightweight references (URIs/keys) between states. This is a standard AWS pattern for workflows that produce large intermediate results, and it avoids introducing additional databases, compression logic, or cross-state-machine coordination that increases operational overhead.

In a multi-agent ReAct workflow, intermediate reasoning traces can be verbose and grow quickly as each agent produces chain-of-thought style artifacts, structured outputs, and supporting evidence. Step Functions is designed to orchestrate state transitions and pass JSON payloads, but large payloads should be stored outside the state machine and referenced by pointer values. Using Amazon S3 for intermediate outputs is operationally efficient because the application already uses S3 for storage, and S3 provides durable, low-cost storage with simple access patterns.

ResultPath and ResultSelector allow each state to store or reshape results so that only the required reference fields (such as s3Uri, object key, metadata, trace IDs) are forwarded to subsequent states. This preserves observability because the workflow can still log trace references, correlate steps with S3 objects, and store structured metadata for debugging. It also preserves the sequential validation design, keeping the existing ReAct pattern intact while preventing failures due to oversized payloads.

Option A adds additional services and read/write patterns that increase operational complexity. Option C introduces custom compression/decompression logic that is fragile, adds latency, and complicates troubleshooting. Option D increases orchestration overhead by splitting workflows and coordinating with events, which makes debugging harder and increases failure modes.

Therefore, Option B meets the payload limit requirement while keeping the architecture simple and observable.


Contribute your Thoughts:

0/2000 characters
Lonny
24 days ago
Wait, can Lambda really compress outputs that much?
upvoted 0 times
...
Marge
29 days ago
I disagree, B) is more efficient with S3 integration.
upvoted 0 times
...
Raylene
1 month ago
A) seems like a solid choice for handling large outputs.
upvoted 0 times
...
Moon
1 month ago
Wait, can Step Functions really handle that many references without issues?
upvoted 0 times
...
Dortha
1 month ago
D) really? A separate state machine? That sounds like a lot of extra work!
upvoted 0 times
...
Phyliss
2 months ago
C) seems overly complicated, why compress when you can just reference?
upvoted 0 times
...
Rashad
2 months ago
I think B) is the best choice here. S3 integration is solid.
upvoted 0 times
...
Bulah
2 months ago
A) sounds efficient for handling large outputs!
upvoted 0 times
...
Kayleigh
2 months ago
I recall that separating state machines could help with organization, but I'm not confident if it would really reduce operational overhead as required.
upvoted 0 times
...
Danica
2 months ago
I practiced a similar question where we had to manage data size limits, and I feel like compressing outputs with Lambda could add unnecessary complexity.
upvoted 0 times
...
Brigette
3 months ago
I'm not entirely sure, but I think using S3 URIs might be a more straightforward approach since it keeps everything in the same storage system.
upvoted 0 times
...
Simona
3 months ago
I remember we discussed the 256 KB limit in our study group, and I think using DynamoDB to store outputs could be a good way to handle that.
upvoted 0 times
...

Save Cancel