mcd-level-1 question 171 discussion

View all MuleSoft Certified Developer - Level 1 (Mule 4) Exam here
back to mulesoft forum

Question 171

How to import Core (dw::Core) module into your DataWeave scripts?

  • A. #include dw::core
  • B. Not needed Most Votes
  • C. import core
  • D. import dw::core
Answer:

B


Explanation:
Correct answer is Not needed as dw::core module is included by default. We don't need to include it
explicitly

User Votes:
A 1 votes
50%
B 12 votes
50%
C
50%
D 5 votes
50%
Discussions
0 / 1000
d.abbas
11 months ago

Correct answer is B. not needed. According to Mulesoft official documentation: Functions in the Core (dw::Core) module are imported automatically into your DataWeave scripts. https://docs.mulesoft.com/dataweave/latest/dw-functions