OpenExamsFREE PRACTICE — ANY EXAM

Free Salesforce Certified MuleSoft Developer II Practice Questions

100 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the Salesforce Certified MuleSoft Developer II practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1An API instance uses asset version 1.3.0. Its replacement specification has asset version 2.0.0. How must API Manager represent the replacement?

    1. A.Create a new API instance.Correct answer: A
    2. B.Change the existing instance to asset version 2.0.0.
    3. C.Change only the existing instance's display name.
    4. D.Downgrade the existing instance to asset version 1.0.0.

    Explanation: "If you need to upgrade to a different major version, you must create a new API Instance." The major version changes from 1 to 2, requiring a new instance. In-place specification changes are restricted to the same major version; renaming or downgrading does not represent the replacement.

    Reference: Managing API Instance Versions — Managing API Instance Versions

  2. 2A dependency must be accessible to every connector in one Mule application. Where should it be configured?

    1. A.Only as an application dependency without connector exposure.
    2. B.Only as a dependency of the MUnit testing plugin.
    3. C.In the Mule Maven plugin's sharedLibraries.Correct answer: C
    4. D.Only in one connector's additionalPluginDependencies.

    Explanation: "make this dependency accessible to all the connectors in your application." Shared libraries change connector dependency visibility; per-connector dependencies have a narrower scope, while deployment names and listeners do not configure classloading.

    Reference: Mule Maven Plugin — Configure Shared Libraries

  3. 3An application health endpoint must represent availability of required external dependencies, not just that its HTTP Listener responds. Which implementation meets this requirement?

    1. A.Report only that the application archive exists.
    2. B.Report only the application's published API version.
    3. C.Perform dependency checks and compute the overall health result.Correct answer: C
    4. D.Return a constant UP payload whenever the listener runs.

    Explanation: "we compute overall service status." The complex check verifies external calls then aggregates their results. A constant listener response, archive or version cannot establish dependency availability.

    Reference: Check Service Health on Mule 4 — Complex health check

  4. 4An Object Store Retrieve uses defaultValue=0 for a key that does not exist. What is the result?

    1. A.Create an empty string value under the key.
    2. B.Return 0 without storing that default under the key.Correct answer: B
    3. C.Store 0 under the key and return 0.
    4. D.Raise OS:KEY_NOT_FOUND despite the non-null default.

    Explanation: "the defaultValue is returned, but that value is not stored." A non-null default provides a fallback result only; it is not an insert and does not raise the missing-key error.

    Reference: Object Store Connector Reference — Retrieve

  5. 5A secure properties file contains encrypted and plaintext values. Which reference syntax accesses a plaintext property named region from that secure file?

    1. A.#[vars.region]
    2. B.#[attributes.region]
    3. C.${secure::region}Correct answer: C
    4. D.${region}

    Explanation: "You have to use the secure:: prefix to access all values inside a secure properties file, even if the values are not encrypted." All values in the secure properties file use secure::. Ordinary placeholders or event variables do not select that secure property provider.

    Reference: Secure Configuration Properties — Configure the File with the Extension Module in XML

  6. 6Publishing updated API definition details to Exchange is complete. What additional action makes a deployed API instance reflect those details in API Manager?

    1. A.Rotate only the application's platform credentials.
    2. B.Update the instance's asset version in API Manager.Correct answer: B
    3. C.Update only the Exchange asset's descriptive tags.
    4. D.Restart the Mule runtime without updating the instance.

    Explanation: "you must update the Asset version of your deployed API instances in API Manager to reflect the changes." Publishing alone does not update deployed instance version metadata. Tags, restarting and credential rotation do not select the new asset version.

    Reference: Managing API Instance Versions — Managing API Instance Versions

  7. 7Two connectors need different versions of the same supporting library. Which Mule Maven configuration isolates each version to its connector?

    1. A.Configure both versions as application sharedLibraries.
    2. B.Configure one sharedLibraries entry with only the newer version.
    3. C.Configure a single global dependency version for both.
    4. D.Configure additionalPluginDependencies per connector.Correct answer: D

    Explanation: "makes those dependencies available for only that connector." Per-connector dependencies provide the required isolation; sharing or selecting one global version does not meet the two-version condition.

    Reference: Mule Maven Plugin — Configure Additional Plugin Dependencies

  8. 8A health contract requires both HTTP 200 and dependency connection time below 500 ms. A probe returns 200 in 900 ms. How should the endpoint classify that dependency?

    1. A.Healthy because the status code alone is sufficient.
    2. B.Healthy because any response proves the time requirement.
    3. C.Unknown because connection time cannot be checked.
    4. D.Unhealthy because the configured time threshold was breached.Correct answer: D

    Explanation: "Both conditions should be fulfilled" The tutorial requires both code and time conditions. The given 900 ms exceeds 500 ms, so 200 alone does not satisfy this explicitly configured contract.

    Reference: Check Service Health on Mule 4 — Timeout threshold

  9. 9A previously stored key must not be overwritten by a second Store operation. Which setting enforces that rule?

    1. A.Set failOnNullValue to false.
    2. B.Set defaultValue to a non-null value.
    3. C.Set failIfPresent to true.Correct answer: C
    4. D.Set failIfPresent to false.

    Explanation: "an OS:KEY_ALREADY_EXISTS error is thrown instead." failIfPresent=true rejects existing keys. False permits overwrite; null handling and Retrieve defaults do not protect existing values.

    Reference: Object Store Connector Reference — Store

  10. 10One deployment artifact must select dev-properties.yaml or prod-properties.yaml using the env property. Which Secure Properties file setting implements that selection?

    1. A.file="env-properties.yaml"
    2. B.file="${secure::env.properties.yaml}"
    3. C.file="#[payload.env]"
    4. D.file="${env}-properties.yaml"Correct answer: D

    Explanation: "file="${env}-properties.yaml"" The placeholder resolves the environment into a file name at configuration time. Literal env is fixed; the other expressions do not implement the documented file selection.

    Reference: Secure Configuration Properties — Set Secure Configuration Properties File Dynamically

Exam Review

About Salesforce Certified MuleSoft Developer II

Salesforce Certified MuleSoft Developer II · UNSPECIFIED

Key exam facts

Provider
Salesforce is the certification and examination owner.
Format
Multiple-choice, proctored onsite at a testing center or online; no hard-copy or online reference materials.
Exam questions
Total questions: 60–65; Scored questions: 60; Unscored questions: 0–5; The total includes the scored and unscored questions.
Time limit
120 minutes to complete the exam.
Passing score
70%.
Exam fee
Registration: US$200 or JPY 30,000; retake: US$100 or JPY 15,000; plus applicable taxes as required per local law.

Topics covered

  • Expose production-ready Anypoint Platform-managed APIs from Mule applications (13%)

    • Implement versioning of specific API-related artifacts.
    • Configure custom or out-of-the-box (OOTB) API policies.
    • Implement server-side caching of API invocations using API policies.
    • Implement HTTP callbacks (webhooks).
    • Code API implementations to perform API auto-discovery.
  • Implement maintainable and modular Mule applications and their Maven builds (25%)

    • Modularize and optimize Mule application Maven build configurations.
    • Implement Maven-based automated deployment to Mule runtimes.
    • Execute MUnit tests with Maven.
    • Build custom API policies.
    • Encapsulate common Mule application functionality in libraries.
    • Implement custom message processors using the Mule SDK or XML SDK.
  • Implement monitorable Mule applications (15%)

    • Expose Health Check endpoints from a Mule application.
    • Implement effective logging.
    • Change log levels and aggregate and analyze logs.
    • Monitor Mule applications and Mule runtimes using Anypoint Platform or external tools.
    • Implement message correlation, including persistence and propagation of correlation IDs over HTTP.
  • Implement performant and reliable Mule applications (27%)

    • Implement ObjectStore persistence for all Mule deployment options.
    • Implement fault-tolerant, performant, and traceable message passing with the VM and AnypointMQ connectors.
    • Implement fault-tolerant invocations of HTTP-based APIs, reacting correctly to HTTP status codes.
    • Validate assertions using the Validation module.
    • Validate messages against XML- or JSON-Schema documents.
    • Parallelize integration logic using scatter-gather.
    • Implement compensating transactions for partially failed scatter-gather.
    • Implement client-side caching of API invocations for performance.
  • Secure data at rest and in transit (20%)

    • Implement secure, environment-dependent properties management.
    • Create, package, and distribute keys and certificates.
    • Expose and invoke APIs over HTTPS.
    • Implement transport layer security (TLS) mutual authentication on the client and server side.
    • Implement API invocations authenticated by Basic Auth or OAuth2 with HTTP or REST connectors.

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Multiple-choice, proctored onsite at a testing center or online; no hard-copy or online reference materials.

How many questions are on the exam?

Total questions: 60–65; Scored questions: 60; Unscored questions: 0–5; The total includes the scored and unscored questions.

How long is the exam?

120 minutes to complete the exam.

What is the passing score?

70%.

How much does the exam cost?

Registration: US$200 or JPY 30,000; retake: US$100 or JPY 15,000; plus applicable taxes as required per local law.

Official sources and references

Confirm current exam arrangements with the exam provider.