Mule-Dev-202 · Domain 7 of 8

Mule-Dev-202 Domain 7: Use Anypoint Exchange to catalog (publish), share, discover, and reuse assets

Anypoint Exchange is the catalog where APIs, specs, connectors and templates are published, discovered and reused. This section covers private and public publishing, the mocking service and catalog best practices.

Exam weight estimate
8%
Official objectives estimate
3
Estimated questions estimate
~5
Suggested study time estimate
5–6 hrs

About 11 min read Reviewed October 2026

Overview

Anypoint Exchange is the shared catalog of Anypoint Platform. Teams publish assets such as REST and SOAP API specifications, API spec fragments, connectors, templates, examples, policies and custom assets, each with versions, documentation and metadata. Assets published in an organization's private Exchange are visible to users with access in that organization and its business groups. A public portal can expose selected assets to external developers, such as partners who need to understand and request access to APIs.

The mocking service lets consumers try an API from its specification before any implementation exists. It returns responses based on the examples in the spec, so front-end developers, Salesforce teams building External Services or Composer builders can work in parallel with the API team. Best practices for the catalog include clear names, descriptions, tags and categories, documentation pages, examples, semantic versioning and lifecycle states, so that others can find and trust assets rather than build duplicates.

How it's tested

Exchange questions describe an asset and an audience, such as another internal team, an external partner or developers waiting on an unbuilt API, and ask how to publish, share, test or organize it. The best answer exposes the asset to the right audience with enough documentation and metadata for reuse, and uses the mocking service for early testing.

  • Who should see this

    An asset must be available to internal teams or external developers, and you choose private Exchange or a public portal.

  • Test before it exists

    Consumers need to try an API before implementation, and you choose the mocking service with spec examples.

  • Make it reusable

    Teams keep rebuilding similar assets, and you choose cataloging practices that make existing assets findable.

Reasoning it through

A Salesforce team wants to start building External Services actions against an order API whose implementation will not be ready for three weeks. The specification with examples is already in Exchange. Turning on the mocking service gives a URL that returns example responses, so the team can build and test now. Waiting for a deployed implementation would lose the parallel work that spec-first design enables.

Objectives 3

Official objectives from the Salesforce outline, in outline order.

7.1 Publish assets to private and public Anypoint Exchanges.Visibility in private Exchange and public portals.
What it means
Assets are published to the organization's private Exchange from Design Center, Anypoint Studio or Code Builder, Maven, the CLI or the Exchange UI. Private assets are visible to users with Exchange permissions in the organization or business group. A public portal is a customizable site where selected assets are shared with people outside the organization.
What to understand
Choose private publishing for internal reuse and a public portal when partners or external developers need documentation and access requests. Sharing an asset to a public portal does not grant runtime access; consumers still request access to an API instance and receive client credentials when the owner approves.
How it shows up
A partner needs to read an API's documentation and request access, and you choose to share the asset on a public portal.
Common confusion
Publishing to a public portal exposes documentation and specs, not unrestricted calls to the API.
7.2 Test APIs using the Anypoint Exchange mocking service.Calling a simulated API built from the specification.
What it means
The mocking service creates a temporary endpoint from an API specification that returns responses based on the examples defined in the spec. Consumers can call it from the API console in Exchange or Design Center, or from their own tools, before any implementation is deployed.
What to understand
Good examples in the specification make mocks useful; without them, responses are generic. Mocking supports spec-first design by letting consumers give feedback on the contract early. A mock does not apply business logic, real data or policies, so it complements rather than replaces testing against the real implementation.
How it shows up
Consumers must start integration work while the API is still being built, and you choose the mocking service.
Common confusion
A mock returns example data only; it cannot confirm that the real implementation's logic or performance is correct.
7.3 Given a hyperautomation scenario, employ Anypoint Exchange best practices.Organizing assets so others find, trust and reuse them.
What it means
Exchange best practices cover how assets are described and maintained: meaningful names, descriptions, tags and categories, rich documentation pages, examples, semantic versioning, lifecycle states such as development, stable and deprecated, and ratings and reviews from consumers.
What to understand
The goal is discovery and trust. Teams should search Exchange before building, publish reusable assets such as system API specs, fragments and templates, deprecate old versions clearly, and keep documentation current. In hyperautomation programs, publishing the APIs that Flow, Composer and bots use makes the whole solution easier to maintain.
How it shows up
Teams keep building duplicate customer APIs, and you choose cataloging practices that make the existing one discoverable.
Common confusion
Deleting an old version breaks consumers; deprecating it signals change while existing users migrate.

High-yield concepts

The terms, rules and formulas this domain turns into questions most often.

  • Anypoint Exchange

    The catalog for APIs, specs, fragments, connectors, templates, examples and policies.

    Remember
    Search it before building anything new.
    Tested as
    Every reuse question.
    Trap
    Treating it only as a connector download site.
  • Private Exchange

    Organization-scoped catalog visible according to business group permissions.

    Remember
    Default destination for internal assets.
    Tested as
    Visibility questions.
    Trap
    Assuming all users in every business group see every asset.
  • Public portal

    Customizable external site that shares chosen assets with outside developers.

    Remember
    Shares documentation; access still requires an approved request.
    Tested as
    Partner scenarios.
    Trap
    Thinking it opens the API to anonymous calls.
  • Mocking service

    Simulated endpoint generated from a spec, returning example responses.

    Remember
    Enables parallel work before implementation.
    Tested as
    Early testing questions.
    Trap
    Using it to validate real logic or load.
  • Spec examples

    Sample payloads defined in the specification.

    Remember
    They drive mock responses and documentation.
    Tested as
    Mock quality questions.
    Trap
    Publishing specs without examples.
  • Asset types

    REST and SOAP APIs, fragments, connectors, templates, examples, policies and custom assets.

    Remember
    Fragments reuse data types and traits across specs.
    Tested as
    What to publish.
    Trap
    Copying data types between specs instead of using fragments.
  • Semantic versioning

    Major.minor.patch version numbers that signal compatibility.

    Remember
    Major versions signal breaking changes.
    Tested as
    Change-management questions.
    Trap
    Overwriting an existing version with breaking changes.
  • Lifecycle states

    Development, stable and deprecated states on asset versions.

    Remember
    Deprecate rather than delete versions with consumers.
    Tested as
    Maintenance questions.
    Trap
    Deleting an old version still in use.
  • Asset documentation and metadata

    Descriptions, pages, tags and categories that aid search.

    Remember
    Discoverability drives reuse.
    Tested as
    Best-practice scenarios.
    Trap
    Publishing a bare spec with no description.
  • Access request

    A consumer asks for access to an API instance from Exchange and gets client credentials when approved.

    Remember
    Links Exchange discovery to API Manager contracts.
    Tested as
    Consumption questions.
    Trap
    Sharing credentials outside the contract process.

Side by side

Concepts candidates mix up, compared on the point that decides the answer.

Private Exchange vs. public portal

ConceptMeaningKey differenceCommon trap
Private Exchange Internal catalog for the organization Visibility follows business group permissions Expecting partners to see it
Public portal External developer site Shares selected assets publicly Assuming it grants runtime access

Mocking service vs. real implementation testing

ConceptMeaningKey differenceCommon trap
Mocking service Example responses from the spec Available before any code exists Trusting it for logic or performance
Implementation testing Calls to the deployed API Validates logic, data and policies Waiting for it before consumers can start

Deprecate vs. delete an asset version

ConceptMeaningKey differenceCommon trap
Deprecate Mark a version as superseded Consumers keep working while they migrate Skipping the communication to consumers
Delete Remove the version Breaks anyone still depending on it Deleting versions that are still in use

Exam traps

Each trap is an answer that looks right. Learn the clue that should change your mind.

  1. Wait for the build

    What candidates pick
    Tell consumer teams to wait until the API is deployed before integrating.
    Why it looks right
    Testing against real code seems safer.
    Why it's wrong
    The mocking service lets consumers build and validate the contract in parallel, which is the point of spec-first design.

    Clue to watch for The spec exists but the implementation is weeks away.

  2. Public means open

    What candidates pick
    Share the API on a public portal so partners can call it freely.
    Why it looks right
    Public sounds like unrestricted access.
    Why it's wrong
    The portal shares documentation; runtime access still depends on approved contracts and API policies.

    Clue to watch for The scenario mentions partners requesting access.

  3. Email the spec

    What candidates pick
    Send the spec file to the other team directly.
    Why it looks right
    It is quick and personal.
    Why it's wrong
    It bypasses the catalog, versioning and discovery that make reuse possible.

    Clue to watch for Several teams need the same asset over time.

  4. Delete to retire

    What candidates pick
    Delete the old API version once the new one is published.
    Why it looks right
    It keeps the catalog clean.
    Why it's wrong
    Existing consumers break; deprecating the version signals the change while they migrate.

    Clue to watch for Consumers still use the old version.

  5. Mock as load test

    What candidates pick
    Use the mocking service to check API performance under load.
    Why it looks right
    The mock responds like the API.
    Why it's wrong
    Mocks return example data without real logic or backend calls, so they say nothing about real performance.

    Clue to watch for The question asks about performance or business logic.

Answer framework

Use audience, timing and lifecycle to settle Exchange questions.

  1. Identify the audience: internal teams in the organization or business group, or external developers and partners who need self-service access without Anypoint accounts in your organization.
  2. Publish to private Exchange for internal reuse, and add the asset to a public portal only for external audiences.
  3. If consumers need to start before implementation, enable the mocking service and make sure the spec has good examples for each response.
  4. Add descriptions, documentation pages, tags, categories and semantic versions so the asset is discoverable and trusted, bumping the major version only for breaking changes.
  5. Retire versions by deprecating them and communicating the change, and always search Exchange before building something new to avoid duplicate assets.

Practice question

Several business units are building integrations that each need customer data from the same CRM. Each has built its own customer API. What should the integration lead do to encourage reuse going forward?

Choose one answer

Want more like this? The Mule-Dev-202 practice test has questions for every domain.

Checklist

0 of 10

Tick each one you can do without notes. Your ticks stay in this browser.

Study strategy

Use an Anypoint trial to publish a small API specification from Design Center to Exchange, add a description, tags, a category and a documentation page, and then open the asset as a consumer would. Turn on the mocking service and call the mock from the API console and from an HTTP client. Publish a second version with a change and mark the first version as deprecated.

High-priority topics are private versus public visibility, the mocking service and versioning. Underestimated areas are how examples in the spec affect mocks, and the difference between sharing documentation publicly and granting runtime access through contracts.

In practice questions, identify the audience and the timing first. Internal audience points to private Exchange, external to a public portal; before implementation points to the mocking service. When a question is about duplication or teams not finding assets, the answer is usually better metadata, documentation and a single published asset rather than a technical change. This section pairs naturally with the reuse objective in the best-practices section, so review them together.

FAQ

How much of the Mule-Dev-202 exam is Use Anypoint Exchange to catalog (publish), share, discover, and reuse assets?

The Exchange section is 8% of the exam, about five of 60 questions as an editorial estimate.

What is the Exchange mocking service?

A feature that creates a simulated endpoint from an API specification and returns responses based on the spec's examples, so consumers can test before the implementation exists.

What is the difference between private Exchange and a public portal?

Private Exchange is the internal catalog controlled by organization and business group permissions. A public portal is an external site where selected assets are shared with outside developers.

Does publishing an API to a public portal let anyone call it?

No. The portal shares documentation and specs. Calling a managed API still requires an approved access request and any policies applied in API Manager.

How should old asset versions be retired?

Mark them deprecated and tell consumers, so existing integrations keep working while they move to the new version.

How long should I study this section?

Plan about 5 to 6 hours as an editorial estimate, mostly hands-on publishing and mocking in a trial account.

Other CRM & Business Applications certifications

Where the same subject shows up in other exams. Cards marked "Same subject" open the matching domain.

Test your Domain 7 knowledge

You have covered publishing to private Exchange and public portals, the mocking service, versioning and catalog practices. Check whether you can choose the right sharing and testing approach quickly.

Keep going