• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 20 pages
Exam (elaborations)

MuleSoft Developer Exam with Complete Solutions

Document preview thumbnail
Preview 3 out of 20 pages

MuleSoft Developer Exam with Complete Solutions

Content preview

MuleSoft Developer Exam with Complete
Solutions
What DataWeave 2.0 type can be used as input to a map operation? Correct Ans-Array


What is the correct way to format the decimal 20.3844 as a string to two decimal places?
Correct Ans-20.3844 as String {format: ".0#"}


A Mule application has a main flow and a combineNames flow. In the main flow, a variable
named fullName is set to the object {firstName: "Max", lastName: "Mule"}.
What is valid DataWeave code to call the combineNames flow with the input object stored in
the fullName variable? Correct Ans-#[ lookup( "combineNames", vars.fullName ) ]


A Flow Reference component sends a non-empty JSON object payload to another flow named
childFlow, which then returns an XML body.
A Flow Reference component saves the payload returned from childFlow to its target attribute
named payload. Refer to the exhibit.
What is true about the Mule event's payload at the next event processor after the Flow
Reference component? Correct Ans-The payload is the original JSON object


In the Database On Table Row operation, what does the Watermark column enable the On Table
Row operation to do? Correct Ans-To avoid duplicate processing of records in a database


Assume that a database table contains a recordID column that always increases as new records
get added to the table.
In a Mule application, what is the key process to enable manual watermarking for requests to a
database using the Scheduler endpoint and the Database SELECT operation? Correct Ans-
Save the max recordID from the set of recordIDs in an ObjectStore and reference this recordID
in subsequent database requests

,A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these
operations have the default configurations.
Which operation is asynchronous (does not wait for a response before continuing to the next
event processor) and which operation is synchronous (blocks and waits for a response or
timeout before continuing to the next event processor)? Correct Ans-Publish consume:
Synchronous. Publish: Asynchronous


A Batch Job scope has three batch steps. An event processor in the second batch step throws an
error because the input data is incomplete.

What is the default behavior of the batch job after the error is thrown? Correct Ans-All
processing of the batch job stops




When do variables persist? Correct Ans-Variables persist through all flows unless the event
crosses a transport boundary (e.g. making a http request to another flow)



T/F: Subflows can have their own error handling strategy Correct Ans-False



Syntax to fetch a variable Correct Ans-#[vars.foo]



What persists when calling from a parent flow to another flow via http request? Correct Ans-
Not variables



API Interface definition file (API Specification) Correct Ans-defines what you call, what you
send it, and what you get back



A Web Service Correct Ans-The Actual API implementation you can make calls to or interface
of that API implementation

, An API Proxy Correct Ans-An application that controls access to the web service, restricting
access, and usage through an API gateway



What persists when calling from a parent flow to another flow via flow reference? Correct
Ans-Variables



JMS connector Correct Ans-connector capable of sending and receiving messages to and
from topics and queues



JMS Publish Correct Ans-Operation that allows the user to send a message to a JMS
Destination



JMS Publish - Consume Correct Ans-Operation that allows the user to send a message to a
JMS Destination and waits for response either to the provided replyTo destination or to a
dynamically created



Language for Choice Decisions Correct Ans-dataweave


#[payload.size != 0]



Execution order of functions Correct Ans-the last function in the chain is executed first



Calling flows from a DW Expression Correct Ans-use the lookup function


{a: lookup("myFlow",{b:"Hello"})}



How to import a function in a module Correct Ans-import dasherize from dw::core::Strings

Document information

Uploaded on
November 12, 2024
Number of pages
20
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyLoom01
4.2
(34)
Sold
137
Followers
35
Items
6909
Last sold
2 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions