Exam Information
Free practice questions with explanations
Salesforce Salesforce-MuleSoft-Developer-I Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Accessing and Modifying Mule Events
A Mule 4 flow receives a POST request containing a JSON order. Downstream, an HTTP Request connector returns a response whose body is overwritten by the next processor, but a later Transform Message step still needs the original order id that was in the payload before the HTTP call. The team wants the order id available after the HTTP Request without re-reading the inbound request. Which approach meets the requirement?
Correct Answer: DExplanationMule 4 replaces the payload when a connector returns, so anything needed later must be captured beforehand. A flow variable set with the Variable transformer (or Set Variable) persists across processors in the same flow and is read with vars.orderId in DataWeave. Reading query parameters is wrong because the order id arrived in a JSON body, not the query string, and attributes do not hold the body. Connectors do not echo the payload back. Session variables are not cleared after an HTTP call; the real hazard is that they are scoped to the event lifecycle differently and are not the mechanism the scenario describes.
-
2 Question 2 Single choice Building API Implementation Interfaces
A team uses APIkit for Mule 4 to implement an orders API from a RAML 1.0 specification. A client sends GET /orders/{orderId} with an orderId that is not defined in any resource of the RAML. The requirement is that APIkit must reject the call before any flow logic runs, returning a 404 in the standard APIkit format. Which behaviour should the developer expect and what must they confirm?
Correct Answer: BExplanationThe APIkit router is generated from the RAML, so only declared resources and methods are dispatched; anything else is rejected with a standard 404 response before implementation flows run. Routing an undefined path to a catch-all flow contradicts the requirement. Returning 405 applies to a declared resource with an undeclared method, not an undeclared path. Customising the error handler is not needed for the default 404 behaviour the scenario asks about.
-
3 Question 3 Single choice Creating Application Networks
A retail company is designing its integration estate using an API-led approach. A central Center for Enablement (C4E) has been created. The team proposes exposing the back-end inventory database directly through a Process API so that every consuming team can query it, reasoning that the Process API is the lowest-cost layer. The company must keep changes to the inventory system isolated and reusable across channels. Which architectural correction best aligns with the API-led model?
Correct Answer: BExplanationAPI-led connectivity separates System APIs (systems of record, such as the inventory database), Process APIs (orchestration and business logic) and Experience APIs (channel-specific). Wrapping the database in a System API isolates change and enables reuse, with the Process API composing it. Direct database access from channels breaks isolation. Merging layers removes the reuse the scenario requires. A Process API is not a System API, so mislabelling it as one fails the layering model.
-
4 Question 4 Single choice Debugging and Troubleshooting Mule Applications
A Mule 4 application deployed to CloudHub 2.0 begins failing intermittently with a HTTP:CONNECTIVITY error when calling a partner service. The partner's firewall team confirms the service is healthy. The application's HTTP Request configuration has a response timeout of 10 seconds, and the partner's occasional batch responses take about 12 seconds. The team has limited time and must find the root cause using the logs and the error details without redeploying blindly. What is the most likely root cause and the correct first step?
Correct Answer: CExplanationA HTTP:TIMEOUT or connectivity error that aligns with responses taking longer than the 10-second response timeout points to a configuration limit, and the logs will show the timeout exception and the error type that identifies it. Restarting for DNS cache issues and rotating certificates are unsupported by the symptoms, since the firewall is healthy and the problem is intermittent and tied to slow responses. Streaming addresses memory, not response latency, so it does not match the scenario.
-
5 Question 5 Drag and drop Deploying and Managing APIs and Integrations
A team must publish an orders System API on Anypoint Platform so that a separately managed proxy fronts the application, policies such as client ID enforcement can be applied without redeploying the application, and the API is discovered by other applications. Match each requirement to the Anypoint capability that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Let an implementation register its API so consumers can find itApply rate limiting and client ID enforcement without changing application codeExpose the deployed application through a managed gateway endpointAuto-discoveryAnypoint Exchange asset versioningAPI proxy deploymentAPI Manager policiesCloudHub worker autoscalingCorrect Answer:- Apply rate limiting and client ID enforcement without changing application code → API Manager policies
- Expose the deployed application through a managed gateway endpoint → API proxy deployment
- Let an implementation register its API so consumers can find it → Auto-discovery
ExplanationAPI Manager policies are applied to the API instance at the gateway, so enforcement changes do not require redeploying the implementation. Deploying a proxy gives a managed endpoint in front of the application. Auto-discovery links the application to its API instance in API Manager by matching the api-name and version in its configuration. Exchange versioning manages asset publication rather than runtime enforcement, and worker autoscaling addresses capacity, not discovery or policy.
-
6 Question 6 Single choice Designing APIs
A logistics company is designing a REST API for shipments. A client needs to retrieve one shipment by its identifier and also filter the shipments list by status and by carrier, and optionally page through results. The identifier must remain stable even if the search filters change. The design review asks the designer to decide which values belong in the URI and which in query parameters so that caching at the gateway is effective and the resource hierarchy is clean. Which design is correct?
Correct Answer: CExplanationA URI parameter identifies a specific resource, so the shipment identifier belongs in the path, giving a stable resource address. Filtering, sorting and paging of a collection are modelled as query parameters, which keeps the hierarchy clean and lets gateways cache by distinct query strings. Embedding filters in the path makes the resource identity change with each filter. Putting the identifier in a query parameter weakens the resource model, and attaching list filters to a single shipment path is semantically wrong.
-
7 Question 7 Order list Handling Errors
A Mule 4 order flow calls a payment API inside a Try scope. On a connectivity failure the team wants the error mapped to a custom business error, the original error logged, and the failure handled without the caller receiving the raw connector error. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Log the original error description from the error object before raising the custom error
- Use a Raise Error processor to map the failure to a custom error type
- Wrap the payment HTTP Request in a Try scope
- Add an On Error Continue handler on the Try scope
Correct Answer:- Wrap the payment HTTP Request in a Try scope
- Add an On Error Continue handler on the Try scope
- Use a Raise Error processor to map the failure to a custom error type
- Log the original error description from the error object before raising the custom error
ExplanationThe Try scope must enclose the risky call so its error handling applies. The handler is attached to the Try scope, and inside it the original error is logged while the error object is still available. Only then is a custom error raised with the Raise Error processor to map it to a business error type. Raising before logging loses the original details, and attaching the handler before wrapping the call would not catch the connector error.
-
8 Question 8 Single choice Handling Errors
An integration team defines a global error handler for an order Mule 4 application. A flow sends messages to a downstream system. When a payment step fails, the business requires that the flow still returns a 200 with a status message to the caller, and that the error is not propagated to the parent flow. Failures in other flows must still return the standard error response. Which handler configuration meets the requirements?
Correct Answer: DExplanationAn On Error Continue handler attached to the payment flow suppresses the error and lets the flow complete normally, so the caller receives the success-style response built in the handler. The global handler remains as is, so other flows still produce the standard error response. Propagate rethrows the error and would not return 200. Changing the global handler would affect every flow, violating the requirement. A Try scope with propagate does not suppress the error.
-
9 Question 9 Dropdown Processing Records
A Mule 4 application must process a large CSV-derived list of customer records, applying a per-record enrichment call in parallel across batches, and it must record the results and failures per record so that a retry job can reprocess only the failed records. The team writes the batch configuration. Select the correct value for each blank.
Choose the correct value for each blank.
%dw 2.0
output application/java
---
batch job {
batch step {
...
}
}Correct Answer:%dw 2.0
output application/java
---
batch job batchJobName {
batch step Batch step {
...
}
}ExplanationA batch job in Mule 4 is declared in a batch job scope, and the Batch Job processor requires a job name, which the stem's configuration attaches to the batch job. Individual processing occurs in batch steps, where each record is handled and its success or failure is tracked, enabling per-record retry of failures via the batch step result. The distractors name a non-existent attribute or processor element in Mule 4 and an unrelated construct.
-
10 Question 10 Single choice Routing Events
A Mule 4 flow receives an incoming order. Orders above 10,000 units must be routed to a manual-review flow, orders with a missing customerId must be rejected, and all other orders go to the standard fulfilment flow. The team implements the routing with a Choice router whose conditions are DataWeave expressions. A reviewer notes that the rejection condition is evaluated after the review condition, so an order with a missing customerId and a large quantity is sent to review instead of rejected. Which change achieves the required precedence?
Correct Answer: CExplanationA Choice router evaluates its when conditions in document order and executes the first match, so precedence is controlled by ordering the branches. Putting the missing customerId check before the quantity check makes rejection win. A Scatter-Gather runs routes in parallel and merges results, which would not give a single winning route. Using the otherwise branch for validation is wrong because otherwise only applies when nothing else matches, which would let large orders skip the check. Separate flows per condition do not solve the precedence question.
-
11 Question 11 Single choice Structuring Mule Applications
A team maintains a Mule 4 application that calls three back-end services. Each service's URL and credentials differ between the development and production environments, and the same configuration files are deployed to both. Security requires that secrets never be stored in plain text in the source repository. The developers also want the flows reusable across two processes that run in the same application. Which structuring approach best meets these requirements?
Correct Answer: BExplanationMule applications separate environment-specific values into properties files, referenced by placeholders in global configuration, so one codebase deploys to multiple environments. Secure properties keep secrets encrypted in the repository, and the flows stay reusable because they reference the configuration rather than embedding values. Hard-coding URLs breaks promotion across environments. Duplicating flows multiplies maintenance. Plain text secrets in the repository violate the security requirement even with repository access controls.
-
12 Question 12 Multiple choice Transforming Data
A Mule 4 flow receives a JSON array of product objects where the price field is sometimes a string such as "19.90" and sometimes a number. The downstream system requires a JSON array sorted ascending by price, containing only products with a numeric price greater than zero, with price formatted as a number. The DataWeave transformation must work for both input forms. Which two DataWeave expressions, used together, satisfy the requirement? (Choose two.)
Correct Answer: C, EExplanationCoercing price with as Number makes both string and numeric inputs comparable, so the filter in A keeps only positive numeric prices. Mapping with C replaces price with the numeric value, ensuring the output field is a number. Sorting by price as String would order lexically, not numerically, so B is wrong. D compares a string price against a number without coercion and can fail or misbehave. E converts to string, which violates the numeric output requirement.
-
13 Question 13 Single choice Transforming Data
A shared DataWeave library is used by several Mule 4 applications to format currency values. The library defines a function that accepts an amount and a currency code and returns a formatted string. Two applications call the function, one from a flow and one from another DataWeave script, and the team wants a single definition they can version and reuse without copy-paste. The team must also be able to call a Mule flow from inside a DataWeave script when the formatting needs a lookup. Which approach meets the requirements?
Correct Answer: DExplanationA DataWeave module is a reusable file of functions and variables that can be imported and versioned, which is the reuse mechanism the team needs. DataWeave can invoke Mule flows through the flow reference function when a lookup is required. Copying into each script defeats versioning and reuse. A Set Variable cannot hold a function definition. Java interop is a different mechanism that does not provide the DataWeave module reuse the requirement asks for.
-
14 Question 14 Drag and drop Using Connectors
A Mule 4 integration must read rows from a relational database, combine them with a file that arrives on a corporate FTP server during the same flow, and write a fixed-length report to a file location. The team must use the connectors that match each requirement without custom Java code. Match each requirement to the connector operation that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Run a parameterized query and return the matching rowsRetrieve a file from the corporate server in the middle of the flowWrite the generated report to a target location on diskFile Write operationDatabase Bulk Insert operationFTP Read operationSFTP Move operationDatabase Select operationCorrect Answer:- Run a parameterized query and return the matching rows → Database Select operation
- Retrieve a file from the corporate server in the middle of the flow → FTP Read operation
- Write the generated report to a target location on disk → File Write operation
ExplanationThe Database connector's Select operation runs a parameterized SQL query and returns rows, supporting safe input binding. The FTP connector's Read operation retrieves a file during the flow, letting it be combined with other data mid-flow. The File connector's Write operation writes the generated content to the target path. Bulk Insert writes rows to a table rather than returning them, and SFTP Move relocates files, neither matching the stated requirements.
-
15 Question 15 Single choice Accessing and Modifying Mule Events
A Mule 4 flow receives an XML request and must send a JSON message to a downstream service. A developer writes a Transform Message step whose output is JSON, but the downstream service reports that a numeric field arrives as a string. The input XML field is read as a string by default, and the team does not want to change the upstream system. Which DataWeave change corrects the output type while preserving the flow's payload handling?
Correct Answer: CExplanationDataWeave reads XML text values as strings, so explicitly coercing the value with as Number emits a JSON number in the output. The output directive controls format, so changing it to XML contradicts the JSON requirement. String interpolation produces strings, not numbers. Changing the inbound mime type does not change the content, which is XML, so it would fail rather than infer types.
These are 15 of the 235 questions in the full Salesforce-MuleSoft-Developer-I pack.
Get All 235 QuestionsGet all 235 questions & answers
Full access options for Salesforce Salesforce-MuleSoft-Developer-I
Self-study
PDF Version
- 235 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 235 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 235 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Salesforce-MuleSoft-Developer-I Exam (Salesforce Certified MuleSoft Developer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.