exam questions

Exam MCIA - Level 1 All Questions

View all questions & answers for the MCIA - Level 1 exam

Exam MCIA - Level 1 topic 1 question 50 discussion

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

An API client is implemented as a Mule application that includes an HTTP Request operation using a default configuration. The HTTP Request operation invokes an external API that follows standard HTTP status code conventions, which causes the HTTP Request operation to return a 4xx status code.
What is a possible cause of this status code response?

  • A. An error occurred inside the external API implementation when processing the HTTP request that was received from the outbound HTTP Request operation of the Mule application
  • B. The external API reported an error with the HTTP request that was received from the outbound HTTP Request operation of the Mule application
  • C. The HTTP response cannot be interpreted by the HTTP Request operation of the Mule application after it was received from the external API
  • D. The external API reported that the API implementation has moved to a different external endpoint
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://docs.mulesoft.com/connectors/http/http-request-ref

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
edogwest
3 days, 12 hours ago
Selected Answer: B
A 4xx status code means client error according to standard HTTP conventions—the server (external API) received the request but found something wrong with it (e.g., bad URI, malformed body, missing auth, etc.). Server-side failures would return 5xx (option A), redirections use 3xx (option D), and an unreadable response at the Mule side would raise a different Mule error, not a 4xx code (option C).
upvoted 1 times
...
gilofernandes
5 months, 3 weeks ago
Selected Answer: B
4xx client error – the request contains bad syntax or cannot be fulfilled
upvoted 1 times
...
awsuser1
1 year, 3 months ago
It has to be B
upvoted 1 times
...
madgeezer
1 year, 9 months ago
Selected Answer: B
B. The external API reported an error with the HTTP request that was received from the outbound HTTP Request operation of the Mule application
upvoted 1 times
...
sanni27
2 years, 3 months ago
It should be B
upvoted 1 times
...
Outdoor25
2 years, 4 months ago
It has to be B Cannot be D cause resource moved will be 301 error code.. Cannot be C because http resonse cannotbe interpreted does not cause 4xx unless there is mapping created on HTTP connector. Cannot be A cause error inside external API should generate 5xx errors.
upvoted 2 times
...
Ricky9
2 years, 7 months ago
B Should be the correct answer
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