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 42 discussion

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

Refer to the exhibit.
What DataWeave expression transforms the example XML input to the CSV output?

  • A.
  • B.
  • C.
  • D.
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: D
%dw 2.0 output application/csv --- payload.sale.*item map ((value, index) -> { index: index, sale: value.@saleId, itemName: value.desc, itemPrice: (value.price as Number) * (value.quantity as Number), item: value.@itemId })
upvoted 2 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