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

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

A web client submits a request to http://localhost:8081/books/0471767840. The value `0471767840` is captured by a Set Variable transformer to a variable named bookISBN.
What is the DataWeave expression to access bookISBN later in the flow?

  • A. attributes.bookISBN
  • B. flowVars.bookISBN
  • C. vars.bookISBN
  • D. bookISBN
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
almoraima
Highly Voted 3 years ago
Correct is C
upvoted 19 times
...
ExamDev
Most Recent 2 months ago
Selected Answer: C
vars.bookIsbn
upvoted 1 times
...
miguel_romero
2 years, 3 months ago
Correct is C
upvoted 2 times
...
awsuser1
2 years, 7 months ago
C is correct.
upvoted 4 times
...
RenatoJr
2 years, 7 months ago
C is correct. Set Variable sets a variable in the current Mule event, and the variables then travel with the Mule event to downstream event processors. You can access any variable with DataWeave using vars. So if you set a variable named lastMessage, you can access it as vars.lastMessage. Reference: https://docs.mulesoft.com/mule-runtime/4.3/variable-transformer-reference
upvoted 3 times
...
jarit75
2 years, 7 months ago
C is correct
upvoted 3 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 ...