Salesforce Certified MuleSoft Developer II (MCD Level 2) - Practice Questions & Exam Prep

MulePrep is an independent study resource for the Salesforce Certified MuleSoft Developer II (MCD Level 2) exam. Practice with original questions and written explanations - try the free demo, then unlock the full bank.

Independent study resource - not affiliated with, endorsed by, or connected to MuleSoft or Salesforce; their trademarks belong to their owners. All practice questions are original.

What the certification is

Certified MuleSoft Developer II holders are experienced developers who can design, build, test, secure, and troubleshoot production-grade Mule applications under real-world constraints.

The exam (code Mule-Dev-301) goes beyond Developer I: reliability patterns, performance tuning, MUnit testing, securing APIs, and advanced DataWeave - it assumes you have already earned Developer I.

Developers who hold Developer I and have built and operated Mule 4 applications in production, and who want to validate advanced, deployment-grade skills.

Exam format

Questions
60
Duration
120 minutes
Passing score
70%
Cost
$200
Format
60 scored multiple-choice / multiple-select questions; proctored onsite or online.

Domains & objectives

  • Building reliable applications
  • Processing data efficiently
  • Securing applications & APIs
  • Testing applications with MUnit
  • Working with advanced DataWeave

Sample questions

A flow consumes a message queue and must process each message exactly once, even though the broker can redeliver after a worker restart. Which design most directly enforces this?

  • A. Wrap the flow body in an Async scope so processing never blocks the listener
  • B. Use an Idempotent Message Validator backed by a persistent Object Store keyed on the message ID
  • C. Increase the number of CloudHub workers so duplicates are spread across instances
  • D. Set the connector to AUTO acknowledgement so the broker drops the message immediately

Correct: B

Exactly-once handling needs duplicate detection that survives restarts: an Idempotent Message Validator over a persistent Object Store remembers IDs it has already seen across worker lifecycles. Async only changes threading; adding workers multiplies, not dedupes, processing; and AUTO acknowledgement risks losing a message if the worker dies mid-processing - none of those make redelivered messages no-ops.

In an MUnit test you must verify that an HTTP Request inside the flow under test is never actually called, while still exercising the surrounding logic. Which approach is correct?

  • A. Add an assert-equals on the payload after the flow runs
  • B. Use mock-when to stub the HTTP Request processor and spy/verify-call to assert it was not invoked unexpectedly
  • C. Disable the HTTP listener in the Mule configuration before the test runs
  • D. Point the HTTP Request at a real sandbox endpoint and check the response code

Correct: B

MUnit isolates the flow from real I/O: mock-when replaces the HTTP Request processor with a stubbed response, and verify-call (spy) asserts how/whether a processor was invoked. assert-equals only checks output, disabling the listener does not stop an outbound Request, and hitting a real endpoint makes the test integration-dependent and non-deterministic - the opposite of a unit test.

A batch job must transform a 2 GB CSV file without loading it entirely into memory, while still allowing a downstream step to read the same records again. Which combination addresses this?

  • A. Repeatable streaming with a file-store strategy on the source so the stream can be consumed more than once
  • B. Set the payload to a Java ArrayList up front so every step shares one in-memory copy
  • C. Wrap the batch job in a Cache scope keyed on the file name
  • D. Use a For Each with a large batch size to hold all records at once

Correct: A

Repeatable streaming buffers the stream (in memory then spilling to disk via the file-store strategy) so it can be read multiple times without holding the whole 2 GB in heap. Materializing to an ArrayList or a large For Each batch defeats the memory goal, and Cache stores a computed result, not a re-readable large stream - it does not solve streaming reconsumption.

Frequently asked questions

How many questions are on the MuleSoft Developer II exam?
The Salesforce Certified MuleSoft Developer II exam has 60 scored multiple-choice questions and a 120-minute time limit; the passing score is 70%.
Do I need Developer I before taking Developer II?
Yes. Developer II requires an active Salesforce Certified MuleSoft Developer I credential. It is the advanced tier, focused on reliability, security, MUnit testing, and production-grade Mule applications.
How much does the MuleSoft Developer II certification cost?
Registration is around $200 USD - confirm the current fee on the official Salesforce exam page. MulePrep's full practice bank is a separate $5.99 one-time purchase with lifetime access.
Is MulePrep affiliated with Salesforce or MuleSoft?
No. MulePrep is an independent study resource. All practice questions are original; it is not endorsed by or connected to MuleSoft or Salesforce.

Practice the way the exam feels

61 original MCD Level 2 questions, each with a written explanation. $5.99 one-time, lifetime access.

Try the free demoGet all 61 questions - $5.99