Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCD - Level 1 topic 1 question 144 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 144
Topic #: 1
[All MCD - Level 1 Questions]

A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.

What is the correct DataWeave code to define the toUpper function?

  • A. fun toUpper(username) = upper(userName)
  • B. var toUpper(username) = upper(userName)
  • C. fun toUpper(username) -> upper(userName)
  • D. var toUpper(username) -> upper(userName)
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ExamDev
3 months, 3 weeks ago
Selected Answer: A
A. fun toUpper(username) = upper(userName)
upvoted 2 times
Alandt
3 months, 1 week ago
Agreed
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 ...