First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1Describe and document integration architecture
In an integration architecture document, which artifact defines the contract for messages exchanged between two systems, including field names, data types, and cardinality?
- The service level agreement
- The capacity forecast
- The deployment topology diagram
- The message schema or interface definition Correct answer.
Explanation
A message schema or interface definition is the formal contract that fixes field names, data types, and cardinality so both producer and consumer build against the same structure. Topology, SLA, and capacity artifacts describe placement, commitments, and sizing rather than payload structure.
Question 2Describe and document integration architecture
An architect is documenting how an order event flows from a commerce platform through a message broker to a fulfillment service. Which view is the most appropriate place to record the routing and sequencing of that flow?
- The data retention schedule
- The access control matrix
- The physical network diagram
- The integration flow or interaction model view Correct answer.
Explanation
The integration flow or interaction model view captures which participants exchange which messages, in what order, and through which channels. Physical network, retention, and access control artifacts describe infrastructure, lifecycle, and permissions rather than interaction sequencing.
Question 3Describe and document integration architecture
What is the primary purpose of documenting an integration architecture at all?
- To eliminate the need for interface versioning
- To replace the need for testing environments
- To satisfy licensing requirements of middleware vendors
- To give stakeholders a shared, reviewable description of how systems connect and exchange data Correct answer.
Explanation
Integration architecture documentation exists so architects, developers, and operations staff share one reviewable description of connections, data flows, and constraints. It supports decisions and change impact analysis; it does not remove testing, licensing, or versioning obligations.
Question 4Describe and document integration architecture
Which term describes a documented, reusable pattern for connecting systems, such as publish-subscribe or request-reply, that an architect selects and records for a given integration?
- Change advisory board
- Integration pattern Correct answer.
- Data steward
- Deployment slot
Explanation
An integration pattern is a named, reusable solution shape such as publish-subscribe, request-reply, or file transfer that the architect selects and records. Deployment slots, data stewards, and change boards are unrelated operational or governance roles and mechanisms.
Question 5Describe and document integration architecture
When documenting an interface, why should the architect record both the syntactic contract and the semantic meaning of each field?
- Because syntactic contracts cannot be versioned
- Because matching data types alone does not prevent misinterpretation of values such as status codes or units Correct answer.
- Because semantics are only needed for graphical user interfaces
- Because semantic documentation replaces the need for message schemas
Explanation
Two systems can agree on a field's type and still disagree on what a value means, for example whether status 2 means shipped or cancelled, or whether an amount is in cents or units. Recording semantics alongside syntax prevents these integration defects.
Question 6Describe and document integration architecture
A team must document a batch integration that transfers a nightly extract file to a data warehouse. Which set of attributes is most relevant to record for that transfer?
- File naming convention, schedule, format, and delivery mechanism Correct answer.
- Incident severity matrix
- Team roster, office location, and holiday calendar
- Source code repository branch strategy
Explanation
For a file-based batch integration the essential documented attributes are the naming convention, the transfer schedule, the file format, and the delivery mechanism such as SFTP or object storage. The other options concern staffing, source control, or incident handling rather than the transfer contract.
Question 7Describe and document integration architecture
What distinguishes an application programming interface from a simple file drop as an integration style in architecture documentation?
- An API cannot be documented in an architecture repository
- An API exposes callable operations with defined request and response contracts, while a file drop exchanges whole documents on a schedule Correct answer.
- A file drop always provides stronger transactional guarantees
- An API requires no error handling documentation
Explanation
An API exposes discrete callable operations with defined request and response contracts, typically synchronous, whereas a file drop transfers whole documents on a schedule. Both styles must be documented, and neither inherently guarantees stronger transactional behavior.
Question 8Describe and document integration architecture
Which statement best describes the role of a canonical data model in integration architecture documentation?
- It provides a shared, system-neutral representation that maps to each participating system's local format Correct answer.
- It replaces the need for transformation logic
- It stores the production database for every integrated system
- It is a security policy governing message encryption
Explanation
A canonical data model is a system-neutral representation to which each participant's local format is mapped, reducing point-to-point transformations. It is a design artifact, not a database, transformation substitute, or security policy.
Question 9Describe and document integration architecture
An architect documents a synchronous request-reply integration between a portal and a pricing service. The pricing service occasionally takes longer than the portal's timeout. Which documentation gap most directly causes operational confusion during such delays?
- The deployment diagram omits the data center floor plan
- The interface description omits timeout values, retry behavior, and the expected response when the call exceeds the limit Correct answer.
- The glossary omits the names of the executive sponsors
- The capacity plan omits marketing campaign dates
Explanation
For synchronous integrations, documenting timeouts, retry policy, and the defined fallback response is essential because these determine observable behavior under latency. Floor plans, sponsor names, and campaign dates do not explain what happens when a call exceeds its limit.
Question 10Describe and document integration architecture
A messaging integration uses at-least-once delivery. Which behavior must the architecture documentation explicitly state so that consumers are built correctly?
- The broker guarantees ordering across all topics
- Consumers must be idempotent because duplicate messages can be delivered Correct answer.
- Consumers may assume each message arrives exactly once
- Producers must disable acknowledgements
Explanation
At-least-once delivery permits duplicates, so the documented contract must require consumers to process messages idempotently. It cannot promise exactly-once arrival, and it says nothing about disabling acknowledgements or global ordering guarantees.
Question 11Describe and document integration architecture
When documenting error handling for an integration, which element makes the contract testable by both producer and consumer teams?
- A reference to the vendor's general support portal
- A catalog of defined error codes with the conditions that trigger each one Correct answer.
- A statement that errors will be handled appropriately
- A note that the integration is business critical
Explanation
A catalog of specific error codes tied to triggering conditions gives both teams a concrete, verifiable contract they can test against. Vague assurances, vendor portals, and criticality labels provide no testable behavior.
Question 12Describe and document integration architecture
An architect must record how a legacy mainframe system participates in a modern event-driven landscape without changing the mainframe. Which documentation approach best captures the adaptation?
- Document the mainframe only in the disaster recovery plan
- Document an adapter or anti-corruption layer that translates between mainframe formats and the event contract Correct answer.
- Omit the mainframe from the integration view
- Document the mainframe as fully event-native
Explanation
An adapter or anti-corruption layer isolates the legacy system, translating its formats and protocols into the modern event contract while protecting both sides from change. Describing the mainframe as event-native, omitting it, or hiding it in a DR plan misrepresents the architecture.
Question 13Describe and document integration architecture
Which documentation element most clearly communicates ownership and accountability for a published interface?
- The named owning team and contact route recorded against the interface entry Correct answer.
- The physical server hostname
- The programming language used to build the interface
- The average message size
Explanation
Recording the owning team and a contact route establishes who is accountable for the interface and how to reach them. Language, hostname, and message size are technical attributes that do not assign responsibility.
Question 14Describe and document integration architecture
A team documents an integration using a sequence diagram plus a field-level schema. Which additional artifact best closes the gap for operations staff who must diagnose failures at runtime?
- A list of past project managers
- A mapping of correlation identifiers and log points across the participating systems Correct answer.
- A glossary of executive titles
- A marketing brochure describing the integration
Explanation
Operations staff need to trace a single transaction across systems, which requires knowing the correlation identifiers and where each system logs them. Design diagrams and schemas explain structure but not runtime traceability; the other options are irrelevant.
Question 15Describe and document integration architecture
In documenting a publish-subscribe integration, why must the architect record both the topic structure and the subscriber inventory?
- Because topic structure governs routing while the subscriber inventory reveals who depends on each message and what impact a change would have Correct answer.
- Because topic structure is only relevant to producers
- Because subscribers must approve the topic naming convention before publication
- Because the subscriber inventory replaces the need for message schemas
Explanation
Topic structure determines how messages are routed, and the subscriber inventory identifies every dependent consumer so change impact can be assessed. Approval workflow, producer-only relevance, and schema replacement are not reasons for recording both.
Question 16Describe and document integration architecture
An integration document specifies that a customer record is mastered in the CRM system and propagated to billing and support. Which architectural concept is being documented?
- Load balancing strategy
- Network segmentation
- System of record and data ownership Correct answer.
- Encryption key rotation
Explanation
Naming the CRM as the authoritative source and describing downstream propagation documents the system of record and data ownership for that entity. Load balancing, segmentation, and key rotation are infrastructure and security concerns unrelated to data authority.
Question 17Describe and document integration architecture
Which practice best keeps integration architecture documentation trustworthy over time?
- Restricting documentation access to a single author
- Replacing the documentation with meeting minutes
- Treating the documentation as a versioned artifact updated through the same change process as the interfaces it describes Correct answer.
- Publishing the documentation once at project close and archiving it
Explanation
Versioning the documentation and tying updates to the interface change process keeps it aligned with reality. One-time publication, single-author restriction, and substituting meeting minutes all cause drift and loss of trust.
Question 18Describe and document integration architecture
A document shows an integration labeled as fire-and-forget. What must the architect clarify so consumers are not misled about reliability?
- Whether the servers are virtual or physical
- Whether the middleware vendor is certified
- Whether failures are retried, dead-lettered, or silently dropped Correct answer.
- Whether the payload uses XML or JSON
Explanation
Fire-and-forget describes the caller not waiting for a response, but it says nothing about what happens to failed messages, so the documentation must state retry, dead-letter, or drop behavior. Payload format, vendor certification, and host type do not address reliability expectations.
Question 19Describe and document integration architecture
Which element of an integration architecture document most directly supports impact analysis when a shared service changes its response format?
- A list of firewall rules
- A traceable inventory linking each interface to its consumers Correct answer.
- A staffing plan for the operations team
- A summary of past outage durations
Explanation
Impact analysis requires knowing which consumers depend on a given interface, which a traceable interface-to-consumer inventory provides. Firewall rules, staffing plans, and outage summaries do not identify affected dependents.
Question 20Describe and document integration architecture
An architect is reconciling two documents: one shows a nightly batch feed between inventory and finance, the other shows a real-time API for the same data. What is the most rigorous way to resolve the discrepancy before publication?
- Verify the actual runtime behavior and authoritative source with the owning teams, then correct and version the affected document Correct answer.
- Delete the older document without investigation
- Merge the two descriptions into a single hybrid statement
- Publish both documents unchanged so readers can choose
Explanation
Conflicting descriptions must be resolved against observed runtime behavior and the owning teams' authority, after which the corrected document is versioned. Publishing contradictions, deleting evidence, or inventing a hybrid all degrade trust and accuracy.
Question 21Describe and document integration architecture
A document describes an integration as exactly-once without stating the mechanism. Why is this a documentation defect in a distributed architecture?
- Exactly-once end-to-end delivery requires specific mechanisms such as idempotent consumers or transactional outbox, and omitting them hides real failure modes Correct answer.
- Because exactly-once delivery is trivially achieved by any message broker
- Because the term exactly-once refers only to file transfers
- Because documenting mechanisms is the vendor's responsibility, not the architect's
Explanation
End-to-end exactly-once behavior is not free; it depends on mechanisms such as idempotent processing, deduplication, or a transactional outbox, and the documentation must state which are used. Without that, readers cannot assess duplicate or loss risk, and no broker makes it trivial.
Question 22Describe and document integration architecture
Two teams each document the same interface with different field cardinalities, one allowing many line items and one allowing a single line item. Which action best restores a single defensible contract?
- Average the two cardinalities into a compromise value
- Keep both versions and let runtime validation decide
- Remove cardinality from both documents
- Convene both owning teams to agree the authoritative cardinality, record the rationale, and republish one versioned contract Correct answer.
Explanation
Conflicting contracts are resolved by the owning teams agreeing on authoritative semantics, capturing the rationale, and publishing one versioned contract all parties build against. Averaging, deferring to runtime, or deleting the constraint leaves consumers exposed to incompatible assumptions.
Question 23Describe and document integration architecture
A document lists an integration as asynchronous but the sequence diagram shows the caller blocking until a response returns. Which interpretation should the architect apply when correcting the record?
- Both descriptions can be correct if the payload is small
- The label takes precedence because labels are authoritative over diagrams
- The diagram should be deleted because diagrams are illustrative only
- The diagram reflects synchronous behavior, so the label is wrong and the reliability and timeout documentation must follow the synchronous contract Correct answer.
Explanation
Observed blocking behavior defines a synchronous interaction, so the label is the error and the surrounding timeout, retry, and failure documentation must match synchronous semantics. Labels do not override evidence, payload size is irrelevant, and deleting the diagram removes valid evidence.
Question 24Describe and document integration architecture
An architect must document a cross-domain integration where each domain owns its data and no shared database is permitted. Which documentation decision best preserves that constraint for future reviewers?
- Leave the constraint implicit in team habits
- Describe the shared database schema as the integration contract
- Record the constraint as an explicit architectural decision with rationale, and describe each interface as a published contract rather than a shared store Correct answer.
- Document only the current point-to-point connections without the rationale
Explanation
Making the no-shared-database constraint an explicit, rationale-bearing architectural decision preserves intent for future reviewers, and describing interfaces as published contracts reinforces domain ownership. Documenting a shared schema, leaving the rule implicit, or omitting rationale all invite later violations.
Question 25Describe and document integration architecture
A document claims a message channel is ordered, but the design uses multiple competing consumers on a partitioned topic. What must the architect verify and record?
- That partitioning should be removed to guarantee order
- That ordering is guaranteed only within a partition key, and state the key and its consumer concurrency assumptions Correct answer.
- That ordering is unnecessary once consumers are idempotent
- That ordering holds globally across all partitions and consumers
Explanation
With partitioned topics and competing consumers, ordering typically holds only within a partition, so the documentation must state the partition key and the concurrency assumptions consumers rely on. Global ordering, idempotency as a substitute, and removing partitioning are incorrect or impractical claims.
Question 26Describe and document integration architecture
When documenting an integration architecture, which artifact defines the agreed technical contract between a service provider and its consumers, including operations, message formats, and protocol bindings?
- A project schedule showing delivery milestones for the integration build
- A capacity plan projecting infrastructure growth over three years
- An interface specification or service contract attached to the integration record Correct answer.
- A stakeholder register listing business sponsors of each system
Explanation
The interface specification is the artifact that fixes what is exchanged, in what format, and over which protocol, so producer and consumer can build and test against the same definition. Schedules, capacity plans, and stakeholder registers support delivery and governance but do not define the technical contract.
Question 27Describe and document integration architecture
An architect is documenting a cross-domain integration where each domain owns its data and no shared database is permitted. Which documentation approach best captures the required decoupling?
- Record the shared database schema both domains will read and write directly
- Describe each domain's published interface and the events exchanged, with no direct data-store access shown Correct answer.
- Document a single global entity model that all domains must adopt unchanged
- State that the domains will synchronize by nightly full-table replication of each other's stores
Explanation
When domain ownership is a constraint, the documentation should show communication only through published interfaces and events, which preserves autonomy and prevents hidden coupling. Showing shared or replicated stores would contradict the stated architectural rule and mislead implementers.
Question 28Describe and document integration architecture
An integration record describes a channel as strictly ordered, but the design uses multiple competing consumers on a partitioned topic. What must the architect document to make the ordering claim defensible?
- That ordering holds because each consumer applies idempotent writes to its own store
- That ordering is guaranteed globally because the broker persists every message to disk
- That ordering is irrelevant once consumers acknowledge messages individually
- That ordering is preserved only within a partition key, and consumers of the same key must not process concurrently Correct answer.
Explanation
With competing consumers on a partitioned topic, ordering can only be asserted per partition or key, and only if messages sharing a key are processed serially. The documentation must state the keying rule and the concurrency constraint, otherwise the global ordering claim is false.
Question 29Describe and document integration architecture
A document labels an integration as fire-and-forget, yet the flow requires the sender to know whether the receiver accepted the request before continuing. Which correction makes the documentation accurate?
- Reclassify the interaction as request-reply or asynchronous with acknowledgement, and show the response path Correct answer.
- Keep the label and specify a longer timeout on the sender side
- Keep the label and add a note that failures are logged by the receiver
- Reclassify the interaction as batch and move it to a nightly schedule
Explanation
Fire-and-forget means the sender does not wait for or depend on any response, so an interaction that requires confirmation is request-reply or at minimum asynchronous with acknowledgement. The documentation must show the response or acknowledgement path so consumers understand the dependency.
Question 30Describe and document integration architecture
Two integration documents describe the same interface with conflicting field cardinalities: one allows many line items per order, the other allows exactly one. What is the most rigorous way to resolve and record the discrepancy in the architecture documentation?
- Trace the cardinality to the authoritative schema and business rule, record the decision and its rationale, and correct both documents to a single version Correct answer.
- Adopt the more permissive cardinality in both documents to avoid rejecting valid messages
- Remove the cardinality from both documents and let runtime validation decide
- Keep both versions and note that implementers should follow whichever matches their system
Explanation
Conflicting contracts must be resolved against the authoritative source and business rule, then recorded with the decision rationale so the documentation has one defensible version. Simply picking the looser option or leaving ambiguity pushes the conflict into production behavior.
Question 31Design integration solutions using MuleSoft's approach and tooling
In Anypoint Platform, which component is the central repository for reusable APIs, fragments, and their versioned assets that can be shared across projects?
- Anypoint Monitoring
- Anypoint Exchange Correct answer.
- Runtime Manager
- API Manager
Explanation
Anypoint Exchange is the catalog where teams publish and discover reusable assets such as REST APIs, fragments, connectors, and templates. Publishing to Exchange enables dependency-based reuse across design projects.
Question 32Design integration solutions using MuleSoft's approach and tooling
Which API-led connectivity layer is intended to expose data from a single system of record with minimal transformation so it can be reused by many consumers?
- System API Correct answer.
- Experience API
- Process API
- BFF API
Explanation
System APIs sit closest to systems of record and provide a stable, reusable abstraction over a specific backend. They isolate consumers from backend protocol and data-model details while doing minimal orchestration.
Question 33Design integration solutions using MuleSoft's approach and tooling
A team wants to define a REST API contract in code before implementation so that mocking and documentation are generated automatically. Which MuleSoft approach fits best?
- Configure an HTTP Listener in a new Mule application and enable the Mocking service
- Design the API in API Designer using RAML or OAS and publish it to Exchange Correct answer.
- Build the flows first in Anypoint Studio and export the project as a JAR
- Create a private Maven repository and upload the compiled application
Explanation
Design-first means authoring a specification (RAML or OAS) in API Designer, which supports mocking and auto-generated documentation once published to Exchange. The contract then drives implementation and consumer contracts.
Question 34Design integration solutions using MuleSoft's approach and tooling
Which Anypoint Platform capability lets multiple implementation instances of the same API share a single contract and consumer registration?
- Individual client certificates per application
- API autodiscovery linked to an API instance in API Manager Correct answer.
- Runtime Manager alert policies
- A separate HTTP Listener per deployment
Explanation
API autodiscovery associates a deployed application with an API instance in API Manager, so policies and client contracts apply across all instances of that API. This centralizes governance instead of duplicating configuration per deployment.
Question 35Design integration solutions using MuleSoft's approach and tooling
A designer needs to reuse common error-handling traits and data types across several RAML specifications. What is the recommended MuleSoft mechanism?
- Store shared definitions in a JSON schema served over HTTP
- Convert every specification to OAS before sharing
- Copy the definitions into each specification manually
- Publish a RAML fragment to Exchange and include it via !include Correct answer.
Explanation
RAML fragments are reusable specification parts published to Exchange and pulled in with !include, keeping definitions consistent across APIs. Manual copying causes drift and defeats design-time reuse.
Question 36Design integration solutions using MuleSoft's approach and tooling
Which MuleSoft tooling is used to visually model and simulate an integration flow, including mocking API responses, before writing implementation code?
- Anypoint Monitoring dashboards
- Anypoint CLI
- Anypoint Studio with the APIkit mocking capability Correct answer.
- Anypoint Flow Designer
Explanation
Anypoint Studio supports APIkit-based generation and mocking from a published specification, letting developers simulate endpoints before implementation. This validates the contract early against consumer expectations.
Question 37Design integration solutions using MuleSoft's approach and tooling
An architect wants to apply cross-cutting concerns such as rate limiting and OAuth 2.0 token enforcement consistently to an API without changing its implementation code. Which approach should be used?
- Attach policies to the API instance in API Manager Correct answer.
- Encode the checks in the RAML specification only
- Configure global elements in each Mule project
- Add custom validation logic in every flow
Explanation
API Manager policies enforce concerns like rate limiting and OAuth enforcement at the gateway layer, independent of implementation code. This keeps governance consistent and avoids duplicating logic across flows.
Question 38Design integration solutions using MuleSoft's approach and tooling
Which statement best describes the role of a Process API in an API-led architecture?
- It exposes a single backend system with minimal transformation
- It formats responses for a specific mobile channel
- It stores API specifications for reuse
- It aggregates and orchestrates multiple System APIs to implement business logic Correct answer.
Explanation
Process APIs combine and orchestrate multiple System APIs to implement business processes, decoupling channels from backend composition. They centralize reusable business logic rather than channel-specific formatting.
Question 39Design integration solutions using MuleSoft's approach and tooling
A team wants to generate APIkit scaffolding from a RAML specification inside Anypoint Studio. What must be true for generation to succeed?
- The specification must use OAS 3.0 instead of RAML
- The application must be deployed to CloudHub first
- The project must already contain an HTTP Listener on port 8081
- The RAML must be published to Exchange and referenced by a Maven dependency Correct answer.
Explanation
APIkit scaffolding in Studio pulls the specification from Exchange through a Maven dependency, so the RAML must be published there first. Generation then creates flows and routers aligned to the contract.
Question 40Design integration solutions using MuleSoft's approach and tooling
Which Anypoint Platform feature provides a unified catalog of APIs with lifecycle states such as Design, Published, and Deprecated for governance?
- Anypoint Exchange with API lifecycle states Correct answer.
- Runtime Manager applications
- Anypoint Monitoring alerts
- API Manager instances
Explanation
Exchange tracks API assets and their lifecycle states, giving teams visibility into maturity and governance. This supports reuse decisions and deprecation planning across the organization.
Question 41Design integration solutions using MuleSoft's approach and tooling
A designer must document pagination, filtering, and standard error responses consistently across many APIs. Which design practice best supports this?
- Hardcode query parameters in each endpoint
- Define reusable traits and resource types in a shared RAML library Correct answer.
- Document these only in the implementation code
- Rely on consumers to infer pagination behavior
Explanation
Traits and resource types capture cross-cutting patterns like pagination and error handling once, then apply them across resources and APIs. This produces consistent, self-documenting contracts.
Question 42Design integration solutions using MuleSoft's approach and tooling
Which MuleSoft capability enables a designer to create a mock endpoint from a published specification so front-end teams can develop in parallel?
- Exchange mocking service Correct answer.
- Anypoint Monitoring log points
- Runtime Manager deployment targets
- API Manager policy templates
Explanation
Exchange's mocking service generates live mock endpoints directly from a published specification, allowing parallel front-end and back-end development. It validates that the contract supports consumer needs before implementation.
Question 43Design integration solutions using MuleSoft's approach and tooling
An organization wants to standardize how all teams implement error responses across APIs. Which combination best supports this goal?
- Ad hoc logging in each flow
- Policies that suppress all error responses
- Unique error formats per team to maximize flexibility
- A shared RAML fragment for error schemas plus a reusable error-handling flow in a common library Correct answer.
Explanation
Publishing a shared error-schema fragment and a reusable error-handling flow creates a consistent contract and implementation pattern. Reuse through Exchange keeps teams aligned without duplicating logic.
Question 44Design integration solutions using MuleSoft's approach and tooling
Which Anypoint Platform component is used to define and manage client applications and their access contracts to an API?
- Anypoint Exchange
- Anypoint Studio
- Runtime Manager
- API Manager with contract management Correct answer.
Explanation
API Manager handles client application registration and contract approval for API instances, controlling who can consume an API. This ties consumer access to governance policies.
Question 45Design integration solutions using MuleSoft's approach and tooling
A design team wants to enforce that all new APIs follow organizational naming and documentation standards before implementation begins. Which practice best achieves this?
- Require developers to memorize the standards
- Let each team choose its own conventions
- Publish design guidelines and validate specifications during design review in Exchange Correct answer.
- Apply standards only after deployment
Explanation
Publishing guidelines and reviewing specifications in Exchange before implementation catches deviations early, when changes are cheap. This embeds governance into the design phase rather than after deployment.
Question 46Design integration solutions using MuleSoft's approach and tooling
Which statement accurately distinguishes an Experience API from a Process API?
- Experience APIs store specifications, while Process APIs deploy applications
- Experience APIs expose one system of record, while Process APIs expose none
- Experience APIs enforce policies, while Process APIs manage contracts
- Experience APIs tailor data for a channel, while Process APIs orchestrate backend systems Correct answer.
Explanation
Experience APIs shape responses for specific channels or audiences, whereas Process APIs combine multiple systems to implement business logic. Keeping these concerns separate improves reuse and maintainability.
Question 47Design integration solutions using MuleSoft's approach and tooling
A team needs to expose a legacy SOAP service as a modern REST API for reuse. Which MuleSoft design approach is most appropriate?
- Build a separate custom integration per consumer
- Create a System API that wraps the SOAP service and exposes a REST contract Correct answer.
- Document the SOAP service in Exchange without an API layer
- Expose the raw SOAP WSDL directly to all consumers
Explanation
A System API abstracts the legacy SOAP service behind a stable REST contract, isolating consumers from legacy protocols. This enables reuse and protects consumers from backend changes.
Question 48Design integration solutions using MuleSoft's approach and tooling
Which MuleSoft feature allows a designer to specify reusable security schemes such as OAuth 2.0 in a RAML specification?
- Object Store configuration
- securitySchemes declared in the RAML and applied at the API level Correct answer.
- HTTP Listener configuration
- Global error handler
Explanation
RAML securitySchemes define authentication mechanisms like OAuth 2.0, which are then applied at the API or method level. This documents security expectations in the contract for consumers and tooling.
Question 49Design integration solutions using MuleSoft's approach and tooling
An architect wants to ensure that changes to a shared RAML fragment do not silently break dependent APIs. Which practice best mitigates this risk?
- Copy fragments into each project to avoid dependencies
- Allow fragments to change without versioning
- Disable validation in API Designer
- Version the fragment and review dependent APIs before promoting new versions Correct answer.
Explanation
Versioning fragments and reviewing dependents before promotion prevents unintended breaking changes across APIs. This maintains contract stability for consumers relying on shared definitions.
Question 50Design integration solutions using MuleSoft's approach and tooling
Which Anypoint Platform capability supports automated testing of an API specification against its implementation during CI?
- Exchange search
- Runtime Manager alerting
- Anypoint Monitoring dashboards
- MUnit with APIkit-based contract tests Correct answer.
Explanation
MUnit tests, combined with APIkit-generated flows, can validate that implementations conform to the contract within CI pipelines. This catches contract drift before deployment.