exam questions

Exam Certified MuleSoft Developer I All Questions

View all questions & answers for the Certified MuleSoft Developer I exam

Exam Certified MuleSoft Developer I topic 1 question 26 discussion

Actual exam question from Salesforce's Certified MuleSoft Developer I
Question #: 26
Topic #: 1
[All Certified MuleSoft Developer I Questions]

Refer to the exhibits. In the color flow, both the variable named color and the payload are set to "red".
An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP Request completes?

  • A. "blue"
  • B. "white"
  • C. "red"
  • D. An error message
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ibr_Mule_dev
3 weeks, 6 days ago
Selected Answer: B
The payload is "white" because the variable color is not passed to the decideColor flow, so vars.color evaluates to null. As a result, the if condition in the set-payload component defaults to 'white'.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago