Rapid Review & Cheat Sheets ยท Developer

Quick Reference Interview Cheat Sheet โ€” Interview Questions & Scenarios (2026)

High-yield rapid review: 30 critical one-liner definitions and standard interview answers.

Mule 4 Event Architecture Diagram showing Mule Event breakdown: Attributes, Payload, and Vars. Mule 4 Event (Immutable Container) attributes headers: { 'Authorization': '...' } queryParams: { 'limit': '50' } statusCode: 200 payload { "orderId": "ORD-9842" } Repeatable In-Memory Streaming Auto spools to disk > 1.5MB vars vars.correlationId vars.customerProfile Scoped to Current Flow Context
Figure T.1: Mule 4 Message Architecture โ€” Immutable event structure, metadata attributes, streaming payload, and flow variable scoping.

๐Ÿ“ Quick Reference Interview Cheat Sheet

High-yield rapid review: 30 critical one-liner definitions and standard interview answers.

๐Ÿ“‹ Quick Reference Table โ€” All Key Concepts at a Glance
TOPICKEY ANSWER FOR INTERVIEW
API-led connectivity3 layers: XAPI โ†’ PAPI โ†’ SAPI. SAPI reused by 4 PAPIs = 75% code reduction.
Scatter-Gather outputObject (indexed Map) keyed "0", "1". Use payload."0".payload or flatten(payload..payload). Time = slowest route. Failure = MULE:COMPOSITE_ROUTING unless Try scope per route.
ForEach outputPayload UNCHANGED after ForEach โ€” original collection. Collect results in a variable. Error stops loop unless Try scope inside.
Batch Job phasesLoad & Dispatch โ†’ Process (Batch Steps) โ†’ On Complete. Default maxFailedRecords=0 (stops on first failure). Use -1 to never stop.
Until SuccessfulmaxRetries=5 default, millisBetweenRetries=60000 default. Exhaustion = MULE:RETRY_EXHAUSTED. Does NOT count initial attempt.
On Error Continue vs PropagateContinue = 200 success response. Propagate = passes error to parent. Continue for expected; Propagate for unexpected.
Anypoint MQ MANUAL ackack on success, nack on failure (returns to queue). Max retries โ†’ DLQ. Use persistent ObjectStore for idempotency.
ObjectStoreIn-Memory (lost on restart), Persistent (survives restart), Anypoint OS v2 (multi-worker). Always use v2 in CloudHub 2+ workers.
Platform Events replayId-1 = new only, -2 = last 72h, N = from specific ID. Use -2 on restart. 72h retention.
Salesforce JWT BearerRSA key pair. Upload public cert to Connected App. No password. Token auto-renews 1hr. Key rotation: upload new BEFORE removing old.
Bulk API 2.0Uses separate 15,000 batches / 150M records per 24h pool (does NOT count against 100k+ daily REST/SOAP quota). CSV auto-batch up to 150 MB base64-encoded (~100 MB raw); results retained 7 days. Always log failures.
DataWeave $ and $$$ = current value. $$ = current index (array) or key (object). Short form for anonymous lambdas.
WatermarkingStore last-processed timestamp in persistent ObjectStore. Read at job start, update in On Complete.
Rate Limiting vs Spike ControlRate Limiting REJECTS excess (429). Spike Control QUEUES excess โ€” better for bursty traffic.
SLB vs DLBSLB = shared multi-tenant CloudHub infra. DLB = your own VPC, private IPs, custom SSL, VPN support.
VPC vs VPNVPC = private network in CloudHub. VPN = encrypted tunnel connecting VPC to on-premise. VPC is where apps live; VPN is how they connect.
Q12 [DEVELOPER] โฑ๏ธ 1 min read Module T

How do you encrypt properties in MuleSoft? How do you bypass applied API policies in Studio?

โšก Self-Test Mode Ready
โœ“ ANSWER

Encrypting properties: Use Anypoint Studio's Secure Properties Tool: right-click โ†’ Mule โ†’ Create a

Secure Properties File. Enter key and encrypt value. In config YAML: db.password: "![encrypted-

value]" . In global.xml: . Key passed via Runtime Manager Properties tab โ€” never stored in code.

Bypass API policies in Studio: Policies are enforced by API Gateway in CloudHub. In local Studio,

AutoDiscovery is present but not connected to API Manager. To bypass for local testing: comment

out element during local development, or use the API Manager stub locally. Never remove

AutoDiscovery in code committed to Git.

Q13 [DEVELOPER] โฑ๏ธ 1 min read Module T

If 5 people are invoking the same URL, how does MuleSoft ensure the correct response goes to

โšก Self-Test Mode Ready

each caller?

โœ“ ANSWER

HTTP is stateless and request-response. Each HTTP request opens a unique connection/thread. The

HTTP listener binds the response to the original request connection. MuleSoft's thread pool assigns

one thread per request โ€” each thread has its own Mule event context (payload, variables, attributes).

Thread A's response is sent back on Thread A's connection, Thread B's on Thread B's, etc. The HTTP

infrastructure ensures isolation. correlationId (set at start of each request) further tracks each

individual transaction through all layers.

๐Ÿ”น RAML, API Design & Salesforce Connectors

Q14 [DEVELOPER] โฑ๏ธ 1 min read Module T

What are traits, resource types, and fragments in RAML?

โšก Self-Test Mode Ready
โœ“ ANSWER

Traits: Reusable request/response patterns applied to multiple methods. Example: a pageable trait

adds queryParameters (limit, offset) โ€” applied with is: [pageable] . Resource Types: Reusable

resource patterns โ€” define a collection resource type with GET/POST/DELETE and apply it to

multiple resources. Fragments: External RAML files (DataTypes, Traits, ResourceTypes,

SecuritySchemes, Libraries) published to Exchange. Referenced with uses: MyLib:

exchange_modules/... . All 3 reduce duplication โ€” define once, reuse everywhere.

๐ŸŽฏ๐ŸŽฏ Interview Pitch - Say It Like This (30 Sec)
"We enforce an uncompromising API-first design methodology. Before a single line of Mule XML is scaffolded, we specify the API contract in RAML 1.0 or OAS 3.0 using Design Center, leveraging reusable Exchange fragments for canonical data types and security traits. Once reviewed with consumer teams, APIKit auto-generates routing logic with strict input validation, linked to API Manager via Autodiscovery."
๐Ÿ’ผ๐Ÿ’ผ Real-Time Project Example

Project: Energy & Utility โ€” API-led Microservices Modernization.

Problem: Frontend and backend teams worked in silos, leading to contract discrepancies, breaking changes, and 3-week delays during integration testing.

What I Did: Standardized RAML 1.0 API specifications with modular DataTypes and mock services in Exchange, enforcing API Autodiscovery and Client ID enforcement policies.

Result: Enabled consumer teams to develop against live mocks 4 weeks earlier, eliminating contract defects and accelerating time-to-market by 35%.

Q15 [DEVELOPER] โฑ๏ธ 1 min read Module T

What is the difference between Query and QueryAll in Salesforce?

โšก Self-Test Mode Ready
โœ“ ANSWER

Query: Returns only active/non-deleted records. Standard SOQL operation. Example: SELECT Id

FROM Account WHERE Type='Customer' โ€” returns active Accounts only.

QueryAll: Returns all records including deleted and archived records (those in the Recycle Bin).

Useful for compliance/audit scenarios where you need to know what was deleted. In MuleSoft

Salesforce Connector: use QueryAll operation instead of Query to include deleted records in results.

Q16 [DEVELOPER] โฑ๏ธ 1 min read Module T

How do you handle SFTP strategies? How do you auto-delete files on SFTP?

โšก Self-Test Mode Ready
โœ“ ANSWER

SFTP Strategies: (1) Polling Strategy โ€” trigger when file arrives (Mule SFTP listener with

watermark). (2) Read Strategy โ€” on-demand file read with SFTP Read operation. (3) Write Strategy

โ€” write processed files back to SFTP.

Auto-delete files: SFTP Listener has an autoDelete="true" attribute โ€” deletes the file from SFTP

server after reading. For archiving instead of deleting: use autoDelete="false" and add an SFTP

Move operation after processing to move file to an /archive/ folder with a timestamp suffix. For

purging old files: scheduled Mule flow that lists files older than N days via SFTP List and deletes them

with SFTP Delete.

Q17 [DEVELOPER] โฑ๏ธ 1 min read Module T

In a Bulk Insert with 10 records, if record 7 is invalid, what happens?

โšก Self-Test Mode Ready
โœ“ ANSWER

This depends on the connector and database.

Database Bulk Insert (non-XA transaction): All 10 records are sent in a single batch. If record 7 fails

validation at the database, the entire batch is typically rolled back โ€” 0 records inserted. This is

database-level atomic behavior.

Salesforce Bulk Insert: Partial success is possible โ€” Salesforce processes all records and returns

individual success/failure results. Records 1-6 and 8-10 may succeed while record 7 fails. Retrieve

results via Bulk API result polling.

Solution for guaranteed partial processing: Use Batch Job โ€” each record processed individually.

Record 7 fails, recorded in failedRecords, records 1-6 and 8-10 succeed. Total failures tracked in On

Complete.

โ† Enterprise Utility & Energy Platform Deep Real Interview Q&A Collection (Global Comp โ†’