Free MuleSoft Certified Developer - Level 1 (Mule 4) Exam Braindumps (page: 17)

Page 17 of 57

Refer to the exhibit.



What is a valid expression for the Choice router's when expression to route events to the documenticShipping flow?

  1. 0#[ payload = 'US' ]
  2. #[ payload == 'US' J
  3. #[ if(payload = 'US') J
  4. #[ if(payload == "US") ]

Answer(s): B

Explanation:

Option 1 is the correct syntax



What is the difference between a subflow and a sync flow?

  1. No difference
  2. Subflow has no error handling of its own and sync flow does
  3. Sync flow has no error handling of its own and subflow does
  4. Subflow is synchronous and sync flow is asynchronous

Answer(s): B

Explanation:

Correct answer is Subflow has no error handling implementation where as sync flow has.
Subflow A subflow processes messages synchronously (relative to the flow that triggered its execution) and always inherits both the processing strategy and exception strategy employed by the triggering flow. While a subflow is running, processing on the triggering flow pauses, then resumes only after the subflow completes its processing and hands the message back to the triggering flow.
Synchronous Flow
A synchronous flow, like a subflow, processes messages synchronously (relative to the flow that triggered its execution). While a synchronous flow is running, processing on the triggering flow pauses, then resumes only after the synchronous flow completes its processing and hands the message back to the triggering flow. However, unlike a subflow, this type of flow does not inherit processing or exception strategies from the triggering flow. This type of flow processes messages along a single thread, which is ideally suited to transactional processing.



Refer to the exhibits.



The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?

  1. [ ["A", "C", "D" ], ["E"] ]
  2. [''E'']
  3. [''D", "E"]
  4. [ "A", "C, "D", "E" ]

Answer(s): B

Explanation:

Logs would look like:
INFO 2021-06-09 19:14:56,039 [[MuleRuntime].uber.06: [validationtest].batch-job- validationtestBatch_Job-work-manager @6de10f3e] [processor:
validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event: bfb751e1- 9939-11eb-9f69-02053763653a]
org.mule.runtime.core.internal.processor.LoggerMessageProcessor:
[
"\"A\"",
"\"C\"",
"\"D\""
]

---
INFO 2021-06-09 19:15:02,486 [[MuleRuntime].uber.06: [validationtest].batch-job- validationtestBatch_Job-work-manager @6de10f3e] [processor:
validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event: bfb751e1- 9939-11eb-9f69-02053763653a]
org.mule.runtime.core.internal.processor.LoggerMessageProcessor: [ "\"E\""
]
Batch aggregator value is 3. Hence in first time it will print ["A", "C", "D"] and in next iteration it will print [ "E" ]
-------------------------------------------------------------------------------------------------------------------------
Correct answer is [ "E" ]



Refer to the exhibits.





The Validation component in the Try scope throws an error.

What response message is returned to a client request to the main flow's HTTP Listener?

The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

  1. Success - main flow
  2. Error - main flow
  3. Error - Try scope
  4. Validation Error

Answer(s): A

Explanation:

Note that private flow has error scope defined as On Error Continue . So when error occurs in private flow , it is handled by this On Error Continue scope which sends success response back to main flow and does not throw back an error. So main continues normally and payload is set to Success - main flow.
Hence correct answer is Success - main flow
1) HTTP listener received request
2) The Flow Reference calls the child flow
3) The Is Number validator creates an Error Object because the payload isn't an integer.
Child Flow execution stops
#[error.description] = "payload is not a valid INTEGER value" #[error.errorType] = VALIDATION:INVALID_NUMBER
4) The On Error Continue handles the errorThe payload is set to "Error ­ Sub Flow"
5) "Error ­ Sub Flow" is returned to the main flow as if the child flow was a success. The Set Payload is executed. The payload is reset to "Success ­ Finished Main Flow"
6) "Success ­ Main Flow" is returned to the requestor in the body of the HTTP request.
HTTP Status Code: 200
As you can see, in the above example, because the error was caught by an On Error Continue scope in the child flow (RED in, GREEN out) when the Mule Message returns to the parent flow, the parent flow knows none-the-different that there was a failure because the on error continue returns a 200 success message. Note that because, to the mainFlow, the childFlow appeared to succeed, the processing of mainFlow resumed after the flow reference.



Page 17 of 57



Post your Comments and Discuss MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) exam with other Community members:

yassmine commented on October 28, 2024
good questions
Anonymous
upvote

Honest Consumer commented on October 21, 2024
Not a bad question bank. Very close to real exam topics and questions.
UNITED STATES
upvote

Bboy commented on October 08, 2024
So far so good
FRANCE
upvote

Bboy commented on October 08, 2024
nice questions
FRANCE
upvote

Julian commented on October 07, 2024
Passed and got a 92% in this exam.
Anonymous
upvote

Parm commented on September 28, 2024
Good questions so far
UNITED STATES
upvote

Parm commented on September 28, 2024
Very good questions so far
UNITED STATES
upvote

Parminder commented on September 28, 2024
Good questions
UNITED STATES
upvote

Harish commented on September 25, 2024
Good level of questions
Anonymous
upvote

pk commented on September 06, 2024
Nice and very helpful to crack the exam
Anonymous
upvote

kp commented on September 05, 2024
VERY HELPFULL p
Anonymous
upvote

pk commented on September 05, 2024
It's useful to understand the concepts
Anonymous
upvote

Shravan commented on August 31, 2024
Nice and very helpful to crack the exam
Anonymous
upvote

Suseela commented on August 31, 2024
It's useful to understand the concepts
Anonymous
upvote

Keziah commented on August 17, 2024
Question 1 Option B is the answer
SOUTH AFRICA
upvote

An commented on August 13, 2024
eparing for the MuleSoft c
Anonymous
upvote

anga mgudu commented on August 07, 2024
VERY HELPFULL
SOUTH AFRICA
upvote

Monica Raheja commented on August 01, 2024
I am preparing for the MuleSoft certification thus going through this questions.
Anonymous
upvote

Jumla commented on June 06, 2024
What a wonderful site. Very clear very fast and easy to use. Keep up the good work team. I really really appreciate this service.
UNITED STATES
upvote

Jose commented on May 24, 2024
Just bought and downloaded the PDF premium version. So far all looks good and the content is well formatted. I also found your prices to be more reasonable than other sites like. They charge almost double the amount and the content is the same.
SPAIN
upvote

Suseela commented on April 24, 2024
I found it useful. Able to clear few doubtful areas
Anonymous
upvote

Sohant commented on April 23, 2024
I found the study package very useful. I was able to print the PDF ebook and study from that. It precisely helped me with answering the exam questions.
INDIA
upvote

Lopamudra commented on April 13, 2024
Very useful
UNITED STATES
upvote

Lopamudra commented on April 13, 2024
This is very useful.
UNITED STATES
upvote

Abhinav Sharma commented on April 12, 2024
Qno. 128 - correct ans is option C
INDIA
upvote

Niketan Rana commented on April 11, 2024
very useful for the exam
Anonymous
upvote

Abhinav Sharma commented on April 11, 2024
Question no. 68 - option B
INDIA
upvote

Akash Martule commented on April 10, 2024
Very useful Content
Anonymous
upvote

Shubham Wadhavane commented on April 08, 2024
UseFull Content
Anonymous
upvote

CSRoy commented on March 24, 2024
Very Useful
UNITED STATES
upvote

Cleo commented on March 12, 2024
hi guys, which link or site you book for the exams for the mulesoft developer level 1, please?
IRELAND
upvote

Oleag commented on March 04, 2024
The PDF is well formatted and the test engine is very fun to use. You guys have done a great job.
EUROPEAN UNION
upvote

cleo commented on February 01, 2024
what is the new for the exams
IRELAND
upvote

Shivaranjani commented on January 26, 2024
The questions are good for practice
Anonymous
upvote