ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 17 - MCD - Level 1 discussion

Report
Export

Refer to the exhibit.

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.

What is a valid RAML specification that reuses the Plan data type?

A)

B)

C)

D)

A.
Option A
Answers
A.
Option A
B.
Option B
Answers
B.
Option B
C.
Option C
Answers
C.
Option C
D.
Option D
Answers
D.
Option D
Suggested answer: D

Explanation:

As can be seen in RAML, POST expects input in application/json format which eliminates two of the options as two options are in xml format.

Now out of the two remaining options, one has id field in request which is only mentioned for get response and not for POST request. Hence id field is not expected in POST request.

Hence correct answer is

{

'name': 'GoerdiLa Forge',

'address': '1 Westland CA',

'customer_since': '2014-01-04',

'balance': '4829.29',

'bank_agend_id': '12556'

}

asked 18/09/2024
Jason Kelley
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first