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

Exam MCD - Level 1 All Questions

View all questions & answers for the MCD - Level 1 exam

Exam MCD - Level 1 topic 1 question 69 discussion

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

A web client sends a request to http://localhost:8081?dept=sales.
What is the correct DataWeave expression to access the value of dept?

  • A. attributes.queryParams.dept
  • B. attributes.dept
  • C. message.queryParams.dept
  • D. vars.dept
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://docs.mulesoft.com/connectors/http/http-request-ref

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
martademanzana
1 year ago
Selected Answer: A
https://developer.mulesoft.com/tutorials-and-howtos/dataweave/how-to-retrieve-custom-headers-query-uri-parameters-dataweave/
upvoted 1 times
...
alexstam
1 year, 9 months ago
Its A. Correct
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 ...