FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

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

Exam Question MS-21-056 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS26.7.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 Mule application contains two HTTP Listeners, each configured for different API endpoints:
http://acme.com/apis/orders and http://acme.com/apis/customers. What base path value should be set in an HTTP Listener config element so that it can be used to configure both HTTP Listeners?

Answer

A) /apis/*
B) /apis/orders/customers
C) /apis/
D) /apis/?

The correct answer to this question is C.

Explanation

Each HTTP Listener has an HTTP Listener configuration. In the HTTP Lister configuration, there is an option to define a base path, which is going to be a part of the URL located between host:port and the path from HTTP Listener property.

Register now