FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

Exam Question MS-21-017 for MuleSoft Certified Developer (MCD) - Level 1

Exam Question MS-21-017 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS24.2.2021

This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.

Question

A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according to MuleSoft best practices. What URI should a web client use to request order P05555?

Answer

A) /orders/{P05555}
B) /orders/order=P05555
C) /orders?order=P05555
D) /orders/P05555

The correct answer to this question is D.

Explanation

According to MuleSoft best practices, in this case we would use an URI parameter, specified in the RAML definition under "orders".

Register now