BayLearn Interview Sprints
Enterprise Integration Architect Interview Sprint — Connect It. Decouple It. Govern It. Defend It.
Prepare for Integration Architect interviews with APIs, Kafka, events, SFTP/MFT, pattern selection, BRIDGE and FLOW, production-shaped troubleshooting, and a scored architect mock.
Refund terms are drafted and are not a current offer. Refund policy
Curriculum
Short lessons in interview order. The capstone lab runs on your machine with local fakes — BayLearn does not execute candidate AWS accounts.
You will
- See the full lesson path before you book
- Know this is an Integration Architect interview sprint, not a middleware catalog
Course overview5 min
Course overview
Enterprise Integration Architect Interview Sprint
Connect the flow. Decouple it with a pattern. Govern it with a contract. Defend the failure path.
This four-hour Interview Sprint prepares Integration Architects and Principal Architects to defend pattern selection, contracts, and failure design across APIs, messaging, events, Kafka-style streams, SFTP/MFT, batch, CDC, and workflows. It is not a vendor catalog and not a beginner tutorial. You will be asked to choose a pattern for a business flow, reject fashionable alternatives, and write the contract that makes the choice real.
The course is vendor-neutral first. Name the pattern — request/response, competing consumers, pub/sub, log, router, managed file transfer, batch, CDC, saga — then map to a product. AWS mappings for the capstone (Transfer Family, S3, EventBridge, SQS, API Gateway) appear only after the flow is designed. File transfer is taught as a first-class platform: landing, scan, validate, ACK, quarantine, and handoff — not as a leftover from the mainframe era.
You will use two methods in every interview surface. BRIDGE frames a design: Business, Requirements, Integration pattern, Data/delivery, Governance, Evolution. FLOW frames an incident: Find the failed business flow, Locate the domain, Observe signals, Work recovery. The capstone stitches partner SFTP to MFT, object store, validation, domain events, a fulfillment queue, and an internal query API — the multi-pattern estate interviewers actually draw.
Outcomes
- Select and defend a pattern with rejected alternatives, not product names.
- Review and rewrite API, event, and file contracts for version, identity, errors, and ACK.
- Design reliability: idempotency, retry budgets, DLQ, reconciliation, and replay without side effects.
- Troubleshoot 42 production-shaped incidents with FLOW, including files, Kafka, sagas, and governance.
- Sit a scored Architect mock, leave with a 7-day and 30-day plan, and know what Principal-level looks like.
Start here
Start here
Enterprise Integration Architect Interview Sprint
Connect the flow. Decouple it with a pattern. Govern it with a contract. Defend the failure path.
This four-hour Interview Sprint prepares Integration Architects and Principal Architects to defend pattern selection, contracts, and failure design across APIs, messaging, events, Kafka-style streams, SFTP/MFT, batch, CDC, and workflows. It is not a vendor catalog and not a beginner tutorial. You will be asked to choose a pattern for a business flow, reject fashionable alternatives, and write the contract that makes the choice real.
The course is vendor-neutral first. Name the pattern — request/response, competing consumers, pub/sub, log, router, managed file transfer, batch, CDC, saga — then map to a product. AWS mappings for the capstone (Transfer Family, S3, EventBridge, SQS, API Gateway) appear only after the flow is designed. File transfer is taught as a first-class platform: landing, scan, validate, ACK, quarantine, and handoff — not as a leftover from the mainframe era.
You will use two methods in every interview surface. BRIDGE frames a design: Business, Requirements, Integration pattern, Data/delivery, Governance, Evolution. FLOW frames an incident: Find the failed business flow, Locate the domain, Observe signals, Work recovery. The capstone stitches partner SFTP to MFT, object store, validation, domain events, a fulfillment queue, and an internal query API — the multi-pattern estate interviewers actually draw.
Outcomes
- Select and defend a pattern with rejected alternatives, not product names.
- Review and rewrite API, event, and file contracts for version, identity, errors, and ACK.
- Design reliability: idempotency, retry budgets, DLQ, reconciliation, and replay without side effects.
- Troubleshoot 42 production-shaped incidents with FLOW, including files, Kafka, sagas, and governance.
- Sit a scored Architect mock, leave with a 7-day and 30-day plan, and know what Principal-level looks like.
BRIDGE framework
BRIDGE framework
BRIDGE Framework
BRIDGE is how this sprint opens every design problem. It keeps you from leaping to a product and it gives the panel a structure they can score.
Letters
B — Business. Whose customer, money, or regulator? Name the flow in one sentence. Partner invoice land-and-post is a different flow from trader FX quote.
R — Requirements. Latency, payload size, completeness, replay, ownership, SLA, fail-open/closed. These are the decision-matrix columns. If the interviewer did not give them, ask.
I — Integration pattern. Choose one primary pattern. State rejected alternatives in the same breath. Then, and only then, map to a vendor.
D — Data/delivery. Contract: ids, version, errors or ACK, keys, retention, idempotency. Bytes versus pointers. Control plane versus data plane for files.
G — Governance. Owner, deputy, catalog, data class, who may consume, how secrets rotate.
E — Evolution. Versioning, dual-run, strangler, DR/replay, abort criteria for a migration.
How to use it in 90 seconds
Speak the six letters as headings on the whiteboard. Fill two bullets each. If you skip G and E you will sound like a senior engineer, not a Principal. If you skip R you will pick Kafka because it is familiar.
Worked 90 seconds on a 100 GB partner file (P-05): B partner settlement; R completeness over 200 ms, replay by business date; I file/MFT, reject API gateway; D control file + checksum + ACK codes; G per-partner mailbox owner; E schema version + dual-run if you change layout.
Capstone
The multi-pattern lab is a BRIDGE exercise: partner SFTP (B/R), file then event then queue then API (I), control files and order ids (D), per-partner mailbox (G), schema versions and destroyable cloud mapping (E).
Outcomes
You can run BRIDGE without notes and notice when a candidate — or a colleague — skipped a letter.
Talking points and drills
- Time a 90-second BRIDGE on P-05 (100 GB file) and P-07 (onboarding).
- If a letter is empty, that is the follow-up the panel will ask.
- G and E are how you separate Architect from Principal.
- Use rejected alternatives as the I letter, not as an appendix.
- Put catalog owner under G even in a whiteboard exercise.
- Evolution includes abort criteria, not only 'we will version it'.
- Score mocks on letter coverage, not on diagram prettiness.
- Teach the six letters to a colleague — that is the 30-day retention move.
Hang the letters on the wall for the rest of the four hours. Point at empty letters in real time.
FLOW framework
FLOW framework
FLOW Framework
FLOW is how this sprint works an incident. It stops the 'restart Kafka' reflex and it gives instructors a scorecard.
Letters
F — Find the failed business flow. Home-screen balance, invoice post, onboarding, nightly positions. Not 'the cluster is red'.
L — Locate the domain. API hop, queue, partition, mailbox, saga step, gateway rewrite. One estate can be red in five places; pick the one that explains the customer.
O — Observe signals. Metrics first (p95, depth, lag by partition, arrival versus SLA), then logs and traces, then the contract (schema, key, ACK). Hidden context stays hidden until you have a hypothesis.
W — Work recovery. Immediate safe action (feature flag, NACK, kick a consumer, restore a host key). Then mitigation, long-term fix, governance, prevention. Do not skip the last two in a Principal mock.
A correlation id must survive API, queue, file ACK, and consumer. Dashboards without a join key are decoration. Age without depth is poison. Depth without errors is capacity. Zero matches is routing.
Order
Do not rotate every partner key because one supplier cannot connect. Do not reset offsets to fix a hot key. Do not declare DR successful because VMs ping.
Practice
Forty-two scenarios in this sprint are written as FLOW cards. Say the letters. Then ask for the metric you would plot. Instructors will withhold hidden context until you have earned it. Pair T-12 (broker down) with the outbox question so they do not fail the user API after a file was already ACCEPTED.
Outcomes
You can run a thirty-minute incident interview without guessing, and you can teach FLOW to a team the following Monday.
Talking points and drills
- Run T-01 and T-28 out loud using only the four letters as headings.
- Withhold hidden context until the candidate names a metric.
- Punish restart-the-broker as step one unless the broker is actually down.
- Require a safe immediate action that does not rotate every partner.
- Score Principal on governance and prevention, not only on the root cause.
- Keep file and Kafka cards in the mix so API specialists cannot hide.
- After recovery, ask what catalog field would have shortened the incident.
- Teach FLOW to the team the next Monday — that is the operating-model win.
- Pair T-12 (broker down) with the outbox question so they do not fail the user API.
- Close every card with a regression test they would automate.
If they cannot find the business flow, do not let them open dashboards yet.
You will
- Answer 30 scenario questions
- Show weak categories to the instructor before the live session
How the assessment works5 min
How the assessment works
How The Assessment Works
Thirty questions. Timed enough to keep you honest, not so tight that you panic. Each item is a scenario: a business need, a constraint, and four ways people usually overfit. There is one best pattern or defect given the stated constraints.
Even though the item is multiple choice, think in BRIDGE. What is the business flow? What requirement was explicit (300 ms, 100 GB, nightly, exactly one worker)? Which pattern matches? Why not the fashionable alternative?
Example: real-time account balance is an API. A stream of ledger facts may exist behind it. Putting the mobile client on a Kafka consumer fails the latency and consumer-model columns of the matrix.
Scoring
Raw correctness becomes a readiness percentage and a band. Categories match the 540-question bank so practice later is targeted. Wrong answers are a map. The player stores the result on the dashboard and the instructor can see weak categories before a live session.
What we do not do
We do not use the score as a hiring recommendation. We do not require an AWS account. We do not hide that some items are senior and some are principal. If you are interviewing for Principal, expect to miss items that demand inventory, dual-run, and abort criteria — then learn those in modules 4–6.
FLOW preview
A few items are incidents, not designs. For those, practice FLOW: find the business flow, locate the domain, observe (what metric would you want?), work a safe recovery. You will do this forty-two times later. The assessment only checks that you do not reboot the estate as step one.
Practicalities
- Complete it before the live four hours if you can.
- Do not search while you sit it; the point is the reflex.
- Afterward, open the decision matrix download and mark the rows you confused.
- Note one file-transfer miss and one event miss. You will see both in the capstone.
Outcomes
You know how the instrument works, what the bands mean, and how to use the result as a study plan rather than a grade.
Facilitation notes
- Complete the instrument once, under your own discipline, before you practice the bank.
- If you change answers after searching the web, you lose the diagnostic value.
- Category scores feed the dashboard; instructors use them to pick FLOW cards.
- A Principal candidate should still sit the same thirty items — the tail is the signal.
- Do not treat a high API score as permission to skip files or governance.
- Time pressure is intentional: interviews also refuse you a design committee.
- After the result, write one BRIDGE sketch for your worst miss.
- Re-sitting the same thirty items tomorrow measures memory, not readiness.
If you are delivering this live, show the band definitions and then move — do not debate individual keys in m0.
Readiness Assessment15 min
Readiness Assessment
Integration Architecture Readiness
This module is a diagnostic, not a gate you fail. In fifteen minutes you show how you choose patterns, read contracts, and talk about failure. The instrument is thirty scenario questions across APIs, messaging, events, files, reliability, security, and governance. The band is a planning tool for the rest of the sprint — not a hiring prediction.
The estate is systems plus contracts. Channels, partners, systems of record, and analytics meet through a style you choose per flow. The platform is how they meet — identity, catalog, policy — not a product logo in the middle. Before you sit the assessment, practice naming the flow before you name a vendor.
What we measure
We are not measuring whether you can name every AWS service. We measure whether you can connect a real business flow, decouple it with a pattern and an owner, govern it with a contract and a catalog row, and defend it with idempotency, DLQ, replay, and ACK.
How to sit each item
Read the scenario. Circle the requirement that was actually stated: latency, payload size, completeness, replay, or ownership. That is the BRIDGE Requirements letter. Then pick the pattern. If two answers look right, the missing column is usually completeness versus freshness, or one owner versus many listeners.
| If the scenario says… | Default pattern | Neighbour you reject |
|---|---|---|
| A human is waiting for a current answer | API | Putting the client on a Kafka consumer |
| Exactly one worker must apply a command | Queue | Fan-out topic with two processors |
| Producer must not know the consumer list | Pub/sub | A single shared queue |
| Replay and per-key order are the product | Stream / log | A drainable broker that forgets after ack |
| Partner already files multi-gigabyte completeness | File / MFT | 10 GB through the API gateway |
| Business date must close | Batch | A 'live' stream with no watermark |
| Writers will not emit domain events | CDC + ACL | Publishing raw tables as the contract |
| Compensation and status must be visible | Workflow | Twelve hidden listeners |
After you submit
You will see category weakness. Bring the two lowest categories into modules 1–4. Instructors probe those first in the mock. If file transfer is low, do not skip module 3 — that is where API-strong architects lose Principal credit.
Interview translation
Panels will not give you a multiple-choice screen. They will give you a messy estate. The assessment trains the reflex: name the flow, name the pattern, name the rejected alternative, name the failure. Write one sentence of rationale as if the interviewer can hear you.
Outcomes
- A baseline band before live teaching.
- A shared language for the next three hours.
- A pointer to the decision matrix download and the BRIDGE one-pager.
Talking points before you click submit
- Say the business flow in one sentence before you pick an option.
- Name the requirement that decided the pattern: latency, size, completeness, or ownership.
- Reject one fashionable alternative out loud, even though the form cannot hear you.
- If the item is an incident, start FLOW — do not start with a reboot.
- File-transfer misses are the usual gap for API-strong candidates; mark them for module 3.
- A low Principal-oriented item is a study signal, not a reason to skip the mock.
- Bring the two weakest categories to the instructor before a live four-hour session.
- The band is a planning tool. It is not a hiring recommendation.
When you finish, open the decision matrix and tick the rows you confused. That is the whole point of m0.
30 scenario questions. Each card is tagged with the skill it scores. Open a card to read the prompt and the four choices.
- Force every partner onto one REST API this quarter so the estate stays simple
- Choose the pattern per partner capability and SLA, then converge internally on a canonical OrderAccepted contract
- Stand up a new enterprise service bus and route every partner through the same SOAP mediation
- Store raw partner payloads in a shared folder and let each downstream team parse them independently
Scored take: enroll, open Learn, then this same lesson. One question at a time. After 15 you see your band and eight skill scores.
You will
- Choose sync only when the caller cannot continue without the answer
- Put identity, version, and problem+json on the contract before naming a product
API architecture12 min
API architecture
API Architecture
An API is a request/response contract for a caller who needs an answer or a decision in this interaction. It is the right pattern for current-state reads and for small, user-blocking decisions. It is the wrong pattern for 10 GB payloads, for work that takes minutes, and for fanout to unknown consumers.
If the caller must hold the result, stay synchronous. If work can retry alone, leave the request path. A 202 without a status query or callback is an unfinished design. Do not hide a multi-minute partner file or a warehouse pick behind a sync POST.
BRIDGE on a synchronous path
B. Mobile home screen, trader blotter, checkout fraud check — a human or a tight system clock.
R. Latency budget in milliseconds, payload size, fail-open versus fail-closed.
I. Request/response, possibly with a cache owned by a named read model. Reject 'just put it on Kafka' when the caller is staring at a spinner.
D. Resource shape, problem+json, idempotency on writes, hop list inside the SLO.
G. Per-client identity and quota. Warehouse clients do not share a plan with the storefront.
E. /v1 stays stable. Silent field renames are incidents.
Design rules
- Keep the hop list inside the SLO. A new enrichment call is an architecture change, not a 'small add'.
- Return 202 and a status resource when the work is not done.
- Publish problem+json. HTML login pages are not an error model.
- Do not build a mesh of blocking REST as the enterprise backbone (AR-01).
Worked example — checkout fraud hold
The product wants a yes/no in 250 ms. Fraud can sometimes take 4 seconds. Honest design: a synchronous policy for the fast path (cached features, local rules) and a 202 + hold resource when the model is cold. Fail-closed for money movement; fail-open only if the product named that risk. You may still publish FraudHoldPlaced after the write. That is a hybrid design, not a contradiction.
Vendor-neutral first
The pattern is request/response behind a gateway that applies policy. AWS API Gateway, an HTTP API, or a service mesh ingress are mappings. Choose HTTP versus REST-style features (keys, WAF, usage plans, request validation) after you name the policy you need. Verify current product capabilities at design time; do not quote stale quotas.
Interview defense
When challenged with 'why not Kafka?', answer with the caller. If the caller is a human staring at a spinner, you owe them a response or a documented degrade. Draw milliseconds on every box. A pretty mesh without numbers is how AR-01 happens.
Common misses
Verb paths, version: latest, 200 for everything, shared admin keys, and putting the warehouse on the checkout thread. Contract reviews CR-01 to CR-05 exist so you can mark these quickly.
Outcomes
You can place an API in an estate, bound it, and refuse to use it as a file transport or an ESB.
Talking points and drills
- Draw the hop list and write the SLO next to each hop.
- State fail-open versus fail-closed for the fraud or FX case.
- Show 202 + GET /status as the hybrid you will use more often than pure sync.
- Mark AR-01 on any diagram that chains five REST calls on the customer thread.
- Refuse 10 GB through the gateway without sounding theatrical — size is a column.
- Ask who owns the read model if you propose a cache in front of the ledger.
- Write the problem+json fields from memory.
- Map to API Gateway only after the policy list is on the board.
Close the module by rewriting one blocking checkout into accept-and-queue. That is the bridge into messaging.
REST resources8 min
REST resources
REST Resources
Resources are nouns with stable identifiers. Collections and items (/v1/orders, /v1/orders/{orderId}) beat verbs (/pay, /process). The identifier in the path is the same identifier in events and files. If those three disagree, you will not reconcile.
Methods and meaning
| Method | Meaning in this sprint | Interview trap |
|---|---|---|
| GET | Read; free of side effects | Enqueue work 'as a convenience' |
| POST | Create or accept work; needs idempotency | New key on every retry |
| PUT | Replace a known resource; If-Match | Silent create versus update |
| PATCH | Partial update with an explicit schema | additionalProperties: true |
| DELETE | Rare in financial estates | Prefer a cancelled state |
Representations
Pick a media type and keep it. Do not return a list on Tuesday and an object on Wednesday for the same 200. Money is currency plus minor units, not an unconstrained string. Dates are ISO-8601. Enumerations are published. Version in the contract (header or URI). Silent field renames are incidents.
One id across three patterns
API GET /v1/orders/{orderId}
File control.orderId (same string)
Event OrderPlaced.orderIdIf the file uses partnerRef and the API uses id and the event uses uuid, you will staff a reconciliation team forever. Align them in the contract review, not in a war room.
Collections
Pagination, filters, and sort belong in the contract. A search query named q with no grammar is how partners invent dialects. Rate limits are part of the resource conversation; a warehouse client should not share a quota with a polling storefront (T-03).
Hypermedia is optional; identity is not
You do not need HATEOAS to pass an Integration Architect interview. You do need to return the id, to accept If-Match, and to explain 409. You need to say whether PUT /orders/{id} creates or only updates.
Exercise
Rewrite a /pay POST into POST /v1/payments with a Payment id, 201/202, and a GET. Then show how OrderCreated uses the same id. That is the bridge into events.
Outcomes
You critique a resource model in five minutes and connect it to events and files.
Talking points and drills
- Rename three verb paths in a brownfield inventory to nouns with ids.
- Decide PUT versus PATCH for an order cancel, and defend 409.
- Align orderId across the API, the file control record, and OrderCreated.
- Specify pagination tokens so partners cannot invent a second dialect.
- Separate warehouse and storefront client identities before you talk cache.
- Explain why GET must not enqueue work 'as a convenience'.
- Show an If-Match failure as a feature, not as an error to hide.
- Call out additionalProperties:true as an unversioned blob.
If the candidate cannot keep one id across three patterns, stop and fix that before Kafka.
API idempotency8 min
API idempotency
API Idempotency
Networks retry. Gateways time out. Clients double-submit. If POST /v1/payments is not idempotent, you will double-charge and then claim the platform is 'at-least-once'. That is an excuse, not a design.
The key
The client sends an Idempotency-Key (or a natural key you document). You persist the first successful result — status and body — and return it on replay. A different body with the same key is a 409, not a second payment.
Store record you should be able to write from memory:
clientId + idempotencyKey- request hash (so a mutated body 409s)
- status and body of the first success
createdAtand a TTL you can defend
Where it lives
A store keyed by client + key is part of BRIDGE Data/delivery. It is not optional because the database 'usually' has a unique constraint — say that constraint out loud and show the conflict path. DynamoDB conditional writes or a relational unique index are implementations. Name the pattern — idempotent accept — before the table.
Timeouts are unknown
If you time out after the processor charged but before you stored the result, the next retry is dangerous unless the processor is also idempotent. In-doubt is a state. Read before create. FLOW T-02 and T-34 are this story on an API and in a workflow. A second POST with a new key is how you double-charge.
Related keys
| Surface | Key | Typical miss |
|---|---|---|
| API write | Idempotency-Key or natural id | New UUID on every click |
| Queue command | command id | ACK before apply |
| Domain event | event id + business key | Replay emails twice |
| File | transfer id + checksum + invoice id | Filename as the only key |
Do not pretend one HTTP header solves MFT.
Interview lines
- 'I store the first 201 and replay it.'
- 'I do not ACK a queue before the idempotent apply.'
- 'A timeout is unknown, not failure.'
Outcomes
You can place idempotency on the API, the worker, and the file apply, and explain why replay is then safe.
Talking points and drills
- Write the store record: key, request hash, status, body, createdAt.
- Explain 409 when the same key arrives with a different body.
- Walk a timeout after the processor charged but before you wrote the store.
- Compare Idempotency-Key, command id, event id, and file checksum.
- Refuse 'the unique constraint will save us' without showing the conflict path.
- Tie this lesson to T-02, T-07, and T-34 so retries stop being abstract.
- Say why ACK-after-side-effect is the usual duplicate-order bug.
- Name a TTL you can defend for the key store.
A candidate who cannot say 'timeout is unknown' is not ready for the payment command exercise.
API gateway7 min
API gateway
API Gateway
A gateway is a control plane in front of request/response: identity, quota, schema validation, routing, and observability. It is not the system of record and not an ESB for every transformation.
What belongs at the edge
TLS termination, client identity, usage plans, WAF, request size limits, correlation ids, and coarse routing to versions. Reject 10 GB bodies here with a documented max and a pointer to MFT. Do not parse partner invoices in the gateway.
What does not
Canonical data models for every domain. Business orchestration. Hiding twelve backends as if the caller should not know they have different SLOs. A rewrite that serves v2 payloads to v1 clients (T-05).
Policy as contract
| Policy | Where | Failure shape |
|---|---|---|
| Identity | Gateway | 401 |
| Quota per client | Gateway | 429 + Retry-After |
| Max body | Gateway | 413 + MFT alternative |
| Schema of the resource | Service (and optionally gateway validation) | 422 |
| Authorization on the order | Service | 403 |
| Duplicate write | Service + store | 409 |
JWT validation needs a JWKS cache that survives key rotation (T-04). Canary routes still exercise old consumers — otherwise it is not a canary.
Interview
If the panel says 'we already have a gateway, send the 100 GB through it', you have AR-05. Offer a signed pointer or MFT and keep the gateway for the control message. Map AWS API Gateway HTTP versus REST-style features only after the policy list is on the board, and verify those features are still the ones you think they are.
Outcomes
You can draw a gateway as policy, not as a second enterprise brain, and you can attack a bad rewrite or a shared key.
Talking points and drills
- List policies that belong at the edge versus in the domain service.
- Show a v1/v2 route table that cannot leak shapes across versions.
- Describe JWKS cache behavior during an IdP key rotation.
- Set a documented max body and a 413 that names MFT as the alternative.
- Split quotas so a polling UI cannot starve a warehouse worker.
- Reject 'the gateway will transform to the canonical model'.
- Canary both client generations or do not call it a canary.
- Map HTTP versus REST-style features only after the policy need is stated.
End with T-03 and T-05 as FLOW warm-ups — they are gateway stories, not app-server stories.
You will
- Explain why a bus is not a work queue
- Defend a partition key as an ordering and throughput invariant
Messaging and events12 min
Messaging and events
Messaging and Events
Messaging moves commands and facts without forcing the caller to wait. The estate fails when teams use one product name for three patterns: work queue, pub/sub, and log. This lesson separates them, then introduces events as versioned facts.
A queue is a backlog of commands. One message, one owner at a time. Delete or ack only after the side effect succeeds. Visibility hides; it does not complete. FIFO or keyed partitions reduce overlap — they do not replace an idempotency key.
A topic copies a fact to many subscribers. Each subscriber still owns its own retry story. Fan-out is not a competing-consumer inbox. Subscribe a queue when a consumer needs isolation and a DLQ.
A broker hands work to a consumer and then forgets it. A stream is a log you can rewind. Need a drainable backlog and one owner? Broker. Need history, rewind, and several independent groups? Stream. Do not call a queue 'our Kafka'.
Commands versus facts
A payment authorize is a command: one owner, retry, DLQ. OrderPlaced is a fact: many listeners, producer ignorant of the list. If you publish a command to a fanout topic, two processors may charge. If you enqueue a fact for analytics, you will invent a worse log.
Thin events (id + pointer) are cheap to emit and stampede the producer API on replay. Fat events carry the fields to apply and must not become a 200-field shared database. Say which you chose and why.
Delivery contract (write these as fields)
At-least-once is the honest default. Visibility timeout or lock must exceed processing p99 (T-06). Poison must leave the head of the line (T-08). DLQ spikes are often contract breaks, not 'bad data' (T-09). Alarm on DLQ depth and age. A silent DLQ is a production defect.
Event envelope
id, type, time, producer, schema version, correlation / causation, partition key, payload. Enough state to survive a two-day replay without DDoS-ing the API (AR-06).
Vendor-neutral then mapping
Queue, bus, and log are patterns. AWS SQS, SNS, EventBridge, and MSK/Kinesis are mappings. Do not start with 'we will use EventBridge' before you say whether you need a router, a queue, or a retained log.
Outcomes
You can sort a scenario into queue, pub/sub, router, or stream and name the reliability settings that belong in the contract.
Talking points and drills
- Sort five scenarios into queue, pub/sub, router, and stream in two minutes.
- Write visibility timeout, max receive, and DLQ as contract fields.
- Explain why a topic with one consumer group is still a queue in spirit.
- Carry enough event state to survive a two-day replay without DDoS-ing the API.
- State at-least-once and the idempotency key in the same sentence.
- Refuse global order unless an invariant requires it.
- Name notification versus event-carried state versus event sourcing.
- Only then say SQS, SNS, EventBridge, or MSK.
If they say 'we will put it on the bus' with no consumer model, send them back to the matrix.
Kafka12 min
Kafka
Kafka (event streams)
Kafka implements an event stream: a partitioned, retained, replayable log. In this sprint you defend the log design, not the logo. If the business need is a command with a DLQ and one worker pool, a queue may be simpler. If the need is a current-state query, an API on a read model is simpler.
Keys and partitions
The key is the ordering invariant and the throughput ceiling. Per-account order means accountId. A random key 'for scale' destroys that invariant (T-11). A celebrity merchant cannot be split by adding partitions (T-19, T-20). Country code as a key is a privacy and isolation defect (T-22). Order is per partition, not per topic. Compacted topics retain the latest per key — they are not a database.
Consumers
A consumer group is competing consume of the log. A second group is an independent cursor — search, audit, warehouse — not extra threads. Commit offsets after idempotent apply. Rebalances are availability events: poll interval, batch duration, rolling deploys (T-21). Replay is a governed mode; the same binary must not email and ship (T-17).
Lag by partition, not only total — total lag hides a hot key. When the buffer hits its bound: reject, spill, or degrade. Do not sleep in the handler to 'slow down'. Infinite retry is a storm, not backpressure.
Schema
Registry with BACKWARD (or documented) compatibility. Type changes are breaks. Consumer-first required fields fill the DLQ (T-09, T-14). Enforce compatibility in CI; do not trust a ticket titled 'additive'.
Operations you must be able to name
- Lag by partition and hot-key share
- Disk on the broker that owns the hot partition
- Who may reset offsets, and how that grant is recorded in the catalog
- DR advertised listeners that are not eight months stale (T-12, T-42)
Mapping
Apache Kafka, MSK, or another log. Kinesis asks the same key/lag/replay questions. Name them first. Verify current product features at design time; do not quote folklore limits.
Outcomes
You can whiteboard partitions, groups, a hot key, and a safe replay without claiming Kafka is the enterprise bus.
Talking points and drills
- Write the key, the invariant, and the hot-key escape on one line each.
- Sketch lag by partition — total lag hides T-19.
- Describe a replay job that is a projector, not the notifier binary.
- Set poll interval above batch duration and roll deploys one member at a time.
- Enforce registry compatibility in CI; do not trust the ticket title 'additive'.
- Admit when a command queue is simpler than a log.
- Call out a country-code key as an isolation defect, not a scale trick.
- Verify current MSK or Kafka features at design time; do not quote folklore limits.
Principal add-on: who may reset offsets, and how that grant is recorded in the catalog.
Choreography and orchestration10 min
Choreography and orchestration
Choreography, Orchestration, and Sagas
Choreography lets services react to facts. Orchestration assigns a single process owner. Enterprises need both. Interviews punish the architect who hides a twelve-step onboarding inside listeners and then cannot say where the application is (AR-12, T-18).
Best for notifications and independent projections. Producer publishes OrderPlaced. Email, search, and analytics subscribe. Failure is isolated. Cost: no single status, compensation is tribal, traces need correlation ids.
Best for money, entitlements, and human waits. A workflow calls KYC, credit, provision, and compensate. Status is queryable. Timeouts and escalation are first-class (T-35). Cost: the orchestrator is a dependency and can become a new ESB if you put every mapping in it.
Sagas
A saga is the business transaction across those steps. There is no two-phase commit across queues. Each step is a local transaction plus a named undo. Compensation that 409s against a lock is not done (T-33). Timeout-retry on create without a key yields two mailboxes (T-34).
Event sourcing: the log is the source of truth; current state is a fold. Do not event-source a CRUD form because a blog did. CQRS: writes and reads are different models; lag is the contract. CQRS is not event sourcing — you can have one without the other. Do not read-your-writes from a projection you just published.
BRIDGE Evolution
If you start in choreography and the business starts asking for a Gantt chart of onboarding, lift the process. Do not add a thirteenth listener.
Mapping
Step Functions, Temporal, Camunda, or a well-operated workflow engine are mappings. EventBridge plus functions is often accidental choreography. Say that. Name a workflow engine only after the state machine is drawn.
Outcomes
You can choose a style, draw compensation, and refuse hidden control flow.
Talking points and drills
- Draw onboarding twice: twelve listeners versus one workflow with compensations.
- Ask 'where is this application?' — if the answer is Slack, orchestrate.
- Make every step and every compensate idempotent.
- Put timeout and escalation on every human wait.
- Keep notifications in choreography so the orchestrator does not become a mail server.
- Add correlation and causation ids even if you orchestrate.
- T-33 and T-34 are the failure drills for this lesson.
- Name a workflow engine only after the state machine is drawn.
A hidden process across event consumers is AR-12. Use that identifier in the mock.
BRIDGE framework11 min
BRIDGE framework
BRIDGE Framework
BRIDGE is how this sprint opens every design problem. It keeps you from leaping to a product and it gives the panel a structure they can score.
Letters
B — Business. Whose customer, money, or regulator? Name the flow in one sentence. Partner invoice land-and-post is a different flow from trader FX quote.
R — Requirements. Latency, payload size, completeness, replay, ownership, SLA, fail-open/closed. These are the decision-matrix columns. If the interviewer did not give them, ask.
I — Integration pattern. Choose one primary pattern. State rejected alternatives in the same breath. Then, and only then, map to a vendor.
D — Data/delivery. Contract: ids, version, errors or ACK, keys, retention, idempotency. Bytes versus pointers. Control plane versus data plane for files.
G — Governance. Owner, deputy, catalog, data class, who may consume, how secrets rotate.
E — Evolution. Versioning, dual-run, strangler, DR/replay, abort criteria for a migration.
How to use it in 90 seconds
Speak the six letters as headings on the whiteboard. Fill two bullets each. If you skip G and E you will sound like a senior engineer, not a Principal. If you skip R you will pick Kafka because it is familiar.
Worked 90 seconds on a 100 GB partner file (P-05): B partner settlement; R completeness over 200 ms, replay by business date; I file/MFT, reject API gateway; D control file + checksum + ACK codes; G per-partner mailbox owner; E schema version + dual-run if you change layout.
Capstone
The multi-pattern lab is a BRIDGE exercise: partner SFTP (B/R), file then event then queue then API (I), control files and order ids (D), per-partner mailbox (G), schema versions and destroyable cloud mapping (E).
Outcomes
You can run BRIDGE without notes and notice when a candidate — or a colleague — skipped a letter.
Talking points and drills
- Time a 90-second BRIDGE on P-05 (100 GB file) and P-07 (onboarding).
- If a letter is empty, that is the follow-up the panel will ask.
- G and E are how you separate Architect from Principal.
- Use rejected alternatives as the I letter, not as an appendix.
- Put catalog owner under G even in a whiteboard exercise.
- Evolution includes abort criteria, not only 'we will version it'.
- Score mocks on letter coverage, not on diagram prettiness.
- Teach the six letters to a colleague — that is the 30-day retention move.
Hang the letters on the wall for the rest of the four hours. Point at empty letters in real time.
You will
- Refuse to treat file arrival as business success
- Name duplicate identity: partner + dataset + businessDate + sequence, or transferId/checksum
File transfer12 min
File transfer
File Transfer
File transfer is a first-class integration pattern. Banking, healthcare, logistics, and regulators still exchange complete, huge, dated artifacts. Treating MFT as 'legacy we will kill' is how architects fail interviews in those industries.
When it is the pattern
100 GB partner datasets, mainframe clearing files, claim image batches, nightly invoices. The partner already speaks SFTP/FTPS/AS2. Completeness matters more than 200 ms. After the file is valid, you may emit an event — the exchange itself is still a file.
When it is not
Real-time price quotes. Holding an HTTP request while you drop a file and wait for a reply file (AR-04). Using a shared folder as an API.
Platform, not a directory
Per-partner identity, host keys, landing prefixes, scan, validate, ACK, quarantine, catalog owner. Shared mailboxes are a data leak (AR-17). Arrival is not posted (AR-14).
Session metadata and ACK live on the control plane. Bytes live on the data plane. Do not mix the clocks. Validators subscribe to object-closed, not to a control ping that the bytes might still be writing. Page the control plane when the partner cannot connect; page the data plane when the hash fails.
BRIDGE Data/delivery
Control file, checksum on raw bytes, schema version, NACK codes, dedupe on hash and business keys. Large files stream; they do not DOM-parse (T-29). ACK codes from memory: ACCEPTED, REJECTED, DUPLICATE, PARTIAL, OVERSIZE.
Mapping
MFT appliances, AWS Transfer Family plus S3, or a well-run SFTP fleet. Product after pattern. Verify current Transfer Family features at deploy time. Map only after the prefixes and states are named.
Outcomes
You can defend file as a pattern with a straight face and then connect it to events so the rest of the estate is not SFTP-shaped.
Talking points and drills
- Defend MFT to a panel that only wants Kafka — use completeness and partner capability.
- Draw control plane versus data plane: bytes never ride the broker.
- Require per-partner mailbox and host-key pin before you discuss parsers.
- State ACK codes from memory: ACCEPTED, REJECTED, DUPLICATE, PARTIAL, OVERSIZE.
- Connect a valid file to a domain event so the estate does not stay SFTP-shaped.
- Refuse file-poll inside a user request (AR-04) without mocking the partner.
- Map Transfer Family + S3 only after the prefixes and states are named.
- Assign quarantine an owner and an SLO in the same breath as landing.
This lesson is why the sprint exists beside the Serverless and Solutions Architect courses. Do not rush it.
File lifecycle12 min
File lifecycle
File Lifecycle
A file has states. If your architecture has only 'in the folder', you will post partials, duplicates, and garbage.
States
- Open — bytes may be incomplete. The object must not be visible to validators.
- Closed — session succeeded; size known.
- Scanned — malware and content-type.
- Validated — schema, checksum, duplicates.
- Accepted — ACK to partner; technical success.
- Applied — ledger or domain write; business success.
- Quarantine / NACK — reason code, owner, SLO.
Watch closed, not first-byte create. T-25 is a failed session that still left a visible partial because someone watched the wrong event.
Technical ACK versus posted
Control totals and checksums are on raw bytes. If count matches and hash fails, suspect transforms. ACK codes the partner can parse. A ticket is not an ACK. Put ACK on Accepted, not on Landing. Put the domain event after Accepted or Applied — say which and why.
Integrity
Hash before transform. Agree line endings. Dedupe on more than filename (T-26, T-27). Missing-by-SLA means search DR and lab hostnames, not only prod (T-28, T-32).
FLOW on a missing file
Find the business file (positions by 18:00). Locate landing versus DR versus lab. Observe session logs and fingerprints. Work recovery: NACK, promote under governance, or fail the SLA with a cause.
Outcomes
You can narrate a file from first byte to posted invoice and point to the exact state a defect belongs to.
Talking points and drills
- Walk T-25 through T-32 against the state machine.
- Put the watcher on closed, never on first byte.
- Hash raw landed bytes; transform after verify.
- Dedupe on checksum and invoice id, not on filename.
- Search DR and lab when prod has no session and the partner has a log.
- NACK is a message with codes, not a phone call.
- Declare whether the domain event fires on Accepted or Applied.
- Quarantine older than the SLO is a page, not a folder.
If they cannot point to the state a defect belongs to, they do not yet own MFT.
Batch and CDC11 min
Batch and CDC
Batch and CDC
Batch and CDC are data-movement patterns. They are not replacements for domain APIs and they are not 'the modern way' to do onboarding.
CDC means change data capture: you stream committed database changes instead of asking the app to emit events.
Batch
A scheduled, complete, restartable unit: regulatory extract, settlement, catalog snapshot. The business date closes. Replay is re-run for date D with idempotent apply. Late arrivals need a rule: next day or restatement file. SLA decides. Streaming is not a seniority badge. Completeness often beats freshness.
CDC
Committed database changes as a stream. Honest when producers will not emit events and analytics cannot poll OLTP. Dangerous when the physical table becomes the enterprise contract. Deletes, schema change, and the initial snapshot are part of the CDC contract, not surprises. Lag of the change stream is an SLO, not a hope.
Turn a row image into CustomerAddressChanged. Do not publish raw tables to every team. The ACL — the anti-corruption layer — owns versioning of the foreign contract. Downstream teams consume your facts, not their columns. Publish OrderPlaced, not TheEnterpriseOrder with two hundred optional fields.
Versus streams of domain events
If you own the write, emit the fact. CDC is a catch-up and a warehouse feed, not a public integration style.
Mapping
Schedulers and warehouses for batch. Debezium-style or AWS DMS-style connectors for CDC — verify current capabilities; do not hard-code limits. Map after the leak-of-table-design risk is spoken.
Outcomes
You can tell a VP when nightly is enough and when CDC is a compromise, and you will not sell CDC as a domain model.
Talking points and drills
- Ask whether the business bought freshness or a closed date.
- Restart a settlement job by business date and show idempotent apply.
- Put an anti-corruption publisher in front of any CDC other domains will see.
- List deletes, snapshot, and schema change as CDC contract clauses.
- Do not propose CDC for a nightly catalog the consumers reload at 03:00.
- Do not propose batch for a fraud decision the user is waiting on.
- Lag of the change stream is an SLO, not a hope.
- Map DMS or Debezium after the leak-of-table-design risk is spoken.
Close by saying when you would rather fund domain events than a CDC platform.
You will
- Keep a correlation id across SFTP, object store, event, queue, and API
- Recover with FLOW: find the business flow, locate the domain, observe signals, work replay
Reliability and governance12 min
Reliability and governance
Reliability, Security, and Governance
Reliability is what you do when delivery is at-least-once and humans are imperfect. Governance is how the estate remembers owners, contracts, and rotations. This module is the Principal filter.
Reliability minimum
Idempotency at every side effect. Retry budgets, not retry forever (AR-15). DLQ or quarantine with a page (AR-08, T-31). Timeouts on every wait step (T-35). Replay that cannot ship twice (T-17).
Money and regulatory files need a second, dated truth. Run by business date. Name the join keys and who owns unmatched rows. A dashboard that is 12 seconds live and unreconcilable is worse than a closed nightly file.
Security minimum
Per-flow identity (AR-09, T-37). Authorization on topics and mailboxes (T-38). No PAN in logs (T-39). Host keys and certificates on a calendar (T-24, T-36). Partner isolation on SFTP (AR-17). Shared admin credentials are an incident type, not a convenience.
Governance minimum
A catalog row before production (AR-13, T-40). Version policy. Dual-run before ESB retirement (AR-19, T-41). DR that includes files and rules, not only VMs (AR-20, T-42). Age of DR config is a KPI; VM ping is not.
Do not lift the bus. Strangle flow by flow. Dual-run until the contract and the owner have moved. Abort if reconciliation fails. Keep the file mailbox if the partner still speaks SFTP. Modernize the handoff, not the politics.
Interview
Principal answers change the operating model: attestation, abort rules, secret scanning, catalog-driven ACLs. Senior answers add a DLQ. Both are needed; only one is sufficient for the top band.
Outcomes
You can audit an estate for the twenty architecture-review sins and propose a sequenced fix, not a catchy line.
Talking points and drills
- Audit a fictional estate against AR-07 through AR-20 in ten minutes.
- Pair each reliability control with the FLOW card that proves it.
- Write a catalog row for the invoice flow before you draw more boxes.
- Treat shared admin credentials as an incident type, not a convenience.
- Demand a dual-run and an abort rule before any ESB retirement date.
- Age of DR config is a KPI; VM ping is not.
- Principal answers change the operating model, not only the retry count.
- Assign a deputy owner while the primary is on leave — T-40 is an org design.
This is the module that decides the mock mode. Do not spend it on vocabulary.
FLOW framework12 min
FLOW framework
FLOW Framework
FLOW is how this sprint works an incident. It stops the 'restart Kafka' reflex and it gives instructors a scorecard.
Letters
F — Find the failed business flow. Home-screen balance, invoice post, onboarding, nightly positions. Not 'the cluster is red'.
L — Locate the domain. API hop, queue, partition, mailbox, saga step, gateway rewrite. One estate can be red in five places; pick the one that explains the customer.
O — Observe signals. Metrics first (p95, depth, lag by partition, arrival versus SLA), then logs and traces, then the contract (schema, key, ACK). Hidden context stays hidden until you have a hypothesis.
W — Work recovery. Immediate safe action (feature flag, NACK, kick a consumer, restore a host key). Then mitigation, long-term fix, governance, prevention. Do not skip the last two in a Principal mock.
A correlation id must survive API, queue, file ACK, and consumer. Dashboards without a join key are decoration. Age without depth is poison. Depth without errors is capacity. Zero matches is routing.
Order
Do not rotate every partner key because one supplier cannot connect. Do not reset offsets to fix a hot key. Do not declare DR successful because VMs ping.
Practice
Forty-two scenarios in this sprint are written as FLOW cards. Say the letters. Then ask for the metric you would plot. Instructors will withhold hidden context until you have earned it. Pair T-12 (broker down) with the outbox question so they do not fail the user API after a file was already ACCEPTED.
Outcomes
You can run a thirty-minute incident interview without guessing, and you can teach FLOW to a team the following Monday.
Talking points and drills
- Run T-01 and T-28 out loud using only the four letters as headings.
- Withhold hidden context until the candidate names a metric.
- Punish restart-the-broker as step one unless the broker is actually down.
- Require a safe immediate action that does not rotate every partner.
- Score Principal on governance and prevention, not only on the root cause.
- Keep file and Kafka cards in the mix so API specialists cannot hide.
- After recovery, ask what catalog field would have shortened the incident.
- Teach FLOW to the team the next Monday — that is the operating-model win.
- Pair T-12 (broker down) with the outbox question so they do not fail the user API.
- Close every card with a regression test they would automate.
If they cannot find the business flow, do not let them open dashboards yet.
Integration platform11 min
Integration platform
Integration Platform
A platform is a product for other engineers: connectivity, policy, observability, catalog, and paved paths for the nine patterns. It is not a place that owns every transform (AR-03) and not a single canonical XML (AR-11).
What the platform owns
Identity issuance, gateway and MFT baselines, schema registry, golden signals, catalog APIs, secret scanning, and reference implementations (idempotent worker, file promote, outbox). Quotas and grants.
What domains own
Business contracts, transforms that encode their rules, consumer lists they care about, and the saga that is their process. The platform does not hide those in an ESB map only three people understand.
Thin versus thick
Thick ESBs die under change calendars. Thin platforms plus domain services evolve. Modernization is a strangler of flows, not a holiday cutover (AR-19).
Self-service
A team should be able to request a mailbox, a topic grant, or a client id without a six-week ticket — and still be unable to read a PAN topic without a data-class review.
Mapping
You can build this on AWS (API Gateway, Transfer Family, EventBridge, MSK, SQS) or on a mix. The platform is the operating model. Services are mappings. Control-plane outage should not silently drop the data plane — say the fail-open or fail-closed choice.
Outcomes
You can describe a platform that enables BRIDGE and FLOW instead of a bus that hides them.
Talking points and drills
- Separate paved paths from domain-owned transforms on the board.
- Show a self-serve mailbox request that still cannot read a PAN topic.
- List golden signals the platform must emit for FLOW to work.
- Refuse a thick ESB map as the definition of 'platform'.
- Fund a schema registry and a catalog API before you fund another adapter.
- Describe how broker telemetry creates catalog candidates for attestation.
- Modernize by flow, with dual-run, not by a platform rebrand.
- Name AWS services only as mappings under those paved paths.
Platform Architect mode in the mock lives here. Bring an abort rule.
Download the full lab (all code)
Multi-pattern enterprise integration lab: partner SFTP to MFT, validate, quarantine or apply, publish events, queue fulfillment, query orders. Unzip and run pytest locally with fakes. Optional destroyable Terraform. BayLearn does not execute candidate AWS accounts.
Download multi-pattern-enterprise-integration-lab.zipYou will
- Run the local lab path without live AWS keys
- Prove a replayed file does not create a second order
Lab 501 — Multi-pattern enterprise integration (LAB-EIA-501)40 min
Lab 501 — Multi-pattern enterprise integration (LAB-EIA-501)
Capstone — LAB-EIA-501
The capstone is LAB-EIA-501: Multi-Pattern Enterprise Integration. Default path is local, in-process fakes, no cloud account. Optional Terraform maps the same patterns to AWS and must be destroyed after class.
Flow
Partner --SFTP--> MFT --> Object store --> Validate
├ valid --> Order apply --> Domain event
│ ├ queue --> Fulfillment
│ ├ notification
│ └ audit
└ invalid --> Quarantine --> Alert
Internal consumer --REST--> Order queryWhat you prove
A valid control+data pair becomes one order under retry. A duplicate checksum ACKs DUPLICATE. A bad schema quarantines. The query API shows state after the async apply, not before. Replay of the event does not enqueue a second pick if the worker is idempotent.
Cost warning
The local lab is the default. Optional cloud resources cost money. Do not leave Transfer Family, buckets, or queues running. Do not hard-code service quotas or list prices in notes or Terraform comments that pretend to be current.
Security
Synthetic CSV only. Example secrets, never partner credentials. Least-privilege IAM in Terraform. Quarantine never silently discards.
Outcomes
You have run the path you drew in the architecture challenge and you can talk about it in the mock with evidence.
Talking points and proof
- Run the local pytest path; do not require an AWS account for credit.
- Prove duplicate checksum → DUPLICATE ACK and zero second orders.
- Prove bad schema → quarantine + alert, never silent drop.
- Prove GET /orders/{id} stays empty until apply finishes.
- Prove event replay does not double the fulfillment command.
- If you apply Terraform, destroy it in the same sitting.
- Keep fixtures synthetic; no partner secrets in the repo.
- Bring one captured log line (redacted) into the mock as evidence.
The capstone exists so the architecture challenge is not theater. Finish with a passing local run.
Lab README
Lab README
Lab — Multi-pattern enterprise integration (LAB-EIA-501)
text
Partner --SFTP--> MFT landing --> object store --> validate (schema, checksum, size)
├ valid --> idempotent order apply --> OrderCreated
│ ├ queue fulfillment
│ ├ notification
│ └ audit
└ invalid --> quarantine --> alert
Internal consumer --REST--> GET /orders/{id}
Failure: nack → retries → DLQ → idempotent replayVendor-neutral first: file + validate + event + queue + API. AWS (Transfer Family, S3, EventBridge, SQS, Lambda, DynamoDB, API Gateway) is an optional mapping after the patterns are named.
This is a BayLearn Interview Sprint lab, not an AWS certification lab. Prove the business flow locally with pytest. Live AWS is optional and must be destroyed the same day.
Cost warning
The default path is local Python. It creates no cloud resources.
Optional terraform apply creates Transfer Family, S3, EventBridge, SQS, Lambda, DynamoDB, API Gateway, KMS, and CloudWatch in your account.
- Destroy the same day. Do not leave a Transfer Family server or EventBridge rule running overnight.
- Never run uncontrolled load tests against the student API or SFTP endpoint.
- Synthetic CSV only (
ORD-1001/CUST-1/SKU-A). No partner credentials, no production files, no PAN. - Tag everything
Project=baylearn-eia-lab(the Terraform in this pack already does). - Do not commit credentials,
terraform.tfvars, or*.tfstate. - Verify current AWS service capabilities in the target region at apply time. This pack does not claim quotas.
What you build
| Path | What it is |
|---|---|
integration/file_intake.py | Receive a complete file (reject partial), land metadata + checksum, run the hop |
integration/validate.py | CSV schema order_id,customer_id,product_id,quantity,amount + checksum + size |
integration/duplicates.py | Logical identity: partner + dataset + businessDate + sequence or transferId/checksum |
integration/quarantine.py | Invalid files are quarantined and alerted — never silently discarded |
integration/process_orders.py | Idempotent apply by order_id + transferId |
integration/events.py | OrderCreated envelope with eventId, eventType, eventVersion, source, occurredAt, correlationId, causationId, tenantId, data |
integration/queue.py | Enqueue fulfillment / notification / audit; ack; nack to DLQ after max retries |
integration/api.py | GET /orders/{id}, list by customer; 404 {code, message, correlationId} |
integration/replay.py | Replay file or DLQ message without duplicate side effects |
integration/logging_util.py | JSON logs; redact PAN-like values and secret keys |
integration/security.py | Partner auth, folder isolation, deny cross-tenant |
integration/store.py | In-memory files, orders, events, queues, DLQ, processed ids, partners |
terraform/ | Optional AWS mapping — documented as optional |
scripts/local_server.py | Tiny HTTP API on :8080 with no AWS |
scripts/demo.sh | pytest + an in-process demo |
tests/ | pytest, no AWS / no boto3 |
1. Prove it locally (no AWS)
bash
cd labs/multi-pattern-enterprise-integration
python3 -m pip install -q -r requirements-dev.txt
python3 -m pytest -q
chmod +x scripts/demo.sh
./scripts/demo.shFrom the repo root:
bash
make labOptional HTTP API:
bash
python3 scripts/local_server.pyhttp
GET /health
GET /orders/{orderId}
GET /customers/{customerId}/orders
POST /filesPOST /files accepts a JSON body with partnerId, token, folder, metadata, content, and complete. Use header X-Correlation-Id. Synthetic token only: synthetic-acme-token.
2. Optional Terraform (same day, then destroy)
Terraform is optional. Skip it unless you are practicing the AWS mapping after BRIDGE.
bash
cd terraform
cp terraform.tfvars.example terraform.tfvars
# set name_prefix to your initials, lowercase
# generate a lab SSH public key for Transfer Family (never commit the private key)
terraform init
terraform applyTear it down before you walk away:
bash
terraform destroySee cleanup.md.
Validation
- Partial file (
complete=False) is rejected and alerted; no orders - Valid CSV creates one order per row,
OrderCreatedevents, and three queues - Same partner + dataset + businessDate + sequence is a duplicate — order count does not grow
- Same transferId or checksum is a duplicate
- Bad schema or checksum mismatch → quarantine + alert (not a silent drop)
- Replay of the same file does not emit a second
OrderCreated - Three nacks → DLQ; replay of that message is idempotent on the second redrive
GETunknown order → 404{code, message, correlationId}- Unauthorized partner, wrong folder, and cross-tenant drop are denied
- Logs redact
token,password, and PAN-like numbers
Interview talking points
- Name the pattern (file, validate, event, queue, API) before you name AWS.
- Arrival is not success. Validate schema, checksum, and size; ACK/NACK the partner.
- Duplicate detection is a business identity, not “the object key looks new.”
- Idempotency key for orders is
order_id+transferId. File replay must not double-fulfill. - Correlation IDs ride every hop: intake, event, queue, API, logs.
- Quarantine without an alert is a silent discard. Say that out loud.
Synthetic data only
Use fixtures/orders_valid.csv and fixtures/orders_invalid.csv. Partner acme / tenant tenant-acme / token synthetic-acme-token. No real SFTP passwords, no production files.
Cleanup
See cleanup.md. Short version: local needs Ctrl-C only; optional cloud needs terraform destroy.
Cleanup
Cleanup
Cleanup
Destroy optional AWS resources the same day. The local path has nothing to bill.
Cost warning
Optional Terraform creates Transfer Family, S3, EventBridge, SQS, Lambda, DynamoDB, API Gateway, KMS, and CloudWatch in your account. Leave that stack overnight and you will be surprised. Destroy it before you walk away. Do not run load tests.
Local
Stop scripts/local_server.py with Ctrl-C. pytest uses an in-memory store. No AWS resources.
Terraform
bash
cd terraform
terraform destroyConfirm your prefix is gone (replace YOURPREFIX):
bash
aws transfer list-servers --query "Servers[?contains(Domain, \`S3\`)]"
aws s3 ls | grep YOURPREFIX
aws lambda list-functions --query "Functions[?starts_with(FunctionName, \`YOURPREFIX\`)].FunctionName"
aws dynamodb list-tables --query "TableNames[?contains(@, \`YOURPREFIX\`)]"
aws sqs list-queues --queue-name-prefix YOURPREFIXKMS keys stay in a 7-day pending deletion window. That is expected. Pick a new name_prefix if you re-apply before the key is gone.
Log groups are created with 7-day retention. After destroy they should be deleted with the stack. If a log group was created outside Terraform:
bash
aws logs delete-log-group --log-group-name /aws/lambda/YOURPREFIX-intakeEmpty and delete a leftover bucket only if destroy failed mid-way:
bash
aws s3 rb s3://YOURPREFIX-landing --forceDo not
- Leave Transfer Family + EventBridge “for the weekend”
- Run load tests against the student SFTP or API
- Commit
*.tfstate,terraform.tfvars, access keys, or SSH private keys - Copy production partner files into a student account
Architecture
Architecture
Multi-pattern enterprise integration — architecture
What this lab is (and is not)
| Production (interview whiteboard) | This student lab |
|---|---|
| Partner SFTP to a managed file-transfer platform | receive_file + folder isolation in security.py |
| Landing bucket with promote / quarantine prefixes | In-memory store.files with status landing / processed / quarantine |
| Antivirus + schema + control-file checksum | CSV schema, SHA-256, size limit (synthetic CSV only) |
| Domain event bus + competing-consumer queue | In-process event list + fulfillment / notification / audit queues |
| Order query API after async apply | integration/api.py + scripts/local_server.py |
| AWS Transfer Family + S3 + EventBridge + SQS + Lambda + DynamoDB + API Gateway | Optional Terraform mapping — verify capabilities at apply time |
The business flow is what you defend in the interview. AWS is a mapping after BRIDGE.
text
Partner authenticates to a per-tenant MFT folder
│ complete file only (partial session is rejected + alerted)
▼
Object store landing (metadata + checksum + correlationId)
│
├ duplicate (partner+dataset+businessDate+sequence OR transferId/checksum)
│ → record duplicate, no new orders
│
├ validate fail (schema / checksum / size)
│ → quarantine + alert (never silent discard)
│
└ validate ok
▼
Idempotent order apply (order_id + transferId)
│
├ domain event OrderCreated
├ queue fulfillment (command, competing consumers)
├ notification
└ audit
▼
GET /orders/{orderId} (404 → {code, message, correlationId})BRIDGE framing
- Business — logistics partner lands nightly and ad-hoc order files; fulfillment must pick once; internal teams query current order state.
- Requirements — complete-file visibility, checksum, duplicate identity, idempotent apply, ACK/NACK, correlation.
- Integration pattern — File / MFT → validate (workflow) → event (pub/sub fact) → queue (fulfillment command) → API (current-state read).
- Data/delivery — CSV contract, SHA-256, logical file key, event envelope, problem+json 404.
- Governance — per-partner folder, tenant isolation, redacted logs, quarantine owner alert.
- Evolution — replay without side effects; AWS mapping is optional and destroyable.
Logical file identity
A file is the same business object when either:
partnerId + dataset + businessDate + sequence, ortransferIdor contentchecksum
A new object key is not a new file. Duplicate detection runs after a complete land and before order apply.
Idempotency
| Key | Protects |
|---|---|
order:{orderId}#{transferId} | Order apply and OrderCreated |
event:OrderFileAccepted:{fileId} | File-accepted fact |
{queue}:order:{orderId}#{transferId} | DLQ redrive of fulfillment / notification / audit |
SQS/local queues are at-least-once. Replay of a file or a DLQ message must not double-charge, double-pick, or emit a second OrderCreated.
Event envelope
Every domain event carries:
eventId, eventType, eventVersion, source, occurredAt, correlationId, causationId, tenantId, data
correlationId is minted at intake (or taken from X-Correlation-Id) and copied onto orders, events, queue messages, API responses, and JSON logs.
Queues vs events
- Event (`OrderCreated`) — a fact. Many listeners may react independently.
- Fulfillment queue — one command, competing consumers, visibility / receive count, DLQ after
max_receive_count(3 in this lab). - Notification and audit are separate queues in the fake so you can show fan-out without pretending a queue is a bus.
Security
- Partner token must match the directory. Failed auth is
UNAUTHORIZED_PARTNER. - Folder must be in the partner’s allow-list (
inbound/ordersfor the synthetic tenants). Wrong folder isFOLDER_DENIED. tenantIdon the drop must match the partner. Cross-tenant isCROSS_TENANT.- GET with the wrong tenant returns 404 (do not leak existence).
- Logs redact PAN-like digit runs and keys such as
token,password,authorization,card_number.
Optional AWS mapping (after the patterns)
| Pattern | Optional AWS mapping |
|---|---|
| Partner SFTP / MFT | Transfer Family (SFTP) into an S3 landing prefix |
| Object store | S3 prefixes landing/, validated/, quarantine/ |
| Object-closed signal | S3 EventBridge notification → EventBridge rule |
| Validate / apply | Lambda (Python). Confirm the current runtime in the region at apply time. |
| Domain events | EventBridge custom bus |
| Fulfillment command | SQS + DLQ (maxReceiveCount = 3) |
| Order read model | DynamoDB on-demand |
| Internal query API | API Gateway HTTP API |
| Encryption / observability | Customer-managed KMS, CloudWatch logs (7-day retention), DLQ alarm |
Do not hard-code account IDs, list prices, or service quotas. Verify what the account and region support before apply.
Synthetic data only
fixtures/orders_valid.csv and fixtures/orders_invalid.csv. Tokens in this lab are labeled synthetic-*. They are not credentials for any real partner system.
Failure drill
Failure drill
Failure drill
Use FLOW: Find the failed business flow, Locate the domain, Observe signals (correlation id, checksum, receive count, quarantine alert), Work recovery (replay without duplicate side effects).
All drills below run locally unless marked optional AWS. Synthetic CSV only.
Partial file (SFTP session not closed)
complete=False is a transfer still open. The lab rejects it, records rejected_partial, and raises PARTIAL_FILE_REJECTED. Orders stay at zero.
bash
cd labs/multi-pattern-enterprise-integration
python3 -m pytest -q tests/test_file_arrival.pyInterview line: arrival of bytes is not success. Do not validate or ACK a partial object.
Schema / checksum / size → quarantine + alert
Invalid quantity, missing columns, checksum mismatch, or oversize files go to quarantine. An alert is always written. Nothing is dropped on the floor.
bash
python3 -m pytest -q tests/test_validation.py tests/test_quarantine.pyInterview line: quarantine without a page is a silent discard.
Duplicate file
Same partner + dataset + businessDate + sequence, or the same transferId / checksum, must not create a second order set.
bash
python3 -m pytest -q tests/test_duplicates.py tests/test_idempotency.pyInterview line: the logical file identity is a business key, not the object key.
Worker nack → DLQ → replay
Fulfillment nacks increment receiveCount. On the third nack the message is on the DLQ. replay_message redrives once; a second redrive is a no-op.
bash
python3 -m pytest -q tests/test_events_queue.py tests/test_dlq_replay.pyInterview line: at-least-once delivery plus an idempotency key is how you get exactly-once *effects*.
Unauthorized partner / wrong folder / cross-tenant
Unknown partner, wrong token, inbound/payroll for a partner allowed only inbound/orders, or tenantId=tenant-globex on an acme drop are all denied. Failed auth logs redact the token.
bash
python3 -m pytest -q tests/test_security.pyAPI 404
GET of an unknown order (or another tenant’s order) returns:
json
{"code":"ORDER_NOT_FOUND","message":"order not found","correlationId":"corr-404"}bash
python3 -m pytest -q tests/test_api.pyOptional AWS-only drills (same day, then destroy)
- Upload a partial object (multipart left open, or a
.filepartname) — the validator must not treat it as a complete land. - Put a second object with a new key but the same control
transferId— duplicate, no second DynamoDB order. - Force the fulfillment Lambda to fail three times — DLQ alarm
ApproximateNumberOfMessagesVisible > 0, then redrive. Order count must stay flat.
Put the lab back, then terraform destroy the same day. See cleanup.md.
Read the lab source
Same files as the zip. Open one at a time — map the function to the interview sentence.
File intake
python
"""Receive a complete partner file (reject partial), land metadata and checksum, then ingest."""
from __future__ import annotations
from typing import Any
from integration.duplicates import find_duplicate, identity_fields
from integration.logging_util import log_json
from integration.process_orders import process_file
from integration.quarantine import quarantine, reject_partial
from integration.security import SecurityError, authorize_drop
from integration.store import MemoryStore, get_store, new_correlation_id, new_id, now_iso
from integration.validate import sha256_bytes, size_bytes, validate_csv
def receive_file(
store: MemoryStore,
*,
partner_id: str,
token: str,
folder: str,
metadata: dict[str, Any],
content: str | bytes,
complete: bool,
correlation_id: str | None = None,
tenant_id: str | None = None,
) -> dict[str, Any]:
"""Land a file in the object-store fake. Partial transfers are rejected, never processed."""
cid = correlation_id or new_correlation_id()
partner = authorize_drop(
store,
partner_id=partner_id,
token=token,
folder=folder,
tenant_id=tenant_id,
)
text = content if isinstance(content, str) else content.decode("utf-8")
checksum = sha256_bytes(text)
nbytes = size_bytes(text)
ident = identity_fields(metadata, checksum)
file_id = new_id("file")
record = {
"fileId": file_id,
"transferId": str(metadata.get("transferId") or file_id),
"partnerId": partner["partnerId"],
"tenantId": partner["tenantId"],
"dataset": str(metadata.get("dataset") or "orders"),
"businessDate": str(metadata.get("businessDate") or ""),
"sequence": metadata.get("sequence"),
"folder": folder,
"filename": str(metadata.get("filename") or ""),
"checksum": checksum,
"expectedChecksum": metadata.get("expectedChecksum"),
"sizeBytes": nbytes,
"complete": bool(complete),
"status": "landing" if complete else "rejected_partial",
"logicalKey": ident["logicalKey"],
"alternateKeys": ident["alternateKeys"],
"correlationId": cid,
"content": text if complete else "",
"receivedAt": now_iso(),
"updatedAt": now_iso(),
}
stored = store.put_file(record)
log_json(
"info",
"file received" if complete else "partial file seen",
correlationId=cid,
fileId=file_id,
partnerId=partner_id,
folder=folder,
checksum=checksum,
complete=complete,
transferId=stored["transferId"],
)
if not complete:
outcome = reject_partial(store, stored, correlation_id=cid)
return {
"status": "rejected_partial",
"file": outcome["file"],
"alert": outcome["alert"],
"correlationId": cid,
"orders": [],
}
return {"status": "landing", "file": stored, "correlationId": cid, "orders": []}
def ingest_file(
store: MemoryStore,
*,
partner_id: str,
token: str,
folder: str,
metadata: dict[str, Any],
content: str | bytes,
complete: bool = True,
correlation_id: str | None = None,
tenant_id: str | None = None,
) -> dict[str, Any]:
"""Full hop: auth → receive → duplicate check → validate → process or quarantine."""
cid = correlation_id or new_correlation_id()
try:
received = receive_file(
store,
partner_id=partner_id,
token=token,
folder=folder,
metadata=metadata,
content=content,
complete=complete,
correlation_id=cid,
tenant_id=tenant_id,
)
except SecurityError as exc:
log_json("warn", "ingest denied", correlationId=cid, partnerId=partner_id, code=exc.code)
return {
"status": "denied",
"code": exc.code,
"message": exc.message,
"correlationId": cid,
"orders": [],
"file": None,
}
if received["status"] == "rejected_partial":
return received
file_record = received["file"]
prior = find_duplicate(
store,
{**metadata, "partnerId": file_record["partnerId"]},
file_record["checksum"],
exclude_file_id=file_record["fileId"],
)
if prior:
store.update_file(file_record["fileId"], status="duplicate", duplicateOf=prior["fileId"])
log_json(
"info",
"duplicate file detected",
correlationId=cid,
fileId=file_record["fileId"],
duplicateOf=prior["fileId"],
logicalKey=file_record.get("logicalKey"),
transferId=file_record.get("transferId"),
)
return {
"status": "duplicate",
"file": store.get_file(file_record["fileId"]),
"duplicateOf": prior,
"correlationId": cid,
"orders": [],
}
partner = store.get_partner(file_record["partnerId"]) or {}
max_bytes = int(partner.get("maxFileBytes") or store.max_file_bytes)
validation = validate_csv(
file_record["content"],
expected_checksum=file_record.get("expectedChecksum"),
max_bytes=max_bytes,
actual_checksum=file_record["checksum"],
)
if not validation["ok"]:
outcome = quarantine(store, file_record, validation["errors"], correlation_id=cid)
return {
"status": "quarantine",
"file": outcome["file"],
"alert": outcome["alert"],
"reasons": outcome["reasons"],
"correlationId": cid,
"orders": [],
}
store.update_file(file_record["fileId"], status="validated", validatedAt=now_iso())
file_record = store.get_file(file_record["fileId"]) or file_record
processed = process_file(store, file_record, validation["rows"], correlation_id=cid)
return {
"status": "processed",
"file": store.get_file(file_record["fileId"]),
"correlationId": cid,
"orders": processed["orders"],
"created": processed["created"],
"skipped": processed["skipped"],
}
def lambda_handler(event: dict[str, Any], context: Any, store: MemoryStore | None = None) -> dict[str, Any]:
"""Optional EventBridge/S3 mapping. Local tests pass a synthetic detail payload — no boto3."""
store = store or get_store()
detail = event.get("detail") or event
meta = detail.get("metadata") or {}
return ingest_file(
store,
partner_id=str(detail.get("partnerId") or meta.get("partnerId") or ""),
token=str(detail.get("token") or ""),
folder=str(detail.get("folder") or meta.get("folder") or "inbound/orders"),
metadata=meta,
content=str(detail.get("content") or ""),
complete=bool(detail.get("complete", True)),
correlation_id=detail.get("correlationId"),
tenant_id=detail.get("tenantId"),
)Architecture challenge15 min
Architecture challenge
Architecture Challenge
This is the live design hour. You will be given an estate: partners who file, internals who want APIs, fulfillment that needs commands, and auditors who want replay. You will not be given a product list to circle.
The brief
Partner SFTP lands order files. MFT must isolate tenants. Object storage holds landing, validated, and quarantine prefixes. Validation is a workflow with checksum and schema. Success emits facts and a fulfillment command. Internals query current order state on an API. Failure NACKs and pages.
How you are scored
BRIDGE completeness. Rejected alternatives (no 10 GB POST, no everything-Kafka). File lifecycle and ACK. Idempotency keys on file and order. DLQ and quarantine. Correlation ids. A one-page ADR. AWS mapping only after the patterns.
Timebox (45 minutes)
| Minutes | Move |
|---|---|
| 0–8 | Clarify SLA, ACK, idempotency key, RPO |
| 8–25 | Draw flow, prefixes, four contracts |
| 25–35 | Failure, replay, broker-down after ACCEPTED |
| 35–40 | Mapping and cost warning |
| 40–45 | Questions |
Four contracts to write
- File — control totals, checksum, ACK codes, transfer id.
- Event —
OrderPlacedenvelope, key, compatibility. - Command — fulfillment queue, visibility, DLQ, command id.
- API —
GET /v1/orders/{orderId}, 404 until applied, problem+json.
Anti-goals
Do not invent a canonical enterprise XML. Do not skip quarantine ownership. Do not claim exactly-once because you chose a popular broker.
Outcomes
A defended multi-pattern design you can reuse in the mock and on the job.
Talking points and timebox discipline
- Clarify SLA, ACK, idempotency key, and RPO before you draw.
- Draw prefixes: landing, validated, quarantine — not one bucket.
- Show the valid path and the invalid path as first-class.
- Write four contracts: file, event, command, API.
- Call out partial-file, checksum-after-transform, and replay duplicates.
- Map to Transfer Family / S3 / EventBridge / SQS / API Gateway last.
- State the local default and the cost warning for optional Terraform.
- Leave a one-page ADR, not a logo slide.
- Name the owner of quarantine before you name the object-store product.
- State what happens when the broker is down after a file was already ACCEPTED.
- Call the cost warning out loud if anyone reaches for live AWS mid-session.
- End by checking the drawing: you connected a real flow, decoupled it with a pattern, governed it with a contract, and defended the failure path.
If time expires, a complete BRIDGE with thin boxes beats a pretty Kafka-only picture.
You will
- Sit a 45–60 minute architect mock
- Leave with a weighted score and a 7-day plan
Mock interview brief5 min
Mock interview brief
Mock Process
Fifty-five minutes. This is a rehearsal against the Integration Architect rubric, not a hiring prediction and not a third-party accreditation.
Modes
Senior Integration Engineer, Integration Architect, Principal Integration Architect, Enterprise Integration Architect, and Integration Platform Architect. The panel picks one. Principal and platform modes demand catalog, strangler, and abort rules — not only a correct queue.
Shape
| Minutes | Block |
|---|---|
| 10 | Readiness recap and a small pattern selection (P-series) |
| 20 | Design a multi-pattern flow with BRIDGE; they will ask for an ADR |
| 15 | A FLOW incident (file or Kafka, not only API 5xx) |
| 10 | Scorecard readout and 7/30-day plan |
How to challenge yourself
Name rejected alternatives. Ask for size and SLA if omitted. Draw ACK. Say who owns quarantine. If you map to AWS, do it last and stay honest about what you would verify. If you mapped a product in the first sentence, erase it and start at B.
Scoring
Use the Principal Architect mock scorecard download. Instructors score in the room. Do not inflate. A 3 on evolution and a 5 on patterns is a useful signal. A score here does not mean you will or will not get hired.
Outcomes
A weighted score, two weak dimensions, and a plan you will actually follow for a week.
Talking points for candidates and instructors
- Pick the mode before the clock starts; do not upgrade mid-flight to be kind.
- Require an ADR in the design block even if the diagram is strong.
- Use a file or Kafka FLOW card — API 5xx alone is too comfortable.
- Score on the published scorecard; say the number in the room.
- Principal mode: abort rule, owner, catalog, strangler sequence.
- Platform mode: paved paths and grant-not-wiki authorization.
- Write the 7-day plan before they leave; do not email it 'later'.
- Remind them this is rehearsal, not a hiring prediction.
- If they map to AWS in minute two, interrupt and return to the pattern.
- Save two minutes to ask them to reject everything-Kafka and arrival-equals-success.
- Timebox the FLOW card: they must name a metric before they get hidden context.
- If they finish early, run a second pattern card from the advanced set.
A kind mock that inflates scores wastes their next interview. Be exact.
Mock process10 min
Mock process
Mock Process
Fifty-five minutes. This is a rehearsal against the Integration Architect rubric, not a hiring prediction and not a third-party accreditation.
Modes
Senior Integration Engineer, Integration Architect, Principal Integration Architect, Enterprise Integration Architect, and Integration Platform Architect. The panel picks one. Principal and platform modes demand catalog, strangler, and abort rules — not only a correct queue.
Shape
| Minutes | Block |
|---|---|
| 10 | Readiness recap and a small pattern selection (P-series) |
| 20 | Design a multi-pattern flow with BRIDGE; they will ask for an ADR |
| 15 | A FLOW incident (file or Kafka, not only API 5xx) |
| 10 | Scorecard readout and 7/30-day plan |
How to challenge yourself
Name rejected alternatives. Ask for size and SLA if omitted. Draw ACK. Say who owns quarantine. If you map to AWS, do it last and stay honest about what you would verify. If you mapped a product in the first sentence, erase it and start at B.
Scoring
Use the Principal Architect mock scorecard download. Instructors score in the room. Do not inflate. A 3 on evolution and a 5 on patterns is a useful signal. A score here does not mean you will or will not get hired.
Outcomes
A weighted score, two weak dimensions, and a plan you will actually follow for a week.
Talking points for candidates and instructors
- Pick the mode before the clock starts; do not upgrade mid-flight to be kind.
- Require an ADR in the design block even if the diagram is strong.
- Use a file or Kafka FLOW card — API 5xx alone is too comfortable.
- Score on the published scorecard; say the number in the room.
- Principal mode: abort rule, owner, catalog, strangler sequence.
- Platform mode: paved paths and grant-not-wiki authorization.
- Write the 7-day plan before they leave; do not email it 'later'.
- Remind them this is rehearsal, not a hiring prediction.
- If they map to AWS in minute two, interrupt and return to the pattern.
- Save two minutes to ask them to reject everything-Kafka and arrival-equals-success.
- Timebox the FLOW card: they must name a metric before they get hidden context.
- If they finish early, run a second pattern card from the advanced set.
A kind mock that inflates scores wastes their next interview. Be exact.
You will
- Read the readiness report
- Practice the weakest two skills first
Feedback and 7-day plan10 min
Feedback and 7-day plan
Feedback Plan
Ten minutes. Convert the mock and the readiness band into a 7-day and a 30-day plan. Certificates in this sprint record completion — they are not a market credential and they do not predict a job offer.
7-day plan
- Day 1–2: Decision matrix plus the ten pattern exercises you missed. Speak rejected alternatives out loud. Re-draw BRIDGE from memory.
- Day 3: Contract reviews CR-01–CR-15; rewrite one API, one event, one file.
- Day 4: FLOW — six incidents in your weakest domain (often file or Kafka).
- Day 5: Capstone path again; write a one-page ADR.
- Day 6: 40 questions from the bank in that weak category.
- Day 7: A 30-minute self-mock with the scorecard.
30-day plan
Deepen governance: catalog template for three real flows at work (sanitized). Run one replay drill. Sit another mock in Principal mode if that is the target. Teach BRIDGE to a colleague — teaching is the retention mechanism.
What not to do
Do not binge all 540 questions without speaking. Do not chase vendor trivia. Do not skip file transfer because you 'do APIs'.
Outcomes
A written plan, a certificate of sprint completion if you finished the path, and a clear next mock date.
Talking points for the last ten minutes
- Two weakest scorecard dimensions become the 7-day spine.
- Schedule the next mock before you talk about certificates.
- Assign one real (sanitized) catalog row at work as the 30-day artifact.
- Forbid a silent binge of 540 questions.
- If files were weak, the week is MFT, not more REST trivia.
- If evolution was weak, the week is ADRs and a strangler sketch.
- Certificate language: completion of this sprint, not accreditation.
- Send them out with a date, not a vibe.
- Point them at the decision matrix and the 42 FLOW cards, not at a generic blog list.
- If Principal coaching is the next buy, say so only after the scorecard justifies it.
- Offer the cheat sheet and the file ACK model as the first two downloads they open tonight.
Write the plan on a shared note they can screenshot. Then stop talking.
Pricing
Choose a delivery mode. BayAreaLa8s invoices after you request a session.
This text is a draft. It is not a current BayLearn offer and it does not change existing bookings. Read the draft refund policy
Self-paced
Small group
Live 1:1
$449
Introductory $399
Book a session
Request a slot. Invoicing is handled by BayAreaLa8s after the request — no Stripe checkout.