Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam MCD - Level 1 topic 1 question 155 discussion

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

Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification.



An API implementation is created for this RAML API specification.

What is valid JSON input for a request from a web client to an implementation of this RAML API specification?

  • A.
  • B.
  • C.
  • D.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
AntarJalil
3 months, 3 weeks ago
Selected Answer: A
Correct answer “A” As per the RAML specification, the question mark denotes that a property is optional in this context. To illustrate, consider the example: ID?: integer. # optional property; equivalent to -> # ID: # type: integer # required: false Moreover, in question #94, a valid example is presented for the same type. It's worth noting that in that example, the ID and publisher lack a trailing question mark (?) as seen on the right.
upvoted 1 times
...
ExamDev
3 months, 3 weeks ago
Selected Answer: A
The correct answer is A. CANNOT SEND "id?" or any kind of "?propName" like that. Also publisher and id are not required so no need to send them
upvoted 1 times
Alandt
3 months, 1 week ago
I agree. Good observation regarding the "?"
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 ...