フリー問題

Salesforce Certified MuleSoft Developer のフリー問題 6 / 20 問目

問題文

In a RAML 1.0 specification, a POST to /invoices must return the created invoice along with a 201 status code. Which RAML structure declares that response body?

選択肢

  1. Add a body node directly under the post method and set a statusCode property inside it.
  2. Add a created node under the post method and set its type to the invoice type.
  3. Add a 201 node at the root of the specification so that every method in the specification shares the same success response, and then reference it from the post method with the is keyword.
  4. Under the post method, add a responses node, then a 201 node, then a body node whose media type points at the invoice type.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。