BayLearnBayAreaLa8s

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

4-Hour Live 1:1 Architect Intensive
APIs + Kafka + SFTP/MFT + Events
BRIDGE + FLOW frameworks
Multi-Pattern Integration Lab
540+ Interview Questions
Architect Mock + Feedback

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.

Enterprise integration landscape The estate is systems plus contracts. The platform is how they meet — not a product logo in the middle. SYSTEMS Channelsapps / portals PartnersSFTP / API / EDI Core / ERPsystems of record Analyticswarehouse / lake INTEGRATION STYLES — PICK PER FLOW API Queue Pub/Sub Stream File / MFTName the style from the requirement. Map a vendor only after the contract exists. Control planecatalog, identity, policy, owners Data planepayloads, topics, files, offsetsInterview: I draw who talks to whom, then the style, then ownership. I do not open with a bus product. What do you name before you draw the first vendor box?
Enterprise integration landscape
Integration decision tree Walk the requirement, not the catalog. The first honest yes chooses the style. Wait now? APItimeout is the SLA One owner? Queuecompeting workers Many hear? Pub/Subindependent facts Replay? Streamlog + offset Filedated artifactWait now? Caller holds a clock. One owner? Exactly one worker may apply the command.Many hear? Fan-out a fact. Replay? Ordered log. Else a complete, dated artifact is a file.Rejected alternatives belong in the same sentence. 'We use Kafka' is not a decision. Which requirement picks API versus queue versus pub/sub versus stream versus file?
Integration decision tree
BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
BRIDGE interview framework
FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
FLOW incident framework

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.

Enterprise integration landscape The estate is systems plus contracts. The platform is how they meet — not a product logo in the middle. SYSTEMS Channelsapps / portals PartnersSFTP / API / EDI Core / ERPsystems of record Analyticswarehouse / lake INTEGRATION STYLES — PICK PER FLOW API Queue Pub/Sub Stream File / MFTName the style from the requirement. Map a vendor only after the contract exists. Control planecatalog, identity, policy, owners Data planepayloads, topics, files, offsetsInterview: I draw who talks to whom, then the style, then ownership. I do not open with a bus product. What do you name before you draw the first vendor box?
Enterprise integration landscape
Integration decision tree Walk the requirement, not the catalog. The first honest yes chooses the style. Wait now? APItimeout is the SLA One owner? Queuecompeting workers Many hear? Pub/Subindependent facts Replay? Streamlog + offset Filedated artifactWait now? Caller holds a clock. One owner? Exactly one worker may apply the command.Many hear? Fan-out a fact. Replay? Ordered log. Else a complete, dated artifact is a file.Rejected alternatives belong in the same sentence. 'We use Kafka' is not a decision. Which requirement picks API versus queue versus pub/sub versus stream versus file?
Integration decision tree
BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
BRIDGE interview framework
FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
FLOW incident framework

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.

BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
BRIDGE interview framework

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.

90-second whiteboard opening Structure first. Pretty boxes second. AWS labels last. 0–20sB + R: flow and constraints 20–50sI + D: pattern, rejects, contract 50–90sG + E: owner, version, abortThen draw: actors, hops, ACK, DLQ/quarantine, correlation id. Ask one clarifying question if SLA is missing.If you mapped a product in the first sentence, erase it and start at B.Capstone: partner file → MFT → validate → event + queue + GET. Same opening, more boxes.Interview: I can do this without notes. Empty G is the usual Principal miss. What do you say in the first 90 seconds before you pick up the marker?
90-second whiteboard opening

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.

Integration catalog row A flow is not in production until an owner, contract, and data class exist in the catalog. Flow idinvoice-land Ownerdeputy named Contractversion · ACK Data classPII / PAN Grantswho may consumeIncidents that become 'who owns this?' are governance defects (AR-13, T-40).Rotation calendar for host keys and client secrets lives here, not in a wiki someone left.Interview: I can fill this row on the whiteboard for the partner file flow before I draw Kafka.Platform mode: self-serve request still cannot skip the data-class review. What must exist in the catalog before a flow may run in production?
Catalog row you fill under G

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.

FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
FLOW incident framework

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.

Integration observability A correlation id must survive every hop. Dashboards without a join key are decoration. APIrequest id Queue / logsame id File / ACKtransfer id Trace + logs FLOWfind · locateFLOW: Find the failed business flow, Locate the domain, Observe signals, Work recovery.Interview: I can jump from a 5xx to the file id, the offset, and the order id. I do not start with reboot.Age without depth is poison. Depth without errors is capacity. Zero matches is routing. Which identifiers do you keep across API, queue, file, and consumer?
Correlation across hops

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.

BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
BRIDGE interview framework

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.

FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
FLOW incident framework

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.

Enterprise integration landscape The estate is systems plus contracts. The platform is how they meet — not a product logo in the middle. SYSTEMS Channelsapps / portals PartnersSFTP / API / EDI Core / ERPsystems of record Analyticswarehouse / lake INTEGRATION STYLES — PICK PER FLOW API Queue Pub/Sub Stream File / MFTName the style from the requirement. Map a vendor only after the contract exists. Control planecatalog, identity, policy, owners Data planepayloads, topics, files, offsetsInterview: I draw who talks to whom, then the style, then ownership. I do not open with a bus product. What do you name before you draw the first vendor box?
Enterprise integration landscape

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.

Integration decision tree Walk the requirement, not the catalog. The first honest yes chooses the style. Wait now? APItimeout is the SLA One owner? Queuecompeting workers Many hear? Pub/Subindependent facts Replay? Streamlog + offset Filedated artifactWait now? Caller holds a clock. One owner? Exactly one worker may apply the command.Many hear? Fan-out a fact. Replay? Ordered log. Else a complete, dated artifact is a file.Rejected alternatives belong in the same sentence. 'We use Kafka' is not a decision. Which requirement picks API versus queue versus pub/sub versus stream versus file?
Integration decision tree
Pattern decision matrix Walk columns, not catalogs. The first honest yes chooses the style. APIcaller waits Queueone owner Pub/Submany hear Streamreplay + key Filecomplete artifact Workflowstatus + undoColumns: latency, payload size, completeness, consumer model, replay, ordering, ownership.300 ms balance → API. Exactly one worker on a command → queue. Unknown listeners → pub/sub.Per-key order + rewind → stream. 100 GB partner completeness → file. Visible saga → workflow.CDC is a catch-up when writers will not emit facts. Batch closes a business date.Interview: I reject the neighbour pattern in the same breath. 'We use Kafka' is not a decision. Which requirement picks API versus queue versus pub/sub versus stream versus file?
Pattern decision matrix

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 patternNeighbour you reject
A human is waiting for a current answerAPIPutting the client on a Kafka consumer
Exactly one worker must apply a commandQueueFan-out topic with two processors
Producer must not know the consumer listPub/subA single shared queue
Replay and per-key order are the productStream / logA drainable broker that forgets after ack
Partner already files multi-gigabyte completenessFile / MFT10 GB through the API gateway
Business date must closeBatchA 'live' stream with no watermark
Writers will not emit domain eventsCDC + ACLPublishing raw tables as the contract
Compensation and status must be visibleWorkflowTwelve 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.

  1. Force every partner onto one REST API this quarter so the estate stays simple
  2. Choose the pattern per partner capability and SLA, then converge internally on a canonical OrderAccepted contract
  3. Stand up a new enterprise service bus and route every partner through the same SOAP mediation
  4. 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.

Sync vs async If the caller must hold the result, stay synchronous. If work can retry alone, leave the request path. Synchronouscaller waits; timeout is the contract Asynchronousaccept, enqueue, return 202 + idSync owns user latency and the inner clock. Async owns retries, DLQ, and at-least-once delivery.Interview: I do not hide a multi-minute partner file or a warehouse pick behind a sync POST.A 202 without a status query or callback is an unfinished design. When must work leave the request path?
Sync vs async

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.

Synchronous hop budget Every extra REST hop on the customer thread is an architecture change. Write the SLO on the box. Client Gateway20 ms policy Order API80 ms p95 Risk callbudget left? Ledgerdo not addIf the mobile SLO is 300 ms, you do not add warehouse, FX, and fraud as three blocking hops.Accept-and-queue: 202 + status resource. Keep the human path short; do the rest async.Fail-open versus fail-closed is a product decision you must speak for fraud and FX.Interview: I write milliseconds on every box. A pretty mesh without numbers is AR-01. What happens to the SLO when you add one more enrichment hop?
Synchronous hop budget

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.

REST API A resource, a verb, a representation, and an error contract. The URL is not the architecture. Client ResourceGET /orders/{id} Write onceIdempotency-Key Status + body201 / 409 / problem+jsonSafe reads are GET. Creates that may replay need a key the store can reject as a duplicate.Interview: I name the resource, the conflict path, and what 404 versus 409 means — not 'we expose REST'.Version in the contract (header or URI). Silent field renames are incidents. What must a retried POST do on the second click?
REST API

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).
Accept-and-query (202) When work cannot finish inside the timeout budget, accept it. Give the caller a locator. CallerPOST 202 + idstatus resourceenqueue Workeridempotent apply GET /statuscurrent stateA 202 without a GET, webhook, or callback is an unfinished design.The query model may lag. Say how fresh is fresh. Do not read-your-writes from a projection blindly.Interview: I rewrite blocking checkout into accept-and-queue before I reach for a bigger cluster.This is the bridge from module 1 (API) into module 2 (messaging). What must accompany a 202 so the caller can finish the story?
Accept-and-query (202)
API error model Callers automate on status and type, not on a sentence. HTML login pages are not an error contract. 4xx caller401 403 404 409 413 422 429 5xx youtimeouts, deps, bugs 202 acceptedwork not done problem+jsontype · title · instance409 means conflict on a known resource. 404 means you must not leak existence when policy forbids it.429 carries Retry-After. 413 names the file/MFT alternative. 422 names the schema field.200 with {error: true} is a contract break. Correlation id belongs in the instance / header.Interview: I can write the problem+json fields from memory and say which code the worker retries. Which status tells a partner to stop retrying a bad schema?
API error model

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.

REST API A resource, a verb, a representation, and an error contract. The URL is not the architecture. Client ResourceGET /orders/{id} Write onceIdempotency-Key Status + body201 / 409 / problem+jsonSafe reads are GET. Creates that may replay need a key the store can reject as a duplicate.Interview: I name the resource, the conflict path, and what 404 versus 409 means — not 'we expose REST'.Version in the contract (header or URI). Silent field renames are incidents. What must a retried POST do on the second click?
REST API resource and write-once key

Methods and meaning

MethodMeaning in this sprintInterview trap
GETRead; free of side effectsEnqueue work 'as a convenience'
POSTCreate or accept work; needs idempotencyNew key on every retry
PUTReplace a known resource; If-MatchSilent create versus update
PATCHPartial update with an explicit schemaadditionalProperties: true
DELETERare in financial estatesPrefer 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.orderId

If 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.

Idempotency key store The first successful result is the truth. A retry must return it — or 409 if the body changed. ClientIdempotency-Key Accepthash body · occupy keyside effect Processoralso idempotent Storekey · status · bodyReplay with the same key and body → stored 201. Same key, different body → 409. Missing key on POST money → defect.Timeout after charge but before store is unknown, not failure. Read before create.Files use checksum + business key. Queues use command id. Events use event id. One header is not MFT.Interview: I draw the store record before I name DynamoDB or a unique index. What do you return on the second POST with the same key?
Idempotency key store

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
  • createdAt and 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.

Timeout is unknown A timed-out write is not a failure you can blindly retry. It is an in-doubt state. Clientclock expired Gateway504 / no body Processormay have charged Storemaybe missingTreat as unknown. GET by natural key or replay with the same Idempotency-Key.A second POST with a new key is how you double-charge. T-02 and T-34 are this story.Saga steps use the same rule: timeout-retry on create without a key yields two mailboxes.Interview: I say 'unknown' out loud. Then I show the read-before-create path. After a 504 on POST /payments, what must you not do?
Timeout is unknown

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.

Dual-write vs transactional outbox Do not write the database and the bus as two independent commits. One of them will lie. Unsafe dual writeDB commit succeeds, publish fails — or the reverse Outboxsame transaction: row + outbox; publisher drainsIf the file was ACCEPTED and the broker is down, the fact still exists as an outbox row.The publisher is idempotent. Consumers still apply idempotently — outbox is not exactly-once magic.Interview: I refuse 'we will emit after save' without the outbox or a change-capture contract.CDC can feed an ACL publisher when you do not own the write path. It is still not a public table dump. Where is the event after the database commit if the broker is down?
Dual-write vs transactional outbox

Related keys

SurfaceKeyTypical miss
API writeIdempotency-Key or natural idNew UUID on every click
Queue commandcommand idACK before apply
Domain eventevent id + business keyReplay emails twice
Filetransfer id + checksum + invoice idFilename 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.

API gateway The gateway is the edge: identity, limits, routing. It is not the integration platform and not an ESB. Caller Gatewayauth · quota · route Service Aown contract Service Bown timeout Policywho may callPut cross-cutting checks at the edge. Keep domain rules in the service. Do not hide a workflow in a rewrite.Interview: I can draw what the gateway rejects (401/429) versus what the handler rejects (403/409).A gateway that maps every partner verb into one SOAP bus is an ESB with extra hops. What belongs on the gateway versus in the service?
API gateway versus domain services

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.

Synchronous hop budget Every extra REST hop on the customer thread is an architecture change. Write the SLO on the box. Client Gateway20 ms policy Order API80 ms p95 Risk callbudget left? Ledgerdo not addIf the mobile SLO is 300 ms, you do not add warehouse, FX, and fraud as three blocking hops.Accept-and-queue: 202 + status resource. Keep the human path short; do the rest async.Fail-open versus fail-closed is a product decision you must speak for fraud and FX.Interview: I write milliseconds on every box. A pretty mesh without numbers is AR-01. What happens to the SLO when you add one more enrichment hop?
Keep domain work off the edge hop list

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

PolicyWhereFailure shape
IdentityGateway401
Quota per clientGateway429 + Retry-After
Max bodyGateway413 + MFT alternative
Schema of the resourceService (and optionally gateway validation)422
Authorization on the orderService403
Duplicate writeService + store409

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.

Pattern decision matrix Walk columns, not catalogs. The first honest yes chooses the style. APIcaller waits Queueone owner Pub/Submany hear Streamreplay + key Filecomplete artifact Workflowstatus + undoColumns: latency, payload size, completeness, consumer model, replay, ordering, ownership.300 ms balance → API. Exactly one worker on a command → queue. Unknown listeners → pub/sub.Per-key order + rewind → stream. 100 GB partner completeness → file. Visible saga → workflow.CDC is a catch-up when writers will not emit facts. Batch closes a business date.Interview: I reject the neighbour pattern in the same breath. 'We use Kafka' is not a decision. Which requirement picks API versus queue versus pub/sub versus stream versus file?
Pattern decision matrix
Queue / competing consumers A queue is a backlog of commands. One message, one owner at a time. It is not a broadcast bus. Producer Queuevisibility + retry Worker Aowns the item Worker Bcompetes Side effectwrite / callDelete or ack only after the side effect succeeds. Visibility hides; it does not complete.Interview: I put work on a queue when I need competing consumers and a DLQ. I do not fan out from it.FIFO or keyed partitions reduce overlap. They do not replace an idempotency key. Why is a queue a work inbox and not an event bus?
Queue / competing consumers

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.

Pub/sub A topic copies a fact to many subscribers. Each subscriber still owns its own retry story. Topic / busnotification of a fact Producer Queue workerneeds backlog Notifierown retries AnalyticsindependentFan-out is for many independent reactions to one fact. It is not a competing-consumer inbox.Interview: I subscribe a queue when a consumer needs isolation and a DLQ. Raw handlers still need retry design. When is pub/sub right — and when do you still put a queue behind a subscription?
Pub/sub

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.

Broker vs event stream A broker hands work to a consumer and then forgets it. A stream is a log you can replay. Broker / queueconsume, ack, remove; compete Event stream / logoffset, retain, replayNeed a drainable backlog and one owner? Broker. Need history, rewind, and several independent groups? Stream.Interview: I do not call a queue 'our Kafka'. I say what happens to a message after ack, and who may rewind.Retention is a product decision. Replay without idempotent apply is an incident. What can a new consumer group do on a log that it cannot do on a drained queue?
Broker vs event stream

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

Event-driven architecture Publish facts that already happened. Consumers react without naming each other. A command is not an event. Writer FactOrderPlaced Inventory Notify Ledgerown apply Not DoShipthat is a commandThe event names a past tense fact, an id, a time, and a version. Consumers filter; they do not switch on every field.Interview: I can tell a fact from a command. DoShip belongs on a queue. OrderPlaced belongs on a bus or log. How do you tell a domain event from a command in disguise?
Event-driven architecture

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.

Event notification A thin event says something changed and where to look. The consumer fetches current state. Thin eventid + type + pointer ConsumerGET current resource Source of truthmay have moved onCheap to emit. Couples consumers to the producer's query API. Replay stampedes that API.Interview: I use notification when the payload is large or private and consumers are few and trusted.If every consumer must call back during replay, the notification is the wrong shape. What fails when you replay a year of notification events?
Event notification
Event-carried state A fat event carries enough state to apply. The happy path does not call back to the producer. Fat eventid + fields to apply Consumerlocal projection No callbackunless compensatingReplay is local. PII and secrets do not ride the bus. Version the payload; additive fields stay on the same major.Interview: I carry the fields the consumer must apply, not the whole aggregate 'just in case'.A 200-field blob is a shared database with extra hops. Which fields belong on a carried-state event — and which stay behind the API?
Event-carried state

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.

Dead-letter queue A DLQ is an incident inbox, not a trash can. Redrive only after you fixed the consumer or the payload. Main queueretries + backoff max receivepoison threshold DLQinspect → fix → redrive a sliceRedrive without a fix burns the retry budget again. Capture payload, exception class, and correlation id first.Interview: I alarm on DLQ depth and age. A silent DLQ is a production defect.Validation failures that will never succeed are archived, not looped. What must you do before redriving a DLQ?
Dead-letter queue

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.

Kafka partitions A topic is a set of ordered logs. The key chooses the partition. Order is per partition, not per topic. TOPIC — ONE KEY, ONE PARTITION P0key % n = 0 P1key % n = 1 P2key % n = 2 Producersame key sticksHot keys stall one partition. More partitions raise parallelism; they do not add topic-wide order.Interview: I name the partition key (orderId, accountId) and what must not cross partitions.Compacted topics retain the latest per key. They are not a database. What ordering does Kafka guarantee — and what does it not?
Kafka partitions

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.

Consumer groups One group splits partitions — competing consumers. A second group is an independent cursor on the same log. GROUP A — ONE OWNER PER PARTITION Member 1P0 + P1 Member 2P2 GROUP B — OWN OFFSETS Independent replaysearch / audit / warehouseRebalance moves partitions, not in-flight side effects. Sticky assignment does not make apply idempotent.Interview: I say what a group is for (one downstream). Two groups are two products, not extra threads.Commit the offset after the side effect, or you will skip or double-apply on crash. What does a second consumer group give you that adding members to the first does not?
Consumer groups

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).

Backpressure A fast producer and a slow consumer need a bound. Unbounded buffers are a delayed outage. Producer Bounded bufferdepth + age SLO Slow consumerp99 work Slow / shedprotect the core Scale / isolateif the SLA allowsSignals: depth, age, in-flight, consumer lag. Infinite retry is not backpressure — it is a storm.Interview: I name the bound and what happens at the bound: reject, spill, or degrade.Do not sleep in the handler to 'slow down'. That stalls drain. What do you do when the buffer hits its bound?
Backpressure

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 compatibility Additive fields on the same major. Type changes and required-from-nowhere fill the DLQ. BACKWARDnew consumer, old event FORWARDold consumer, new event Breakrename · type · new requiredRegistry in CI, not a ticket titled 'additive'. Consumer-first required fields are T-09 / T-14.File schemas version in the control file. Dual-run old and new until abort criteria pass.Interview: I name the compatibility mode and a field I would refuse to tighten in a minor.A 200-field 'canonical' blob is a shared database. Publish a small fact instead. What compatibility mode do you enforce, and what change is a major?
Schema compatibility

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).

Choreography Each service reacts to facts it cares about. There is no central conductor — coupling moves into event contracts. OrdersOrderPlaced PaymentsPaymentTaken InventoryStockHeld NotifyEmailSentChoreography scales teams when contracts are stable. It fails when you need one status, a timeout, or a spanning undo.Interview: I choreograph notifications. I orchestrate pay + reserve + capture when I must see the whole path.Hidden control flow in event names is accidental orchestration. When does choreography become harder than orchestration?
Choreography

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.

Orchestration A conductor owns the sequence, retries, and timeouts. Workers stay units of work, not workflow engines. Conductorsequence + wait + catch Reserve Authorize Capture#dcfce7 Compensatenamed undoUse a workflow when you need branches, different retry budgets, human waits, or compensations you can audit.Interview: I put the saga in the conductor. I do not nest workers that call workers to 'keep it simple'. What belongs in the conductor versus in a worker?
Orchestration

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.

Saga A distributed write is local transactions plus explicit undo. There is no two-phase commit across systems. Reserve stock Authorize pay#f8e7a8 Confirm#dcfce7 Compensaterelease / voidEach step is idempotent. Compensation is a first-class state, not a hope that an operator clicks console buttons.Interview: I name the undo for reserve and authorize. 'It will roll back' is a wrong answer across queues.Timeouts are part of the saga. A hung authorize is not 'still pending' forever. What must exist for each local transaction in a saga?
Saga
Saga compensation There is no two-phase commit across queues. Each step has a named undo and a timeout. Reserveidempotent Authorizeidempotent Confirm#dcfce7 Undo pathrelease · void · timeoutCompensation that 409s against a lock is not done (T-33). Hung authorize is not 'pending' forever (T-35).Put notifications in choreography. Put money, entitlements, and human waits in a conductor.Interview: I name the undo for reserve and authorize. 'The database will roll back' is wrong across hops.Hidden twelve-step onboarding in listeners is AR-12. Ask where the application is. What must exist for each local transaction in a saga?
Saga compensation

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 of events is the source of truth. Current state is a fold. A row update is not event sourcing. Commanddecide + append Append-only logOrderPlaced, Paid… Fold / snapshotcurrent state + projectionsYou can rebuild. You cannot quietly edit Tuesday. Corrections are new events.Interview: I use this when audit and rebuild matter. I do not event-source a CRUD form because a blog did.Projections lag. Readers that need now must say how fresh is fresh. What is the source of truth — the fold or the log — and when do you snapshot?
Event sourcing
CQRS Writes and reads are different models. A projection is allowed to lag. That lag is the contract. Write modelcommands + invariants Projectionasync apply Read modelquery shapeDo not read-your-writes from a projection you just published. Offer a write-side get or a version token.Interview: I split when query shapes fight write invariants. I do not split because CQRS sounds senior.CQRS is not event sourcing. You can have one without the other. What do you tell a client that GETs an order 50 ms after a 201?
CQRS

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.

BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
BRIDGE interview framework

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.

90-second whiteboard opening Structure first. Pretty boxes second. AWS labels last. 0–20sB + R: flow and constraints 20–50sI + D: pattern, rejects, contract 50–90sG + E: owner, version, abortThen draw: actors, hops, ACK, DLQ/quarantine, correlation id. Ask one clarifying question if SLA is missing.If you mapped a product in the first sentence, erase it and start at B.Capstone: partner file → MFT → validate → event + queue + GET. Same opening, more boxes.Interview: I can do this without notes. Empty G is the usual Principal miss. What do you say in the first 90 seconds before you pick up the marker?
90-second whiteboard opening

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.

Integration catalog row A flow is not in production until an owner, contract, and data class exist in the catalog. Flow idinvoice-land Ownerdeputy named Contractversion · ACK Data classPII / PAN Grantswho may consumeIncidents that become 'who owns this?' are governance defects (AR-13, T-40).Rotation calendar for host keys and client secrets lives here, not in a wiki someone left.Interview: I can fill this row on the whiteboard for the partner file flow before I draw Kafka.Platform mode: self-serve request still cannot skip the data-class review. What must exist in the catalog before a flow may run in production?
Catalog row you fill under G

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.

Managed file transfer File transfer is a first-class pattern. A shared folder is not a platform. Partners need identity, mailbox, and audit. Partner MFT endpointper-tenant · host key Landing storeclosed object only Auditsession + whoPer-partner identity and prefixes. Shared mailboxes are a data leak. Arrival is not posted.Interview: I defend file when completeness and size beat 200 ms — invoices, clearing, claims, 100 GB feeds.After the file is valid you may emit an event. The exchange itself is still a file. What makes MFT a platform instead of a directory?
Managed file transfer

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.

Per-partner mailbox isolation A shared drop folder is a data leak. Identity, prefix, and host key are the platform. Partner Aown user · own prefix · pin Partner Bown user · own prefix · pin Nevershared mailbox / shared adminHost keys and certificates live on a calendar. Node rebuilds that forget the pin are T-24.Interview: I refuse a team login named sftp_prod. Grants are per flow and per data class.Control plane: who may land. Data plane: bytes in that prefix. Mix them and you post the wrong tenant.Self-serve can mint a mailbox and still cannot read a PAN prefix without a data-class review. What makes MFT a platform instead of a shared directory?
Per-partner mailbox isolation

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).

File control vs data plane Session metadata and ACK live on the control plane. Bytes live on the data plane. Do not mix the clocks. Control planesession, identity, ACK, catalog Data planeobject bytes, prefixes, checksumValidators subscribe to object-closed, not to a control ping that the bytes might still be writing.Interview: I can say where the host key lives, where the checksum lives, and which plane pages at 3 a.m.A control 'done' with a partial object is how you post garbage. Which plane do you page when the partner cannot connect versus when the hash fails?
File control vs data plane

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.

File lifecycle A file has states. If your architecture has only 'in the folder', you will post partials and duplicates. Openincomplete Closedsize known Scannedmalware Validatedschema + hash AcceptedACK Appliedbusiness write Quarantine / NACKreason + owner + SLOWatch closed, not first-byte create. Hash before transform. ACK on Accepted, not on Landing.Interview: I put the domain event after Accepted or Applied — and I say which, and why. On which state do you ACK the partner, and why not on landing?
File lifecycle states

States

  1. Open — bytes may be incomplete. The object must not be visible to validators.
  2. Closed — session succeeded; size known.
  3. Scanned — malware and content-type.
  4. Validated — schema, checksum, duplicates.
  5. Accepted — ACK to partner; technical success.
  6. Applied — ledger or domain write; business success.
  7. Quarantine / NACK — reason code, owner, SLO.
SFTP land–validate–apply sequence Watch closed, not first byte. ACK technical success, then apply the business write. Partner MFT Landing Validate Domain 1 session2 closed object3 hash + schema4 apply + event5 ACK / NACKInvalid: quarantine prefix, page the owner, NACK with a code. Do not silently drop.Idempotency: transfer id, checksum, invoice/order id — filename is not a key.Interview: I can point to the state a defect belongs to. Arrival is not posted. On which step do you ACK the partner, and why not on landing?
SFTP land–validate–apply sequence

Watch closed, not first-byte create. T-25 is a failed session that still left a visible partial because someone watched the wrong event.

File ACK model Technical success is not business success. ACK/NACK codes are the contract, not an email that the file 'looked fine'. Data filebytes + name rules Control filecounts · checksum Valid? ACKaccepted / posted NACKcode + quarantineControl totals and checksums are on raw bytes. If count matches and hash fails, suspect transforms.Interview: I name ACK codes the partner can parse. A ticket is not an ACK.Idempotency: transfer id, checksum, and business key — filename alone is not enough. What is the difference between a technical ACK and a posted business record?
File ACK model

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 vs streaming SLA decides. Streaming is not a seniority badge. Completeness often beats freshness. Batchbounded, dated, restartable Streamingunbounded, watermark, lag Ask firstwhat latency does the decision need?Settlement, regulatory extract, nightly positions: batch. Fraud hold at checkout: stream.Interview: if they cannot name a consumer SLA, I do not design a stream.Micro-batch is allowed. Honesty about completeness beats a dashboard that is 12 seconds 'live' and wrong. What business latency actually requires a stream?
Batch vs streaming

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.

Change data capture CDC reads committed changes. It is a catch-up and a warehouse feed — not a public domain model. OLTP writecommitted Transaction logrow images ACL publisherdomain fact Consumersnot the tableHonest when producers will not emit events and analytics cannot poll. Dangerous as an enterprise contract.Interview: I turn a row image into CustomerAddressChanged. I do not publish raw tables to every team.Deletes, schema change, and the initial snapshot are part of the CDC contract. Why is a physical table not the integration contract for CDC?
Change data capture

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.

Anti-corruption layer Translate at the boundary. Do not let a partner or legacy model leak into your domain. Foreign modelpartner / legacy / CDC ACLmap · filter · reject Local modelyour invariantsThe ACL owns versioning of the foreign contract. Downstream teams consume your facts, not their columns.Interview: I put the publisher at the boundary before other domains subscribe. Table dumps are not a gift.Unknown fields are ignored or quarantined — they are not mapped 'to be safe'. What does the ACL protect, and what must it refuse to pass through?
Anti-corruption layer
Canonical model A small set of shared facts can travel. One enterprise object to rule every system is how integrations ossify. Local modelsystem of record Shared factssmall, versioned Local modelanother domainPublish OrderPlaced, not TheEnterpriseOrder with two hundred optional fields.Interview: I refuse one canonical to rule them. I keep local models and a thin shared vocabulary.Translation cost is real. Hide it in an ACL, not in every consumer. When is a shared fact justified — and when is a canonical model a trap?
Canonical model trap

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.

Dead-letter queue A DLQ is an incident inbox, not a trash can. Redrive only after you fixed the consumer or the payload. Main queueretries + backoff max receivepoison threshold DLQinspect → fix → redrive a sliceRedrive without a fix burns the retry budget again. Capture payload, exception class, and correlation id first.Interview: I alarm on DLQ depth and age. A silent DLQ is a production defect.Validation failures that will never succeed are archived, not looped. What must you do before redriving a DLQ?
Dead-letter queue as an incident inbox

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).

Dual-write vs transactional outbox Do not write the database and the bus as two independent commits. One of them will lie. Unsafe dual writeDB commit succeeds, publish fails — or the reverse Outboxsame transaction: row + outbox; publisher drainsIf the file was ACCEPTED and the broker is down, the fact still exists as an outbox row.The publisher is idempotent. Consumers still apply idempotently — outbox is not exactly-once magic.Interview: I refuse 'we will emit after save' without the outbox or a change-capture contract.CDC can feed an ACL publisher when you do not own the write path. It is still not a public table dump. Where is the event after the database commit if the broker is down?
Outbox so ACCEPTED files still emit facts
Reconciliation At-least-once systems drift. Money and regulatory files need a second, dated truth. Operational pathAPI · queue · file apply Control totalscount · amount · hash Exception fileinvestigate · post · NACKRun by business date. Idempotent apply on restatement. Do not 'fix' by replaying the notifier binary.Interview: I name the join keys (orderId, invoiceId, value date) and who owns unmatched rows.A dashboard that is 12 seconds live and unreconcilable is worse than a closed nightly file.Reconciliation is BRIDGE Data/delivery and FLOW Observe — not a finance afterthought. What do you reconcile, on what key, and who owns unmatched rows?
Reconciliation

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.

Integration catalog row A flow is not in production until an owner, contract, and data class exist in the catalog. Flow idinvoice-land Ownerdeputy named Contractversion · ACK Data classPII / PAN Grantswho may consumeIncidents that become 'who owns this?' are governance defects (AR-13, T-40).Rotation calendar for host keys and client secrets lives here, not in a wiki someone left.Interview: I can fill this row on the whiteboard for the partner file flow before I draw Kafka.Platform mode: self-serve request still cannot skip the data-class review. What must exist in the catalog before a flow may run in production?
Integration catalog row

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.

ESB modernization Do not lift the bus. Strangle flow by flow. Dual-run until the contract and the owner have moved. Hub ESBevery verb, every transform Pattern per flowAPI · queue · bus · filePick a seam: one partner, one domain event, one query API. Dual-publish. Abort if reconciliation fails.Interview: I retire the ESB by strangler, not by a big-bang replatform. Canonical-everywhere is the old trap.Keep the file mailbox if the partner still speaks SFTP. Modernize the handoff, not the politics. How do you retire an ESB without a big-bang cutover?
ESB modernization

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.

FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
FLOW incident framework

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.

Integration observability A correlation id must survive every hop. Dashboards without a join key are decoration. APIrequest id Queue / logsame id File / ACKtransfer id Trace + logs FLOWfind · locateFLOW: Find the failed business flow, Locate the domain, Observe signals, Work recovery.Interview: I can jump from a 5xx to the file id, the offset, and the order id. I do not start with reboot.Age without depth is poison. Depth without errors is capacity. Zero matches is routing. Which identifiers do you keep across API, queue, file, and consumer?
Correlation across hops

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).

Platform / control plane The control plane remembers owners, contracts, and who may consume. It is not on the payload path. Catalogflow + owner Contractsversion + ACK Identitykeys · certs Policywho may consumeA catalog row exists before production. Incidents that become 'who owns this?' are governance defects.Interview: I can name the owner, deputy, data class, and rotation calendar for a partner mailbox.Control-plane outage should not silently drop the data plane — say the fail-open or fail-closed choice. What must exist in the catalog before a flow is allowed to run in production?
Platform / control plane

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.

Integration catalog row A flow is not in production until an owner, contract, and data class exist in the catalog. Flow idinvoice-land Ownerdeputy named Contractversion · ACK Data classPII / PAN Grantswho may consumeIncidents that become 'who owns this?' are governance defects (AR-13, T-40).Rotation calendar for host keys and client secrets lives here, not in a wiki someone left.Interview: I can fill this row on the whiteboard for the partner file flow before I draw Kafka.Platform mode: self-serve request still cannot skip the data-class review. What must exist in the catalog before a flow may run in production?
Catalog as the platform's memory

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).

ESB modernization Do not lift the bus. Strangle flow by flow. Dual-run until the contract and the owner have moved. Hub ESBevery verb, every transform Pattern per flowAPI · queue · bus · filePick a seam: one partner, one domain event, one query API. Dual-publish. Abort if reconciliation fails.Interview: I retire the ESB by strangler, not by a big-bang replatform. Canonical-everywhere is the old trap.Keep the file mailbox if the partner still speaks SFTP. Modernize the handoff, not the politics. How do you retire an ESB without a big-bang cutover?
Strangle the hub flow by flow

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.zip

You 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.

Capstone AWS mapping Design the patterns first. AWS labels are a mapping, not the definition of the flow. VENDOR-NEUTRAL PATTERNS FileMFT + landing Validateschema + hash Pub/Subdomain facts Queuefulfillment APIquery model AWS MAPPING — AFTER THE PATTERN Transfer Family+ S3 prefixes Lambda / ECSon object-closed EventBridgerules + targets SQS + DLQcompeting workers API Gateway+ Dynamo / AuroraSFTP → MFT → object store → validate → apply → event + fulfillment queue + GET /orders/{id}.Invalid files quarantine and NACK. Idempotency: transfer id, checksum, order id — not filename.Interview: I can erase the AWS row and the design still stands. Products are a mapping. Map each capstone pattern to an AWS service — after you name the pattern.
Vendor-neutral patterns, then AWS mapping
SFTP land–validate–apply sequence Watch closed, not first byte. ACK technical success, then apply the business write. Partner MFT Landing Validate Domain 1 session2 closed object3 hash + schema4 apply + event5 ACK / NACKInvalid: quarantine prefix, page the owner, NACK with a code. Do not silently drop.Idempotency: transfer id, checksum, invoice/order id — filename is not a key.Interview: I can point to the state a defect belongs to. Arrival is not posted. On which step do you ACK the partner, and why not on landing?
What the local lab implements

Flow

Partner --SFTP--> MFT --> Object store --> Validate
   ├ valid --> Order apply --> Domain event
   │              ├ queue --> Fulfillment
   │              ├ notification
   │              └ audit
   └ invalid --> Quarantine --> Alert
Internal consumer --REST--> Order query

What 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.

Idempotency key store The first successful result is the truth. A retry must return it — or 409 if the body changed. ClientIdempotency-Key Accepthash body · occupy keyside effect Processoralso idempotent Storekey · status · bodyReplay with the same key and body → stored 201. Same key, different body → 409. Missing key on POST money → defect.Timeout after charge but before store is unknown, not failure. Read before create.Files use checksum + business key. Queues use command id. Events use event id. One header is not MFT.Interview: I draw the store record before I name DynamoDB or a unique index. What do you return on the second POST with the same key?
Same keys the tests assert

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 replay

Vendor-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

PathWhat it is
integration/file_intake.pyReceive a complete file (reject partial), land metadata + checksum, run the hop
integration/validate.pyCSV schema order_id,customer_id,product_id,quantity,amount + checksum + size
integration/duplicates.pyLogical identity: partner + dataset + businessDate + sequence or transferId/checksum
integration/quarantine.pyInvalid files are quarantined and alerted — never silently discarded
integration/process_orders.pyIdempotent apply by order_id + transferId
integration/events.pyOrderCreated envelope with eventId, eventType, eventVersion, source, occurredAt, correlationId, causationId, tenantId, data
integration/queue.pyEnqueue fulfillment / notification / audit; ack; nack to DLQ after max retries
integration/api.pyGET /orders/{id}, list by customer; 404 {code, message, correlationId}
integration/replay.pyReplay file or DLQ message without duplicate side effects
integration/logging_util.pyJSON logs; redact PAN-like values and secret keys
integration/security.pyPartner auth, folder isolation, deny cross-tenant
integration/store.pyIn-memory files, orders, events, queues, DLQ, processed ids, partners
terraform/Optional AWS mapping — documented as optional
scripts/local_server.pyTiny HTTP API on :8080 with no AWS
scripts/demo.shpytest + 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.sh

From the repo root:

bash

make lab

Optional HTTP API:

bash

python3 scripts/local_server.py

http

GET  /health
GET  /orders/{orderId}
GET  /customers/{customerId}/orders
POST /files

POST /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 apply

Tear it down before you walk away:

bash

terraform destroy

See cleanup.md.

Validation

  1. Partial file (complete=False) is rejected and alerted; no orders
  2. Valid CSV creates one order per row, OrderCreated events, and three queues
  3. Same partner + dataset + businessDate + sequence is a duplicate — order count does not grow
  4. Same transferId or checksum is a duplicate
  5. Bad schema or checksum mismatch → quarantine + alert (not a silent drop)
  6. Replay of the same file does not emit a second OrderCreated
  7. Three nacks → DLQ; replay of that message is idempotent on the second redrive
  8. GET unknown order → 404 {code, message, correlationId}
  9. Unauthorized partner, wrong folder, and cross-tenant drop are denied
  10. 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 destroy

Confirm 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 YOURPREFIX

KMS 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-intake

Empty and delete a leftover bucket only if destroy failed mid-way:

bash

aws s3 rb s3://YOURPREFIX-landing --force

Do 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 platformreceive_file + folder isolation in security.py
Landing bucket with promote / quarantine prefixesIn-memory store.files with status landing / processed / quarantine
Antivirus + schema + control-file checksumCSV schema, SHA-256, size limit (synthetic CSV only)
Domain event bus + competing-consumer queueIn-process event list + fulfillment / notification / audit queues
Order query API after async applyintegration/api.py + scripts/local_server.py
AWS Transfer Family + S3 + EventBridge + SQS + Lambda + DynamoDB + API GatewayOptional 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:

  1. partnerId + dataset + businessDate + sequence, or
  2. transferId or content checksum

A new object key is not a new file. Duplicate detection runs after a complete land and before order apply.

Idempotency

KeyProtects
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/orders for the synthetic tenants). Wrong folder is FOLDER_DENIED.
  • tenantId on the drop must match the partner. Cross-tenant is CROSS_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)

PatternOptional AWS mapping
Partner SFTP / MFTTransfer Family (SFTP) into an S3 landing prefix
Object storeS3 prefixes landing/, validated/, quarantine/
Object-closed signalS3 EventBridge notification → EventBridge rule
Validate / applyLambda (Python). Confirm the current runtime in the region at apply time.
Domain eventsEventBridge custom bus
Fulfillment commandSQS + DLQ (maxReceiveCount = 3)
Order read modelDynamoDB on-demand
Internal query APIAPI Gateway HTTP API
Encryption / observabilityCustomer-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.py

Interview 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.py

Interview 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.py

Interview 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.py

Interview 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.py

API 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.py

Optional AWS-only drills (same day, then destroy)

  1. Upload a partial object (multipart left open, or a .filepart name) — the validator must not treat it as a complete land.
  2. Put a second object with a new key but the same control transferId — duplicate, no second DynamoDB order.
  3. 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.

Enterprise integration landscape The estate is systems plus contracts. The platform is how they meet — not a product logo in the middle. SYSTEMS Channelsapps / portals PartnersSFTP / API / EDI Core / ERPsystems of record Analyticswarehouse / lake INTEGRATION STYLES — PICK PER FLOW API Queue Pub/Sub Stream File / MFTName the style from the requirement. Map a vendor only after the contract exists. Control planecatalog, identity, policy, owners Data planepayloads, topics, files, offsetsInterview: I draw who talks to whom, then the style, then ownership. I do not open with a bus product. What do you name before you draw the first vendor box?
Start with actors, then styles

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.

SFTP land–validate–apply sequence Watch closed, not first byte. ACK technical success, then apply the business write. Partner MFT Landing Validate Domain 1 session2 closed object3 hash + schema4 apply + event5 ACK / NACKInvalid: quarantine prefix, page the owner, NACK with a code. Do not silently drop.Idempotency: transfer id, checksum, invoice/order id — filename is not a key.Interview: I can point to the state a defect belongs to. Arrival is not posted. On which step do you ACK the partner, and why not on landing?
Happy path and NACK path
Capstone AWS mapping Design the patterns first. AWS labels are a mapping, not the definition of the flow. VENDOR-NEUTRAL PATTERNS FileMFT + landing Validateschema + hash Pub/Subdomain facts Queuefulfillment APIquery model AWS MAPPING — AFTER THE PATTERN Transfer Family+ S3 prefixes Lambda / ECSon object-closed EventBridgerules + targets SQS + DLQcompeting workers API Gateway+ Dynamo / AuroraSFTP → MFT → object store → validate → apply → event + fulfillment queue + GET /orders/{id}.Invalid files quarantine and NACK. Idempotency: transfer id, checksum, order id — not filename.Interview: I can erase the AWS row and the design still stands. Products are a mapping. Map each capstone pattern to an AWS service — after you name the pattern.
Map AWS only after the pattern row

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)

MinutesMove
0–8Clarify SLA, ACK, idempotency key, RPO
8–25Draw flow, prefixes, four contracts
25–35Failure, replay, broker-down after ACCEPTED
35–40Mapping and cost warning
40–45Questions

Four contracts to write

  1. File — control totals, checksum, ACK codes, transfer id.
  2. Event — OrderPlaced envelope, key, compatibility.
  3. Command — fulfillment queue, visibility, DLQ, command id.
  4. 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.

90-second whiteboard opening Structure first. Pretty boxes second. AWS labels last. 0–20sB + R: flow and constraints 20–50sI + D: pattern, rejects, contract 50–90sG + E: owner, version, abortThen draw: actors, hops, ACK, DLQ/quarantine, correlation id. Ask one clarifying question if SLA is missing.If you mapped a product in the first sentence, erase it and start at B.Capstone: partner file → MFT → validate → event + queue + GET. Same opening, more boxes.Interview: I can do this without notes. Empty G is the usual Principal miss. What do you say in the first 90 seconds before you pick up the marker?
Open the mock with structure

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.

BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
Design block is scored on BRIDGE
FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
Incident block is scored on FLOW

Shape

MinutesBlock
10Readiness recap and a small pattern selection (P-series)
20Design a multi-pattern flow with BRIDGE; they will ask for an ADR
15A FLOW incident (file or Kafka, not only API 5xx)
10Scorecard 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.

90-second whiteboard opening Structure first. Pretty boxes second. AWS labels last. 0–20sB + R: flow and constraints 20–50sI + D: pattern, rejects, contract 50–90sG + E: owner, version, abortThen draw: actors, hops, ACK, DLQ/quarantine, correlation id. Ask one clarifying question if SLA is missing.If you mapped a product in the first sentence, erase it and start at B.Capstone: partner file → MFT → validate → event + queue + GET. Same opening, more boxes.Interview: I can do this without notes. Empty G is the usual Principal miss. What do you say in the first 90 seconds before you pick up the marker?
Open the mock with structure

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.

BRIDGE interview framework Six letters on the board before a product. Empty letters are the panel's follow-ups. BBusiness flow RRequirements IPattern + rejects DContract / ACK GOwner / catalog EVersion / abort 1 2 3 4 5 6B: whose customer, money, or regulator. R: latency, size, completeness, replay, fail-open/closed.I: one primary pattern and the rejected neighbour in the same sentence. Then map a vendor.D: ids, version, errors or ACK, keys, retention, idempotency. G: owner, deputy, data class.E: dual-run, strangler seam, abort rule. Skip G and E and you sound senior, not Principal.Whiteboard: 90 seconds, six headings, two bullets each. Then draw. Do not open with a bus product. Which BRIDGE letter is empty on your last design — and what would the panel ask?
Design block is scored on BRIDGE
FLOW incident framework Incidents start with a failed business flow. Restarting a broker is a last resort, not a method. F Findinvoice post, not 'red cluster' L LocateAPI · queue · partition · mailbox O Observep95 · lag · depth · ACK W Worksafe now → fix → prevent 1 2 3 4Name a metric before you get hidden context. Age without depth is poison. Depth without errors is capacity.Safe now: NACK, feature flag, stop a consumer, restore a host key. Not rotate every partner.Principal adds governance and prevention: catalog owner, grant, regression test.Interview: I can jump from a customer complaint to the file id, the offset, and the order id. What is the first letter you speak when a dashboard is red?
Incident block is scored on FLOW

Shape

MinutesBlock
10Readiness recap and a small pattern selection (P-series)
20Design a multi-pattern flow with BRIDGE; they will ask for an ADR
15A FLOW incident (file or Kafka, not only API 5xx)
10Scorecard 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.

Integration decision tree Walk the requirement, not the catalog. The first honest yes chooses the style. Wait now? APItimeout is the SLA One owner? Queuecompeting workers Many hear? Pub/Subindependent facts Replay? Streamlog + offset Filedated artifactWait now? Caller holds a clock. One owner? Exactly one worker may apply the command.Many hear? Fan-out a fact. Replay? Ordered log. Else a complete, dated artifact is a file.Rejected alternatives belong in the same sentence. 'We use Kafka' is not a decision. Which requirement picks API versus queue versus pub/sub versus stream versus file?
Revisit the rows you confused

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.

Integration catalog row A flow is not in production until an owner, contract, and data class exist in the catalog. Flow idinvoice-land Ownerdeputy named Contractversion · ACK Data classPII / PAN Grantswho may consumeIncidents that become 'who owns this?' are governance defects (AR-13, T-40).Rotation calendar for host keys and client secrets lives here, not in a wiki someone left.Interview: I can fill this row on the whiteboard for the partner file flow before I draw Kafka.Platform mode: self-serve request still cannot skip the data-class review. What must exist in the catalog before a flow may run in production?
30-day artifact: three sanitized catalog rows

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

$79

Small group

$199

Live 1:1

$449

Introductory $399

Book a session

Request a slot. Invoicing is handled by BayAreaLa8s after the request — no Stripe checkout.

Log in or enroll to request a live session time.