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 140 discussion

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

Refer to the exhibits. The Mule application configures and uses two HTTP Listener global configuration elements.



The Mule application is run in Anypoint Studio.

If the Mule application starts correctly, what URI and port number(s) can receive web client requests; if the Mule application fails to start, what is the cause of the failure?

  • A. The Mule application starts successfully
    Web client requests can only be received at the URI on port 2222, not on port 3333
  • B. The Mule application fails to start
    There is a port bind conflict because the HTTP Request also uses port 3333
  • C. The Mule application starts successfully
    Web client requests can be received at the URI /on port 2222 or port 3333
  • D. The Mule application fails to start
    There is a URL path conflict because both HTTP Listeners are configured with the same path /
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
aook002
2 months, 1 week ago
Selected Answer: C
Application starts OK. Watch out for the typos and subtle changes in the Set Payload parameter to try throw you off - e.g payload is set to a string of "HTTP: 33333" (5 threes) - totally irrelevant though. A request comes into http://localhost:2222/, it is picked up by the HTTP listener in 'httpListener1' as it is set to use the HTTP Global Config that listens on port 2222. This flow then makes a request to http://localhost:3333, which is again picked up by the listener in the httpListener3333 flow. Payload is set as mentioned before. You could also directly make a request to http://localhost:3333/ and it would also set the Payload as that listener in that flow is set to use the "Http_listener_config_3333" listener config which looks out for requests made on port 3333.
upvoted 1 times
...
minu21
3 months, 1 week ago
Correct answer is B.
upvoted 2 times
...
[Removed]
5 months, 1 week ago
Selected Answer: C
ChatGpt: C. The Mule application starts successfully Web client requests can be received at the URI /on port 2222 or port 3333 In this scenario, there are two HTTP Listeners configured on ports 2222 and 3333 with different paths ("/" and "/path"). As a result, the Mule application should start successfully, and web client requests can be received at both URIs with their respective port numbers.
upvoted 3 times
aook002
2 months, 1 week ago
You shouldn't trust chatGPT. Where are the different paths ("/" and "/path")?
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago