Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

Exam MCD-Level-2 All Questions
Exam MCD-Level-2 All Questions

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

MuleSoft Certified Developer MCD-Level-2 Question # 12 Topic 2 Discussion

MCD-Level-2 Exam Topic 2 Question 12 Discussion:
Question #: 12
Topic #: 2

A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid.

How can the data be validation before posting to the target system?


A.

Use a DataWeave 2.09 transform operation, and at the log of the DataWeave script, add:

%dw 2.0

Import.json-moduls


B.

Using the DataWeave if Else condition test the values of the payload against the examples included in the schema


C.

Apply the JSON Schema policy in API Manager and reference the correct schema in the policy configuration


D.

Add the JSON module dependency and add the validate-schema operation in the flow, configured to reference the schema


Get Premium MCD-Level-2 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.