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

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

Refer to the exhibits.

The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.
What should be changed in the request so that a success response code is returned to the web client?

  • A. Set a request header with the name Content-Type to a value of application/octet-stream
  • B. Set a request header with the name Content-Type to a value of application/xml
  • C. Set a response header with the name Content-Type to a value of application/xml
  • D. Set a response header with the name Content-Type to a value of application/octet-stream
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
Aaish
Highly Voted 3 years, 4 months ago
Correct answer is B
upvoted 24 times
...
nilan84
Highly Voted 3 years, 2 months ago
Correct answer is B
upvoted 8 times
...
Alandt
Most Recent 5 months, 4 weeks ago
Selected Answer: B
Easy, you are sending a request, so you must change the request header to XML type.
upvoted 1 times
...
[Removed]
6 months, 1 week ago
Selected Answer: B
B. Set a request header with the name Content-Type to a value of application/xml
upvoted 1 times
...
[Removed]
6 months, 1 week ago
Selected Answer: B
To send xml format we need to add application/xml content-type, so server to know what type is receiving.
upvoted 1 times
...
Maxroyo
1 year, 11 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
miguel_romero
2 years, 7 months ago
Correct answer is B
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